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
|
|
|
|
|
|
|
|
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"
|
2013-01-20 00:03:24 -01:00
|
|
|
BUILDLOCK=$HOME/.debian-cd.lock
|
2015-04-20 11:41:47 +00:00
|
|
|
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
|
|
|
|
export CONF=~/build.jessie/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
|
|
|
|
|
2010-07-02 23:24:56 +00:00
|
|
|
BUILDS_RUNNING=""
|
|
|
|
|
2015-04-20 11:41:47 +00:00
|
|
|
export NOOPENSTACK
|
|
|
|
export NOLIVE
|
|
|
|
rm -f $PUBDIRLIVETRACE $PUBDIROSTRACE
|
|
|
|
~/build.jessie/cronjob.weekly-live &
|
|
|
|
|
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 ..
|
|
|
|
|
|
|
|
# Work out the default desktop, and do *not* build a CD1 for that
|
|
|
|
# desktop - it'll be done in the full set anyway
|
|
|
|
TASKSEL_DEB=$(./debian-cd/tools/which_deb ${MIRROR} testing task-desktop binary)
|
|
|
|
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
|
2015-04-20 11:41:47 +00:00
|
|
|
cd debian-cd && ./tools/update_popcon tasks/jessie/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
|
|
|
|
|
|
|
# Full CD set
|
2011-02-02 22:35:52 -01:00
|
|
|
if [ "$NOCD"x = ""x ] && [ "$NOFULLCD"x = ""x ] ; then
|
2012-07-06 00:30:17 +00:00
|
|
|
unset FORCE_CD_SIZE1
|
2010-07-02 23:24:56 +00:00
|
|
|
export MAX_PKG_SIZE=500000000
|
2008-11-23 16:59:53 -01:00
|
|
|
case $arch in
|
2013-01-20 00:03:24 -01:00
|
|
|
i386|amd64)
|
2008-11-23 16:59:53 -01:00
|
|
|
export MAXISOS=8; export MAXJIGDOS=ALL ;;
|
2013-01-20 00:03:24 -01:00
|
|
|
source)
|
|
|
|
# don't make CD ISOs for source, DVD will do
|
|
|
|
export MAXISOS=0; export MAXJIGDOS=ALL ;;
|
2008-11-23 16:59:53 -01:00
|
|
|
*)
|
|
|
|
export MAXISOS=3; export MAXJIGDOS=ALL ;;
|
|
|
|
esac
|
2010-11-14 14:17:33 -01:00
|
|
|
build_started CD
|
|
|
|
./testingcds "$arch" &
|
2008-11-23 16:59:53 -01:00
|
|
|
fi
|
|
|
|
|
2009-08-22 22:44:44 +00:00
|
|
|
# Full DVD set
|
|
|
|
if [ "$NODVD"x = ""x ] ; then
|
2012-07-06 00:30:17 +00:00
|
|
|
unset FORCE_CD_SIZE1
|
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" &
|
2009-08-22 22:44:44 +00:00
|
|
|
fi
|
|
|
|
|
2008-11-23 16:59:53 -01:00
|
|
|
# Full BD set
|
|
|
|
if [ "$NOBD"x = ""x ] ; then
|
2012-07-06 00:30:17 +00:00
|
|
|
unset DESKTOP
|
|
|
|
unset FORCE_CD_SIZE1
|
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
|
|
|
|
unset FORCE_CD_SIZE1
|
|
|
|
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
|
2015-04-20 11:41:47 +00:00
|
|
|
if [ "$NOGNOMECD"x = ""x ] ; then
|
|
|
|
export MAX_PKG_SIZE=300000000
|
|
|
|
export DESKTOP=gnome
|
|
|
|
export MAXISOS=1; export MAXJIGDOS=1
|
|
|
|
unset FORCE_CD_SIZE1
|
|
|
|
export VARIANTS=""
|
|
|
|
build_started GNOMECD
|
|
|
|
INSTALLER_CD=E TASK=Debian-gnome \
|
|
|
|
KERNEL_PARAMS='desktop=gnome' \
|
|
|
|
MAXCDS=1 MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
|
|
|
|
2011-02-02 22:35:52 -01:00
|
|
|
if [ "$NOKDECD"x = ""x ] ; then
|
|
|
|
export MAX_PKG_SIZE=300000000
|
|
|
|
export DESKTOP=kde
|
|
|
|
export MAXISOS=1; export MAXJIGDOS=1
|
2012-07-06 00:30:17 +00:00
|
|
|
unset FORCE_CD_SIZE1
|
|
|
|
export VARIANTS=""
|
2011-02-02 22:35:52 -01:00
|
|
|
build_started KDECD
|
2010-07-02 23:24:56 +00:00
|
|
|
INSTALLER_CD=4 TASK=Debian-kde \
|
|
|
|
KERNEL_PARAMS='desktop=kde' \
|
|
|
|
MAXCDS=1 MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
./testingcds "$arch" &
|
2011-02-02 22:35:52 -01:00
|
|
|
fi
|
|
|
|
|
2013-01-20 00:03:24 -01:00
|
|
|
if [ "$NOXFCECD"x = ""x ] ; then
|
|
|
|
export MAX_PKG_SIZE=300000000
|
|
|
|
export DESKTOP=xfce
|
|
|
|
export MAXISOS=1; export MAXJIGDOS=1
|
|
|
|
unset FORCE_CD_SIZE1
|
|
|
|
export VARIANTS=""
|
|
|
|
build_started XFCECD
|
|
|
|
INSTALLER_CD=5 TASK=Debian-xfce \
|
|
|
|
KERNEL_PARAMS='desktop=xfce' \
|
|
|
|
MAXCDS=1 MAXISOS=ALL MAXJIGDOS=ALL \
|
|
|
|
./testingcds "$arch" &
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$NOLXDECD"x = ""x ] ; then
|
2011-02-02 22:35:52 -01:00
|
|
|
export MAX_PKG_SIZE=300000000
|
2013-01-20 00:03:24 -01:00
|
|
|
export DESKTOP=lxde
|
2011-02-02 22:35:52 -01:00
|
|
|
export MAXISOS=1; export MAXJIGDOS=1
|
2012-07-06 00:30:17 +00:00
|
|
|
unset FORCE_CD_SIZE1
|
|
|
|
export VARIANTS=""
|
2013-01-20 00:03:24 -01:00
|
|
|
build_started LXDECD
|
|
|
|
INSTALLER_CD=A TASK=Debian-lxde \
|
|
|
|
KERNEL_PARAMS='desktop=lxde' \
|
2011-02-02 22:35:52 -01:00
|
|
|
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
|
|
|
|
unset FORCE_CD_SIZE1
|
|
|
|
export VARIANTS=""
|
|
|
|
export OUT_FREE_SID=$PUBDIRJIG
|
|
|
|
export OUT_FREE_TST=$PUBDIRJIG
|
|
|
|
export OUT_FW_SID=${PUBDIRJIG}-firmware
|
|
|
|
export OUT_FW_TST=${PUBDIRJIG}-firmware
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
if [ "$arch" = "i386" ] ; then
|
|
|
|
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"
|
|
|
|
~/build.jessie/sign-images $PUBDIRJIG $arch
|
|
|
|
fi
|
|
|
|
echo " Running ~/build.jessie/iso_run $PUBDIRJIG/ $RSYNC_TARGET/ $arch &"
|
|
|
|
~/build.jessie/iso_run $PUBDIRJIG/ $RSYNC_TARGET/ $arch &
|
|
|
|
if [ -d $PUBDIRJIG-firmware/$arch ] ; then
|
|
|
|
if [ "$RELEASE_BUILD"x = ""x ] ; then
|
|
|
|
echo "Signing checksums files using the automatic key"
|
|
|
|
~/build.jessie/sign-images $PUBDIRJIG-firmware $ARCH
|
|
|
|
fi
|
|
|
|
echo " Running ~/build.jessie/iso_run ${PUBDIRJIG}-firmware/ $RSYNC_TARGET_FIRMWARE/ $arch &"
|
|
|
|
~/build.jessie/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
|
2015-04-20 11:41:47 +00:00
|
|
|
~/build.jessie/report_build_error $RSYNC_TARGET $arch "$arch_error"
|
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" &
|
|
|
|
fi
|
2009-08-23 00:12:41 +00:00
|
|
|
|
2013-04-30 18:54:11 +00:00
|
|
|
if [ "$NOCD"x = ""x ] && [ "$NONI"x = ""x ] ; then
|
|
|
|
export DESKTOP=all
|
|
|
|
export OUT_FREE_SID=$PUBDIRJIG
|
|
|
|
export OUT_FREE_TST=$PUBDIRJIG
|
|
|
|
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
|
2008-11-23 16:59:53 -01:00
|
|
|
fi
|
|
|
|
|
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"
|
|
|
|
~/build.jessie/sign-images $PUBDIRJIG multi-arch
|
|
|
|
fi
|
|
|
|
echo " Running ~/build.jessie/iso_run $PUBDIRJIG/ $RSYNC_TARGET/ multi-arch &"
|
|
|
|
~/build.jessie/iso_run $PUBDIRJIG/ $RSYNC_TARGET/ multi-arch &
|
|
|
|
if [ -d $PUBDIRJIG-firmware/multi-arch ] ; then
|
|
|
|
if [ "$RELEASE_BUILD"x = ""x ] ; then
|
|
|
|
echo "Signing checksums files using the automatic key"
|
|
|
|
~/build.jessie/sign-images $PUBDIRJIG-firmware multi-arch
|
|
|
|
fi
|
|
|
|
echo " Running ~/build.jessie/iso_run ${PUBDIRJIG}-firmware/ $RSYNC_TARGET_FIRMWARE/ multi-arch &"
|
|
|
|
~/build.jessie/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
|
2015-04-20 11:41:47 +00:00
|
|
|
~/build.jessie/report_build_error $RSYNC_TARGET multi-arch "$arch_error"
|
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
|
|
|
|
~/build.jessie/generate_headers $RSYNC_TARGET
|
|
|
|
~/build.jessie/generate_headers $RSYNC_TARGET_FIRMWARE
|
|
|
|
|
2011-02-02 22:35:52 -01:00
|
|
|
if [ "$NOFW"x = ""x ] ; then
|
2015-04-20 11:41:47 +00:00
|
|
|
~/build.jessie/generate_firmware_images jessie
|
|
|
|
~/build.jessie/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
|