2008-11-23 16:59:53 -01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
TOPDIR=$(dirname $0)
|
2013-04-30 18:54:11 +00:00
|
|
|
if [ "$TOPDIR" = "." ] ; then
|
|
|
|
TOPDIR=`pwd`
|
|
|
|
fi
|
|
|
|
export TOPDIR
|
2008-11-23 16:59:53 -01:00
|
|
|
|
|
|
|
. $TOPDIR/settings.sh
|
|
|
|
|
2013-01-20 00:03:24 -01:00
|
|
|
BUILDLOCK=$HOME/.debian-cd.lock
|
2008-11-23 16:59:53 -01:00
|
|
|
export PUBDIRJIG=$PUBDIR/daily-builds
|
2019-02-19 17:05:47 -01:00
|
|
|
if [ "$BUILDNUM"x = ""x ]; then
|
|
|
|
BUILDNUM=1
|
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
export DATE_BUILD="$DATE-$BUILDNUM"
|
2019-02-19 17:05:47 -01:00
|
|
|
export TESTING_SUITE=${CODENAME}
|
2010-11-14 14:17:33 -01:00
|
|
|
BUILDS_RUNNING=""
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
export NI_WANTED=1
|
|
|
|
export TESTING_WANTED=0
|
|
|
|
|
2013-01-20 00:03:24 -01:00
|
|
|
if [ "$RELEASE_BUILD"x = ""x ] ; then
|
|
|
|
export SID_WANTED=1
|
|
|
|
export OUT_FREE_TST=${PUBDIRJIG}/${TESTING_SUITE}_d-i/${DATE_BUILD}
|
|
|
|
export OUT_FW_TST=${PUBDIRJIG}-firmware/${TESTING_SUITE}_d-i/${DATE_BUILD}
|
|
|
|
export OUT_FREE_SID=${PUBDIRJIG}/sid_d-i/${DATE_BUILD}
|
|
|
|
export OUT_FW_SID=${PUBDIRJIG}-firmware/sid_d-i/${DATE_BUILD}
|
2019-02-19 17:05:47 -01:00
|
|
|
export RSYNC_TARGET_FREE=${OUT_BASE}/daily-builds
|
|
|
|
export RSYNC_TARGET_FIRMWARE=${OUT_BASE}/unofficial/non-free/cd-including-firmware/daily-builds
|
2013-01-20 00:03:24 -01:00
|
|
|
else
|
2019-02-19 17:05:47 -01:00
|
|
|
echo "Don't support release builds of dailies! Use cronjob.weekly instead"
|
|
|
|
exit 1
|
2013-01-20 00:03:24 -01:00
|
|
|
fi
|
2011-02-02 22:35:52 -01:00
|
|
|
|
2010-11-14 14:17:33 -01:00
|
|
|
. $TOPDIR/common.sh
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2012-07-06 00:30:17 +00:00
|
|
|
# Make sure the machine isn't rebooted while we're busy
|
|
|
|
reboot_lock
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
finalise_arch_dir () {
|
|
|
|
ARCH=$1
|
2010-11-14 14:17:33 -01:00
|
|
|
|
2019-02-19 17:05:47 -01:00
|
|
|
for OUT_DIR in $OUT_FREE_SID $OUT_FW_SID; do # $OUT_FREE_TST $OUT_FW_TST
|
2013-01-20 00:03:24 -01:00
|
|
|
ARCH_DIR=$OUT_DIR/$ARCH
|
|
|
|
# Only keep things / do any work here if there are any files in the ARCH_DIR
|
|
|
|
NUM_FILES=`find $ARCH_DIR -type f | wc -l`
|
|
|
|
if [ $NUM_FILES = 0 ] ; then
|
|
|
|
rm -rf $ARCH_DIR
|
2010-11-14 14:17:33 -01:00
|
|
|
else
|
2013-01-20 00:03:24 -01:00
|
|
|
ARCH_ISO_DIR=${ARCH_DIR}/iso-cd
|
|
|
|
ARCH_JIGDO_DIR=${ARCH_DIR}/jigdo-cd
|
|
|
|
|
2019-02-19 17:05:47 -01:00
|
|
|
DATESTRING=`date -u`
|
|
|
|
case $ARCH_ISO_DIR in
|
|
|
|
*firmware*)
|
|
|
|
FIRMWARE="firmware"
|
|
|
|
INFILE=$TOPDIR/daily-firmware.html;;
|
|
|
|
*)
|
|
|
|
FIRMWARE=""
|
|
|
|
INFILE=$TOPDIR/daily.html;;
|
|
|
|
esac
|
|
|
|
sed "s/ARCH/$ARCH/g;s/DATE/$DATESTRING/g;s/BUILDNUM/$BUILDNUM/g;s/CODENAME/$CODENAME/g" \
|
|
|
|
$INFILE > $ARCH_DIR/HEADER.html
|
2015-04-20 11:41:47 +00:00
|
|
|
|
|
|
|
generate_checksums_for_arch $ARCH $ARCH_JIGDO_DIR
|
2019-02-19 17:05:47 -01:00
|
|
|
~/build.${CODENAME}/generate_headers ~/build.${CODENAME}/HEADER.html.in $ARCH_DIR $ARCH $FIRMWARE
|
2015-04-20 11:41:47 +00:00
|
|
|
|
2013-01-20 00:03:24 -01:00
|
|
|
cd $ARCH_DIR
|
2019-02-19 17:05:47 -01:00
|
|
|
echo "Signing checksums files using the automatic key"
|
|
|
|
~/build.${CODENAME}/sign-images $OUT_DIR $ARCH
|
|
|
|
~/build.${CODENAME}/mklist iso-cd/*iso
|
2013-01-20 00:03:24 -01:00
|
|
|
cd $TOPDIR
|
2010-11-14 14:17:33 -01:00
|
|
|
fi
|
2013-01-20 00:03:24 -01:00
|
|
|
done
|
2008-11-23 16:59:53 -01:00
|
|
|
}
|
|
|
|
|
|
|
|
cd $TOPDIR &&
|
2013-01-20 00:03:24 -01:00
|
|
|
if lockfile -r0 $BUILDLOCK ; then
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
# echo "NOT checking for git updates"
|
|
|
|
echo "git update debian-cd"
|
|
|
|
cd debian-cd && git pull ; cd ..
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2010-11-14 14:17:33 -01:00
|
|
|
cd $TOPDIR
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
. images4testing_d-i
|
2009-08-22 22:44:44 +00:00
|
|
|
|
|
|
|
# Allow desktop selection in isolinux menu for i386 and amd64
|
|
|
|
# For other arches this is a harmless no-op
|
|
|
|
export DESKTOP=all
|
|
|
|
export KERNEL_PARAMS="desktop=all"
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
for arch in $ARCHES; do
|
2013-04-30 18:54:11 +00:00
|
|
|
# We don't do source daily builds
|
|
|
|
if [ "$arch" = "source" ] ; then
|
|
|
|
continue
|
|
|
|
fi
|
|
|
|
|
2010-11-14 14:17:33 -01:00
|
|
|
rm -rf $PUBDIRJIG/$arch
|
|
|
|
arch_error=""
|
|
|
|
arch_start=`now`
|
2010-07-02 23:24:56 +00:00
|
|
|
|
2019-02-19 17:05:47 -01:00
|
|
|
for OUT_DIR in $OUT_FREE_SID $OUT_FW_SID; do # $OUT_FREE_TST $OUT_FW_TST
|
2013-01-20 00:03:24 -01:00
|
|
|
mkdir -p ${OUT_DIR}/${arch}/iso-cd ${OUT_DIR}/${arch}/jigdo-cd
|
|
|
|
done
|
2011-02-02 22:35:52 -01:00
|
|
|
|
2010-11-14 14:17:33 -01:00
|
|
|
if [ "$arch" = "multi-arch" ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
if [ "$SID_WANTED" = "1" ] ; then
|
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started SIDNIFIRMWARE
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=C \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=firmware \
|
|
|
|
TASK=debian-installer+kernel LOGAPPEND="-1" \
|
|
|
|
MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
DI=sid DI_DIST="$DI_DIST" VARIANTS=xen \
|
2017-06-06 12:10:48 +00:00
|
|
|
DI_DIR="$ARCH_DI_DIR" \
|
2015-04-20 11:41:47 +00:00
|
|
|
DI_WWW_HOME=default ./testingcds "amd64 i386" &
|
2013-01-20 00:03:24 -01:00
|
|
|
fi
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2013-01-20 00:03:24 -01:00
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$TESTING_WANTED" = "1" ] ; then
|
2013-01-20 00:03:24 -01:00
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started TESTINGNIFIRMWARE
|
2011-02-02 22:35:52 -01:00
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=C \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=firmware \
|
|
|
|
TASK=debian-installer+kernel LOGAPPEND="-1" \
|
|
|
|
MAXISOS=ALL MAXJIGDOS=ALL \
|
2013-01-20 00:03:24 -01:00
|
|
|
DI=${TESTING_SUITE} DI_DIST="$DI_DIST" VARIANTS=xen \
|
|
|
|
./testingcds "amd64 i386" &
|
2011-02-02 22:35:52 -01:00
|
|
|
fi
|
2013-01-20 00:03:24 -01:00
|
|
|
fi
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2010-07-02 23:24:56 +00:00
|
|
|
|
2013-01-20 00:03:24 -01:00
|
|
|
if [ "$SID_WANTED" = "1" ] ; then
|
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started SIDNI
|
2010-11-14 14:17:33 -01:00
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
2013-01-20 00:03:24 -01:00
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=2 \
|
2010-11-14 14:17:33 -01:00
|
|
|
TASK=debian-installer+kernel LOGAPPEND="-1" \
|
|
|
|
MAXISOS=ALL MAXJIGDOS=ALL \
|
2013-01-20 00:03:24 -01:00
|
|
|
DI=sid DI_DIST="$DI_DIST" VARIANTS=xen \
|
2017-06-06 12:10:48 +00:00
|
|
|
DI_DIR="$ARCH_DI_DIR" \
|
2013-01-20 00:03:24 -01:00
|
|
|
DI_WWW_HOME=default ./testingcds "amd64 i386" &
|
2010-11-14 14:17:33 -01:00
|
|
|
fi
|
2013-01-20 00:03:24 -01:00
|
|
|
fi
|
2010-11-14 14:17:33 -01:00
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$TESTING_WANTED" = "1" ] ; then
|
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started TESTINGNI
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=2 \
|
|
|
|
TASK=debian-installer+kernel LOGAPPEND="-1" \
|
|
|
|
MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
DI=${TESTING_SUITE} DI_DIST="$DI_DIST" VARIANTS=xen \
|
|
|
|
./testingcds "amd64 i386" &
|
|
|
|
fi
|
2011-02-02 22:35:52 -01:00
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2010-11-14 14:17:33 -01:00
|
|
|
catch_parallel_builds
|
|
|
|
rm -rf $PUBDIRJIG/$arch
|
|
|
|
if [ "$arch_error"x = "none"x ] ; then
|
2013-01-20 00:03:24 -01:00
|
|
|
finalise_arch_dir $arch
|
2010-11-14 14:17:33 -01:00
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
|
|
|
|
else # end of m-a
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
if [ "$SID_WANTED" = "1" ] ; then
|
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started SIDNIFIRMWARE
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=firmware \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=C \
|
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
2017-06-06 12:10:48 +00:00
|
|
|
DI=sid DI_WWW_HOME=default \
|
|
|
|
DI_DIR="$ARCH_DI_DIR" \
|
2015-04-20 11:41:47 +00:00
|
|
|
./testingcds "$arch" &
|
2013-01-20 00:03:24 -01:00
|
|
|
fi
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2013-01-20 00:03:24 -01:00
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$TESTING_WANTED" = "1" ] ; then
|
2013-01-20 00:03:24 -01:00
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started TESTINGNIFIRMWARE
|
2011-02-02 22:35:52 -01:00
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=firmware \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=C \
|
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
2013-01-20 00:03:24 -01:00
|
|
|
DI=${TESTING_SUITE} DI_DIST="$DI_DIST" \
|
2011-02-02 22:35:52 -01:00
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
2013-01-20 00:03:24 -01:00
|
|
|
fi
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2013-01-20 00:03:24 -01:00
|
|
|
|
|
|
|
if [ "$SID_WANTED" = "1" ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started SIDNI
|
2013-01-20 00:03:24 -01:00
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
2015-04-20 11:41:47 +00:00
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=2 \
|
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
2017-06-06 12:10:48 +00:00
|
|
|
DI=sid DI_WWW_HOME=default \
|
|
|
|
DI_DIR="$ARCH_DI_DIR" \
|
2013-01-20 00:03:24 -01:00
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2010-11-14 14:17:33 -01:00
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$TESTING_WANTED" = "1" ] ; then
|
2013-01-20 00:03:24 -01:00
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
build_started TESTINGNI
|
2010-11-14 14:17:33 -01:00
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
2013-01-20 00:03:24 -01:00
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=2 \
|
2010-11-14 14:17:33 -01:00
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
2015-04-20 11:41:47 +00:00
|
|
|
DI=${TESTING_SUITE} DI_DIST="$DI_DIST" \
|
2010-11-14 14:17:33 -01:00
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
2013-01-20 00:03:24 -01:00
|
|
|
fi
|
2010-11-14 14:17:33 -01:00
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
# Special Mac-only builds
|
2017-06-06 12:10:48 +00:00
|
|
|
if [ "$arch" = "i386" ] || [ "$arch" = "amd64" ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$SID_WANTED" = "1" ] ; then
|
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started SIDMACNI
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=F \
|
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
BOOT_METHODS=BIOS CDNAME="debian-mac" \
|
2017-06-06 12:10:48 +00:00
|
|
|
DI=sid DI_WWW_HOME=default \
|
|
|
|
DI_DIR="$ARCH_DI_DIR" \
|
2015-04-20 11:41:47 +00:00
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
|
|
|
fi
|
2011-02-02 22:35:52 -01:00
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$TESTING_WANTED" = "1" ] ; then
|
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started TESTINGMACNI
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=F \
|
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
BOOT_METHODS=BIOS CDNAME="debian-mac" \
|
|
|
|
DI=${TESTING_SUITE} DI_DIST="$DI_DIST" \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
|
|
|
fi
|
2011-02-02 22:35:52 -01:00
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2019-02-19 17:05:47 -01:00
|
|
|
|
|
|
|
# Special debian-edu builds, only minor tweaks. #846006
|
|
|
|
if [ "$NOEDU"x = ""x ] ; then
|
|
|
|
if [ "$arch" = "i386" ] || [ "$arch" = "amd64" ] ; then
|
|
|
|
if [ "$SID_WANTED" = "1" ] ; then
|
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started SIDEDUNI
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=G \
|
|
|
|
CDNAME=debian-edu \
|
|
|
|
DI=sid DI_WWW_HOME=default \
|
|
|
|
DEBIAN_EDU=1 \
|
|
|
|
KERNEL_PARAMS="modules=debian-edu-install-udeb" \
|
|
|
|
DESKTOP=xfce VARIANTS=xen \
|
|
|
|
EXCLUDE=debian-edu-exclude \
|
|
|
|
UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude \
|
|
|
|
TASK=Debian-edu-netinst \
|
|
|
|
MAXISOS=1 MAXJIGDOS=1 \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
DI_DIR="$ARCH_DI_DIR" \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
|
|
|
|
build_started SIDEDUNIFIRMWARE
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=H \
|
|
|
|
FORCE_FIRMWARE=1 \
|
|
|
|
CDNAME=firmware-edu \
|
|
|
|
DI=sid DI_WWW_HOME=default \
|
|
|
|
DEBIAN_EDU=1 \
|
|
|
|
KERNEL_PARAMS="modules=debian-edu-install-udeb" \
|
|
|
|
DESKTOP=xfce VARIANTS=xen \
|
|
|
|
EXCLUDE=debian-edu-exclude \
|
|
|
|
UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude \
|
|
|
|
TASK=Debian-edu-netinst \
|
|
|
|
MAXISOS=1 MAXJIGDOS=1 \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
DI_DIR="$ARCH_DI_DIR" \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$TESTING_WANTED" = "1" ] ; then
|
|
|
|
if [ "$NI_WANTED" = "1" ] ; then
|
|
|
|
build_started TESTINGEDUNI
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=G \
|
|
|
|
CDNAME=debian-edu \
|
|
|
|
DEBIAN_EDU=1 \
|
|
|
|
KERNEL_PARAMS="modules=debian-edu-install-udeb" \
|
|
|
|
DESKTOP=xfce VARIANTS=xen \
|
|
|
|
EXCLUDE=debian-edu-exclude \
|
|
|
|
UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude \
|
|
|
|
TASK=Debian-edu-netinst \
|
|
|
|
MAXISOS=1 MAXJIGDOS=1 \
|
|
|
|
DI=${TESTING_SUITE} DI_DIST="$DI_DIST" \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
|
|
|
|
build_started TESTINGEDUNIFIRMWARE
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=H \
|
|
|
|
FORCE_FIRMWARE=1 \
|
|
|
|
CDNAME=firmware-edu \
|
|
|
|
DEBIAN_EDU=1 \
|
|
|
|
KERNEL_PARAMS="modules=debian-edu-install-udeb" \
|
|
|
|
DESKTOP=xfce VARIANTS=xen \
|
|
|
|
EXCLUDE=debian-edu-exclude \
|
|
|
|
UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude \
|
|
|
|
TASK=Debian-edu-netinst \
|
|
|
|
MAXISOS=1 MAXJIGDOS=1 \
|
|
|
|
DI=${TESTING_SUITE} DI_DIST="$DI_DIST" \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2010-11-14 14:17:33 -01:00
|
|
|
catch_parallel_builds
|
|
|
|
rm -rf $PUBDIRJIG/$arch
|
|
|
|
if [ "$arch_error"x = "none"x ] ; then
|
2013-01-20 00:03:24 -01:00
|
|
|
finalise_arch_dir $arch
|
2010-11-14 14:17:33 -01:00
|
|
|
fi
|
2010-07-02 23:24:56 +00:00
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
fi # end of normal arch build
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ "$NOSYNC"x = ""x ] ; then
|
2019-02-19 17:05:47 -01:00
|
|
|
echo "Clean up old builds on build machine:"
|
|
|
|
for DIR in $PUBDIRJIG/* $PUBDIRJIG-firmware/* ; do
|
|
|
|
cd $DIR
|
|
|
|
for THIS in 20* ; do
|
|
|
|
if [ $THIS != $DATE-$BUILDNUM ] ; then
|
|
|
|
echo " Deleting $DIR/$THIS"
|
|
|
|
rm -rf $DIR/$THIS
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
echo "Sync normal builds across to output dir: $RSYNC_TARGET_FREE"
|
|
|
|
rsync -rHlt $PUBDIRJIG/ $RSYNC_TARGET_FREE/
|
|
|
|
echo "Sync firmware builds across to output dir: $RSYNC_TARGET_FIRMWARE"
|
|
|
|
rsync -rHlt $PUBDIRJIG-firmware/ $RSYNC_TARGET_FIRMWARE/
|
|
|
|
|
|
|
|
echo "Remove extra builds:"
|
|
|
|
~/bin/remove_extra_dailies
|
|
|
|
|
|
|
|
echo "$DATE-$BUILDNUM" > $RSYNC_TARGET_FREE/daily-trace
|
|
|
|
|
|
|
|
if [ $(hostname) = casulana ]; then
|
|
|
|
(cd ${RSYNC_TARGET_FREE}/sid_d-i/${DATE_BUILD} && find . -name '*.iso' > .iso-wanted)
|
|
|
|
(cd ${RSYNC_TARGET_FIRMWARE}/sid_d-i/${DATE_BUILD}/ && find . -name '*.iso' > .iso-wanted)
|
|
|
|
rsync_to_pettersson ${RSYNC_TARGET_FREE}/sid_d-i/${DATE_BUILD}/ \
|
|
|
|
daily-builds/sid_d-i/${DATE_BUILD}/ \
|
|
|
|
'--exclude *.iso'
|
|
|
|
publish_on_pettersson daily-builds/sid_d-i/${DATE_BUILD}
|
|
|
|
|
|
|
|
rsync_to_pettersson ${RSYNC_TARGET_FIRMWARE}/sid_d-i/${DATE_BUILD}/ \
|
|
|
|
unofficial/non-free/cd-including-firmware/daily-builds/sid_d-i/${DATE_BUILD}/ \
|
|
|
|
'--exclude *.iso'
|
|
|
|
publish_on_pettersson unofficial/non-free/cd-including-firmware/daily-builds/sid_d-i/${DATE_BUILD}
|
|
|
|
|
|
|
|
rsync_to_pettersson ${OUT_BASE}/cd-sources/ cd-sources/
|
|
|
|
publish_on_pettersson cd-sources
|
2013-01-20 00:03:24 -01:00
|
|
|
fi
|
2019-02-19 17:05:47 -01:00
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
fi
|
|
|
|
|
|
|
|
cd $TOPDIR
|
2013-01-20 00:03:24 -01:00
|
|
|
rm -f $BUILDLOCK
|
2008-11-23 16:59:53 -01:00
|
|
|
fi
|
2019-02-19 17:05:47 -01:00
|
|
|
|