[SCM] debian-live/live-helper branch, master, updated. 1.0_a44-1-29-ga6b7459
Daniel Baumann
daniel at debian.org
Tue Apr 22 16:00:55 UTC 2008
The following commit has been merged in the master branch:
commit a6b745939a4b2fb00f2c206bdc1f5e8dbc1a89e4
Author: Daniel Baumann <daniel at debian.org>
Date: Tue Apr 22 17:57:28 2008 +0200
Handling sourceless builds in images.sh.
diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 672ff49..ad5cf74 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -22,7 +22,12 @@ do
rm -rf cache/packages*
rm -rf cache/stages_rootfs
- lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --source enabled --mirror-bootstrap http://mirror/ftp.debian.org/debian/ --mirror-chroot http://mirror/ftp.debian.org/debian/ --mirror-chroot-security http://mirror/ftp.debian.org/debian-security/
+ if [ "${1}" != "nosource" ]
+ then
+ lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --source enabled --mirror-bootstrap http://mirror/ftp.debian.org/debian/ --mirror-chroot http://mirror/ftp.debian.org/debian/ --mirror-chroot-security http://mirror/ftp.debian.org/debian-security/
+ else
+ lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --source disabled --mirror-bootstrap http://mirror/ftp.debian.org/debian/ --mirror-chroot http://mirror/ftp.debian.org/debian/ --mirror-chroot-security http://mirror/ftp.debian.org/debian-security/
+ fi
if [ "${DISTRIBUTION}" = "sid" ]
then
@@ -39,8 +44,12 @@ do
mv binary.iso debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list
mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.packages
- mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz
- mv source.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.list
+
+ if [ "${1}" != "nosource" ]
+ then
+ mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz
+ mv source.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.list
+ fi
lh clean --binary
lh config -b usb-hdd
--
debian-live/live-helper
More information about the debian-live-changes
mailing list