Compare commits

...

4 Commits

1 changed files with 11 additions and 7 deletions

View File

@ -16,18 +16,22 @@
set -eo # Stop at first error.
distro="decibel Linux"
email="webmaster@gentoostudio.org"
arch=amd64
stage3_suffx="desktop-systemd"
stage4_name="decibellinux-stage4.tar.bz2"
mail_prog="ssmtp -v"
stamp=-$(($(date +"%Y%m%d") - 19700000))
distro="LADIOS Linux"
email="stagebuilder@ladi.internal"
arch=arm64
stage3_suffx="openrc"
stage4_name="ladios-stage4-${arch}${stamp}.tar.bz2"
mail_prog="msmtp"
url="https://distfiles.gentoo.org/releases/${arch}/autobuilds/"
txtfile="latest-stage3-${arch}-${stage3_suffx}.txt"
builddir="/var/tmp/stagebuilder" # Do not use trailing slash here.
seedname="stage3seed.tar.xz"
echo "Building ${stage4_name}..."
# Usage: create_mailmsg "Subject" "message_body"
create_mailmsg(){
echo -e "Subject: $1" > mail_msg
@ -146,7 +150,7 @@ mount --make-slave $builddir/stage4/run
cp /etc/resolv.conf $builddir/stage4/etc/
cp chroot_autobuild.sh $builddir/stage4/ || die "Could not cp chroot_autobuild.sh to chroot."
#cp packages $builddir/stage4/ || die "Could not cp the packages file to chroot."
chroot $builddir/stage4 ./chroot_autobuild.sh
chroot $builddir/stage4 /bin/bash ./chroot_autobuild.sh
### BINPKGS