Compare commits
4 Commits
37724f4167
...
26a742084e
Author | SHA1 | Date |
---|---|---|
Nedko Arnaudov | 26a742084e | |
Nedko Arnaudov | 634748f40b | |
Nedko Arnaudov | 371b38efe6 | |
Nedko Arnaudov | 372f150c0a |
18
autobuild.sh
18
autobuild.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue