2010-07-02 23:24:56 +00:00
|
|
|
#!/bin/bash
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2013-04-30 18:54:11 +00:00
|
|
|
TOPDIR=$(dirname $0)
|
|
|
|
if [ "$TOPDIR" = "." ] ; then
|
|
|
|
TOPDIR=`pwd`
|
|
|
|
fi
|
|
|
|
export TOPDIR
|
2008-11-23 16:59:53 -01:00
|
|
|
|
|
|
|
. $TOPDIR/settings.sh
|
|
|
|
|
2017-06-06 12:10:48 +00:00
|
|
|
BUILDLOCK=$HOME/.debian-cd.lock
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
export PUBDIRJIG=$PUBDIR/weekly-builds
|
2015-04-20 11:41:47 +00:00
|
|
|
export PUBDIROSTRACE=/mnt/nfs-cdimage/.live/trace-os
|
|
|
|
export PUBDIRLIVETRACE=/mnt/nfs-cdimage/.live/trace-live
|
2008-11-23 16:59:53 -01:00
|
|
|
export DATE_BUILD="$DATE-$BUILDNUM"
|
2017-06-06 12:10:48 +00:00
|
|
|
export CD_I_F="/mnt/nfs-cdimage/unofficial/non-free/cd-including-firmware"
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2010-11-14 14:17:33 -01:00
|
|
|
. $TOPDIR/common.sh
|
2010-07-02 23:24:56 +00:00
|
|
|
|
2012-07-06 00:30:17 +00:00
|
|
|
# Make sure the machine isn't rebooted while we're busy
|
|
|
|
reboot_lock
|
|
|
|
|
2013-04-30 18:54:11 +00:00
|
|
|
# Uncomment the following to use daily d-i builds for these images
|
2013-01-20 00:03:24 -01:00
|
|
|
# rather than what's in the archive
|
|
|
|
USE_DAILY_DI=Y
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2013-01-20 00:03:24 -01:00
|
|
|
if [ "$RELEASE_BUILD"x = ""x ] ; then
|
|
|
|
export RSYNC_TARGET=/mnt/nfs-cdimage/weekly-builds
|
2015-04-20 11:41:47 +00:00
|
|
|
export RSYNC_TARGET_FIRMWARE=${CD_I_F}/weekly-builds
|
2013-01-20 00:03:24 -01:00
|
|
|
else
|
2015-04-20 11:41:47 +00:00
|
|
|
export RSYNC_TARGET=/mnt/nfs-cdimage/.${RELEASE_BUILD}/debian-cd
|
|
|
|
export RSYNC_TARGET_FIRMWARE=${CD_I_F}/.${RELEASE_BUILD}/debian-cd
|
2017-06-06 12:10:48 +00:00
|
|
|
export CONF=~/build.stretch/CONF.sh.${RELEASE_BUILD}
|
2013-01-20 00:03:24 -01:00
|
|
|
export RELEASE_BUILD=$RELEASE_BUILD
|
|
|
|
# If we're doing a normal set of daily/weekly builds, leave the
|
|
|
|
# checksum filenames alone. Otherwise, make life easier for people
|
|
|
|
# combining things later and append a suitable name as we build.
|
2015-04-20 11:41:47 +00:00
|
|
|
export EXTENSION=".large"
|
2013-01-20 00:03:24 -01:00
|
|
|
USE_DAILY_DI=N
|
2009-08-22 22:44:44 +00:00
|
|
|
fi
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
. images4testing_d-i
|
|
|
|
|
2009-08-22 22:44:44 +00:00
|
|
|
if [ "$USE_DAILY_DI"x = "Y"x ] ; then
|
|
|
|
export DI=sid
|
|
|
|
export DI_WWW_HOME=default
|
2013-04-30 18:54:11 +00:00
|
|
|
export DI_DIR="$ARCH_DI_DIR"
|
2012-07-06 00:30:17 +00:00
|
|
|
else
|
|
|
|
unset DI_WWW_HOME
|
2009-08-22 22:44:44 +00:00
|
|
|
fi
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
export DI_DIST
|
|
|
|
export DI_CODENAME
|
2017-06-06 12:10:48 +00:00
|
|
|
export OUT_FREE_SID=$PUBDIRJIG
|
|
|
|
export OUT_FREE_TST=$PUBDIRJIG
|
|
|
|
export OUT_FW_SID=${PUBDIRJIG}-firmware
|
|
|
|
export OUT_FW_TST=${PUBDIRJIG}-firmware
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2010-07-02 23:24:56 +00:00
|
|
|
BUILDS_RUNNING=""
|
|
|
|
|
2017-06-06 12:10:48 +00:00
|
|
|
export NOEDU=1
|
|
|
|
#export NOOPENSTACK=1
|
|
|
|
#export NOLIVE=1
|
2015-04-20 11:41:47 +00:00
|
|
|
rm -f $PUBDIRLIVETRACE $PUBDIROSTRACE
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/cronjob.weekly-live &
|
2015-04-20 11:41:47 +00:00
|
|
|
|
2013-01-20 00:03:24 -01:00
|
|
|
if lockfile -r0 $BUILDLOCK ; then
|
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 ..
|
|
|
|
|
2017-06-06 12:10:48 +00:00
|
|
|
# Keep track of the serial for the archive we're building against,
|
|
|
|
# for later archive diffing for release announce preparation:
|
|
|
|
serial=$(get_archive_serial)
|
|
|
|
echo "$serial" > $PUBDIRJIG/trace/archive-serial
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
# Work out the default desktop, and do *not* build a CD1 for that
|
|
|
|
# desktop - it'll be done in the full set anyway
|
2017-06-06 12:10:48 +00:00
|
|
|
TASKSEL_DEB=$(ARCHES=amd64 ./debian-cd/tools/which_deb ${MIRROR} ${DI_CODENAME} task-desktop binary)
|
2015-04-20 11:41:47 +00:00
|
|
|
DEFAULT_DESKTOP=$(dpkg --info ${MIRROR}/${TASKSEL_DEB} |
|
|
|
|
awk '/Recommends: task-.*-desktop/ {split($2,a,"-"); print toupper(a[2])}')
|
|
|
|
echo default desktop is $DEFAULT_DESKTOP, drop CD1 for that desktop
|
|
|
|
export NO${DEFAULT_DESKTOP}CD=1
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2010-07-02 23:24:56 +00:00
|
|
|
# echo "NOT checking for popcon updates"
|
2013-04-30 18:54:11 +00:00
|
|
|
if [ "$NOPOPCON"x = ""x ] ; then
|
2017-06-06 12:10:48 +00:00
|
|
|
cd debian-cd && ./tools/update_popcon tasks/stretch/popularity-contest ; cd ..
|
2013-04-30 18:54:11 +00:00
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
|
|
|
|
cd $TOPDIR
|
|
|
|
mkdir -p $PUBDIRJIG/trace
|
2015-04-20 11:41:47 +00:00
|
|
|
mkdir -p $RSYNC_TARGET $RSYNC_TARGET_FIRMWARE
|
2008-11-23 16:59:53 -01:00
|
|
|
|
|
|
|
for arch in $ARCHES; do
|
2012-07-06 00:30:17 +00:00
|
|
|
# Reset envvars for next iteration
|
2010-07-02 23:24:56 +00:00
|
|
|
arch_error=""
|
2013-04-30 18:54:11 +00:00
|
|
|
arch_start=`now`
|
|
|
|
|
|
|
|
if [ "$arch" != multi-arch ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
rm -rf $PUBDIRJIG/$arch $PUBDIRJIG-firmware/$arch
|
2008-11-23 16:59:53 -01:00
|
|
|
mkdir -p $PUBDIRJIG/$arch
|
2015-04-20 11:41:47 +00:00
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
mkdir -p $PUBDIRJIG-firmware/$arch
|
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2012-07-06 00:30:17 +00:00
|
|
|
# export DI_DIR="$ARCH_DI_DIR"
|
|
|
|
export VARIANTS=""
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2009-08-22 22:44:44 +00:00
|
|
|
# Full DVD set
|
|
|
|
if [ "$NODVD"x = ""x ] ; then
|
2010-07-02 23:24:56 +00:00
|
|
|
export MAX_PKG_SIZE=999999999999
|
2009-08-22 22:44:44 +00:00
|
|
|
case $arch in
|
2012-07-06 00:30:17 +00:00
|
|
|
i386|amd64)
|
2013-01-20 00:03:24 -01:00
|
|
|
export MAXISOS=3
|
2012-07-06 00:30:17 +00:00
|
|
|
export MAXJIGDOS=ALL
|
|
|
|
export VARIANTS=xen
|
|
|
|
# Special case: make DVD1 fit on a 4GB USB
|
|
|
|
# stick (#612074)
|
|
|
|
export FORCE_CD_SIZE1=STICK4GB
|
|
|
|
;;
|
|
|
|
source)
|
2009-08-22 22:44:44 +00:00
|
|
|
export MAXISOS=ALL; export MAXJIGDOS=ALL ;;
|
2015-04-20 11:41:47 +00:00
|
|
|
powerpc|arm64)
|
|
|
|
# Special cases: make DVD1 fit on a 4GB USB
|
|
|
|
# stick
|
2013-01-20 00:03:24 -01:00
|
|
|
export FORCE_CD_SIZE1=STICK4GB
|
|
|
|
export MAXISOS=1; export MAXJIGDOS=ALL ;;
|
2009-08-22 22:44:44 +00:00
|
|
|
*)
|
2010-11-14 14:17:33 -01:00
|
|
|
export MAXISOS=1; export MAXJIGDOS=ALL ;;
|
2009-08-22 22:44:44 +00:00
|
|
|
esac
|
|
|
|
export DESKTOP=all
|
2010-11-14 14:17:33 -01:00
|
|
|
build_started DVD
|
|
|
|
INSTALLER_CD=3 TASK=Debian-all \
|
|
|
|
KERNEL_PARAMS='desktop=all' \
|
|
|
|
./testingcds "$arch" &
|
2017-06-06 12:10:48 +00:00
|
|
|
|
|
|
|
# Single DVD with firmware
|
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
case $arch in
|
|
|
|
i386|amd64)
|
|
|
|
export VARIANTS=xen
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
build_started DVDFIRMWARE
|
|
|
|
COMPLETE=0 INSTALLER_CD=I \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=firmware \
|
|
|
|
KERNEL_PARAMS="desktop=all" \
|
|
|
|
DESKTOP=all \
|
|
|
|
TASK=Debian-all \
|
|
|
|
MAXISOS=1 MAXJIGDOS=1 \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
|
|
|
unset FORCE_CD_SIZE1
|
2009-08-22 22:44:44 +00:00
|
|
|
fi
|
|
|
|
|
2017-06-06 12:10:48 +00:00
|
|
|
# Full BD set
|
2008-11-23 16:59:53 -01:00
|
|
|
if [ "$NOBD"x = ""x ] ; then
|
2012-07-06 00:30:17 +00:00
|
|
|
unset DESKTOP
|
2010-07-02 23:24:56 +00:00
|
|
|
export MAX_PKG_SIZE=999999999999
|
2008-11-23 16:59:53 -01:00
|
|
|
case $arch in
|
|
|
|
i386|amd64|source)
|
|
|
|
export MAXISOS=0
|
|
|
|
export MAXJIGDOS=ALL
|
2009-08-22 22:44:44 +00:00
|
|
|
export DESKTOP=all
|
2012-07-06 00:30:17 +00:00
|
|
|
export VARIANTS=xen
|
2010-11-14 14:17:33 -01:00
|
|
|
build_started BD
|
|
|
|
INSTALLER_CD=9 TASK=Debian-all \
|
|
|
|
KERNEL_PARAMS='desktop=all' \
|
|
|
|
./testingcds "$arch" &
|
2008-11-23 16:59:53 -01:00
|
|
|
;;
|
|
|
|
*)
|
2010-11-14 14:17:33 -01:00
|
|
|
echo " Not running BD build for $arch"
|
2008-11-23 16:59:53 -01:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
2012-07-06 00:30:17 +00:00
|
|
|
# Full DLBD set
|
2013-04-30 18:54:11 +00:00
|
|
|
if [ "$NOBD"x = ""x ] && [ "$NODLBD"x = ""x ] ; then
|
2012-07-06 00:30:17 +00:00
|
|
|
unset DESKTOP
|
|
|
|
export MAX_PKG_SIZE=999999999999
|
|
|
|
case $arch in
|
|
|
|
i386|amd64|source)
|
|
|
|
export MAXISOS=0
|
|
|
|
export MAXJIGDOS=ALL
|
|
|
|
export DESKTOP=all
|
|
|
|
export VARIANTS=xen
|
|
|
|
build_started DLBD
|
|
|
|
INSTALLER_CD=D TASK=Debian-all \
|
|
|
|
KERNEL_PARAMS='desktop=all' \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo " Not running DLBD build for $arch"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
# individual desktop cds: gnome, kde, xfce. lxde
|
2008-11-23 16:59:53 -01:00
|
|
|
if [ "$arch"x != "source"x ] && [ "$NOCD"x = ""x ] ; then
|
2017-06-06 12:10:48 +00:00
|
|
|
if [ "$NOXFCECD"x = ""x ] ; then
|
2013-01-20 00:03:24 -01:00
|
|
|
export MAX_PKG_SIZE=300000000
|
|
|
|
export DESKTOP=xfce
|
|
|
|
export MAXISOS=1; export MAXJIGDOS=1
|
2017-06-06 12:10:48 +00:00
|
|
|
export VARIANTS=""
|
|
|
|
build_started XFCECD
|
2013-01-20 00:03:24 -01:00
|
|
|
INSTALLER_CD=5 TASK=Debian-xfce \
|
2017-06-06 12:10:48 +00:00
|
|
|
KERNEL_PARAMS='desktop=xfce' \
|
|
|
|
MAXCDS=1 MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
2010-07-02 23:24:56 +00:00
|
|
|
fi
|
|
|
|
|
2013-04-30 18:54:11 +00:00
|
|
|
# netinst CD
|
|
|
|
if [ "$arch"x != "source"x ] && [ "$NOCD"x = ""x ] && [ "$NONI"x = ""x ] ; then
|
|
|
|
export MAX_PKG_SIZE=300000000
|
|
|
|
export DESKTOP=all
|
|
|
|
export MAXISOS=1; export MAXJIGDOS=1
|
|
|
|
export VARIANTS=""
|
|
|
|
|
|
|
|
build_started NI
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=2 \
|
|
|
|
KERNEL_PARAMS="desktop=all" \
|
|
|
|
DESKTOP=all VARIANTS=xen \
|
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
build_started NIFIRMWARE
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=C \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=firmware \
|
|
|
|
KERNEL_PARAMS="desktop=all" \
|
|
|
|
DESKTOP=all VARIANTS=xen \
|
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
|
|
|
|
2017-06-06 12:10:48 +00:00
|
|
|
# Special Mac-only builds
|
|
|
|
if [ "$arch" = "i386" ] || [ "$arch" = "amd64" ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
build_started MACNI
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=F \
|
|
|
|
BOOT_METHODS=BIOS CDNAME="debian-mac" \
|
|
|
|
KERNEL_PARAMS="desktop=all" \
|
|
|
|
DESKTOP=all VARIANTS=xen \
|
|
|
|
TASK=debian-installer+kernel MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
2013-04-30 18:54:11 +00:00
|
|
|
fi
|
|
|
|
|
2010-11-14 14:17:33 -01:00
|
|
|
catch_parallel_builds
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
for dir in $PUBDIRJIG/$arch/jigdo-*; do
|
|
|
|
generate_checksums_for_arch $arch $dir
|
|
|
|
done
|
|
|
|
if [ -d $PUBDIRJIG-firmware/$arch ] ; then
|
|
|
|
for dir in ${PUBDIRJIG}-firmware/$arch/jigdo-*; do
|
|
|
|
generate_checksums_for_arch $arch $dir
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
if [ "$NOSYNC"x = ""x ] ; then
|
2010-07-02 23:24:56 +00:00
|
|
|
if [ "$arch_error"x = "none"x ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$RELEASE_BUILD"x = ""x ] ; then
|
|
|
|
echo "Signing checksums files using the automatic key"
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/sign-images $PUBDIRJIG $arch
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2017-06-06 12:10:48 +00:00
|
|
|
echo " Running ~/build.stretch/iso_run $PUBDIRJIG/ $RSYNC_TARGET/ $arch &"
|
|
|
|
~/build.stretch/iso_run $PUBDIRJIG/ $RSYNC_TARGET/ $arch &
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ -d $PUBDIRJIG-firmware/$arch ] ; then
|
|
|
|
if [ "$RELEASE_BUILD"x = ""x ] ; then
|
|
|
|
echo "Signing checksums files using the automatic key"
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/sign-images $PUBDIRJIG-firmware $ARCH
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2017-06-06 12:10:48 +00:00
|
|
|
echo " Running ~/build.stretch/iso_run ${PUBDIRJIG}-firmware/ $RSYNC_TARGET_FIRMWARE/ $arch &"
|
|
|
|
~/build.stretch/iso_run ${PUBDIRJIG}-firmware/ $RSYNC_TARGET_FIRMWARE/ $arch &
|
2013-04-30 18:54:11 +00:00
|
|
|
fi
|
2010-07-02 23:24:56 +00:00
|
|
|
else
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/report_build_error $PUBDIRJIG $RSYNC_TARGET $arch "$arch_error"
|
|
|
|
if [ -d ${PUBDIRJIG}-firmware/$arch ] ; then
|
|
|
|
~/build.stretch/report_build_error ${PUBDIRJIG}-firmware $RSYNC_TARGET_FIRMWARE/ $arch "$arch_error"
|
|
|
|
fi
|
2010-07-02 23:24:56 +00:00
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
fi
|
2013-04-30 18:54:11 +00:00
|
|
|
else # multi-arch
|
2015-04-20 11:41:47 +00:00
|
|
|
rm -rf $PUBDIRJIG/multi-arch $PUBDIRJIG-firmware/multi-arch
|
2013-04-30 18:54:11 +00:00
|
|
|
for i in iso-dvd jigdo-dvd iso-cd jigdo-cd; do
|
2008-11-23 16:59:53 -01:00
|
|
|
mkdir -p $PUBDIRJIG/multi-arch/$i
|
2015-04-20 11:41:47 +00:00
|
|
|
if $(arch_has_firmware multi-arch) ; then
|
|
|
|
mkdir -p $PUBDIRJIG-firmware/multi-arch/$i
|
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
done
|
|
|
|
|
|
|
|
if [ "$NODVD"x = ""x ] ; then
|
2010-07-02 23:24:56 +00:00
|
|
|
export MAX_PKG_SIZE=999999999999
|
2009-08-22 22:44:44 +00:00
|
|
|
export DESKTOP=all
|
2012-07-06 00:30:17 +00:00
|
|
|
# Special case: make DVD1 fit on a 4GB USB
|
|
|
|
# stick (#612074)
|
2010-11-14 14:17:33 -01:00
|
|
|
build_started DVD
|
2012-07-06 00:30:17 +00:00
|
|
|
export FORCE_CD_SIZE1=STICK4GB
|
2009-08-22 22:44:44 +00:00
|
|
|
INSTALLER_CD=6 TASK=Debian-all \
|
|
|
|
KERNEL_PARAMS='desktop=all' \
|
|
|
|
MAXCDS=1 MAXISOS=ALL MAXJIGDOS=ALL \
|
2010-11-14 14:17:33 -01:00
|
|
|
VARIANTS=xen \
|
2013-04-30 18:54:11 +00:00
|
|
|
./testingcds "i386 amd64 source" &
|
2017-06-06 12:10:48 +00:00
|
|
|
# DVD with firmware
|
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
build_started DVDFIRMWARE
|
|
|
|
INSTALLER_CD=J TASK=Debian-all \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=firmware \
|
|
|
|
KERNEL_PARAMS="desktop=all" \
|
|
|
|
MAXCDS=1 MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
VARIANTS=xen \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
./testingcds "i386 amd64 source" &
|
|
|
|
fi
|
|
|
|
unset FORCE_CD_SIZE1
|
2013-04-30 18:54:11 +00:00
|
|
|
fi
|
2009-08-23 00:12:41 +00:00
|
|
|
|
2017-06-06 12:10:48 +00:00
|
|
|
if [ "$NOEDU"x = ""x ] && [ "$NOUSB"x = ""x ] ; then
|
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
build_started FIRMWAREEDUUSB
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=H \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=debian-edu-firmware \
|
|
|
|
DEBIAN_EDU=1 \
|
|
|
|
KERNEL_PARAMS="desktop=kde" \
|
|
|
|
DESKTOP=kde VARIANTS=xen \
|
|
|
|
EXCLUDE=debian-edu-exclude \
|
|
|
|
UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude \
|
|
|
|
TASK=Debian-edu-full \
|
|
|
|
MAXISOS=1 MAXJIGDOS=1 \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
./testingcds "amd64 i386" &
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$NOCD"x = ""x ] && [ "$NONI"x = ""x ] ; then
|
2013-04-30 18:54:11 +00:00
|
|
|
export DESKTOP=all
|
|
|
|
build_started NI
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=2 \
|
|
|
|
KERNEL_PARAMS="desktop=all" \
|
|
|
|
DESKTOP=all VARIANTS=xen \
|
|
|
|
TASK=debian-installer+kernel \
|
|
|
|
MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
./testingcds "amd64 i386" &
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
build_started NIFIRMWARE
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=C \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=firmware \
|
|
|
|
KERNEL_PARAMS="desktop=all" \
|
|
|
|
DESKTOP=all VARIANTS=xen \
|
|
|
|
TASK=debian-installer+kernel \
|
|
|
|
MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
DI=${DI} DI_DIST=${DI} \
|
|
|
|
./testingcds "amd64 i386" &
|
|
|
|
fi
|
2017-06-06 12:10:48 +00:00
|
|
|
|
|
|
|
if [ "$NOEDU"x = ""x ] ; then
|
|
|
|
if $(arch_has_firmware $arch) ; then
|
|
|
|
build_started NIFIRMWAREEDU
|
|
|
|
OMIT_RELEASE_NOTES=1 OMIT_MANUAL=1 NORECOMMENDS=1 \
|
|
|
|
NOSUGGESTS=1 COMPLETE=0 INSTALLER_CD=G \
|
|
|
|
FORCE_FIRMWARE=1 CDNAME=debian-edu-firmware \
|
|
|
|
DEBIAN_EDU=1 \
|
|
|
|
KERNEL_PARAMS="desktop=kde" \
|
|
|
|
DESKTOP=kde 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} \
|
|
|
|
./testingcds "amd64 i386" &
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
|
2013-04-30 18:54:11 +00:00
|
|
|
catch_parallel_builds
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
for dir in $PUBDIRJIG/multi-arch/jigdo-*; do
|
|
|
|
generate_checksums_for_arch multi-arch $dir
|
|
|
|
done
|
|
|
|
if [ -d $PUBDIRJIG-firmware/multi-arch ] ; then
|
|
|
|
for dir in ${PUBDIRJIG}-firmware/multi-arch/jigdo-*; do
|
|
|
|
generate_checksums_for_arch multi-arch $dir
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
if [ "$NOSYNC"x = ""x ] ; then
|
2010-07-02 23:24:56 +00:00
|
|
|
if [ "$arch_error"x = "none"x ] || [ "$arch_error"x = ""x ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$RELEASE_BUILD"x = ""x ] ; then
|
|
|
|
echo "Signing checksums files using the automatic key"
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/sign-images $PUBDIRJIG multi-arch
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2017-06-06 12:10:48 +00:00
|
|
|
echo " Running ~/build.stretch/iso_run $PUBDIRJIG/ $RSYNC_TARGET/ multi-arch &"
|
|
|
|
~/build.stretch/iso_run $PUBDIRJIG/ $RSYNC_TARGET/ multi-arch &
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ -d $PUBDIRJIG-firmware/multi-arch ] ; then
|
|
|
|
if [ "$RELEASE_BUILD"x = ""x ] ; then
|
|
|
|
echo "Signing checksums files using the automatic key"
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/sign-images $PUBDIRJIG-firmware multi-arch
|
2015-04-20 11:41:47 +00:00
|
|
|
fi
|
2017-06-06 12:10:48 +00:00
|
|
|
echo " Running ~/build.stretch/iso_run ${PUBDIRJIG}-firmware/ $RSYNC_TARGET_FIRMWARE/ multi-arch &"
|
|
|
|
~/build.stretch/iso_run ${PUBDIRJIG}-firmware/ $RSYNC_TARGET_FIRMWARE/ multi-arch &
|
2013-04-30 18:54:11 +00:00
|
|
|
fi
|
2010-07-02 23:24:56 +00:00
|
|
|
else
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/report_build_error ${PUBDIRJIG} $RSYNC_TARGET multi-arch "$arch_error"
|
|
|
|
if [ -d ${PUBDIRJIG}-firmware/multi-arch ] ; then
|
|
|
|
~/build.stretch/report_build_error ${PUBDIRJIG}-firmware $RSYNC_TARGET_FIRMWARE/ $multi-arch "$arch_error"
|
|
|
|
fi
|
2010-07-02 23:24:56 +00:00
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
fi
|
2013-04-30 18:54:11 +00:00
|
|
|
fi # end of multi-arch
|
2009-08-22 22:44:44 +00:00
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
done
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
# Generate HEADER.html files
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/generate_headers $RSYNC_TARGET ""
|
|
|
|
~/build.stretch/generate_headers $RSYNC_TARGET_FIRMWARE firmware
|
2015-04-20 11:41:47 +00:00
|
|
|
|
2011-02-02 22:35:52 -01:00
|
|
|
if [ "$NOFW"x = ""x ] ; then
|
2017-06-06 12:10:48 +00:00
|
|
|
~/build.stretch/generate_firmware_images stretch
|
|
|
|
~/build.stretch/generate_firmware_images sid
|
2011-02-02 22:35:52 -01:00
|
|
|
fi
|
2008-11-23 16:59:53 -01:00
|
|
|
|
|
|
|
if [ "$NOSNAP"x = ""x ] ; then
|
|
|
|
~/bin/weekly-snapshots
|
|
|
|
fi
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
catch_live_builds
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
date -u > $PUBDIRJIG/trace/cdimage.debian.org
|
|
|
|
|
2013-01-20 00:03:24 -01:00
|
|
|
rm -f $BUILDLOCK
|
2008-11-23 16:59:53 -01:00
|
|
|
fi
|