summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-12-13 21:17:45 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:03 +0100
commit701b5affd403d9a25df311fc422dd33eb4526c34 (patch)
tree7e7cc9f57ceb0d3700ee13541944efb044ae9d60 /examples
parent32930b4a6a14374d2895a4e9247fdc192a91124b (diff)
downloadvyos-live-build-701b5affd403d9a25df311fc422dd33eb4526c34.tar.gz
vyos-live-build-701b5affd403d9a25df311fc422dd33eb4526c34.zip
For consistency, using true|false instead of enabled|disabled in configuration options.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/cron/images.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 1c95ec88f..d0edfc0ea 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -3,7 +3,7 @@
# Static variables
DISTRIBUTIONS="${DISTRIBUTIONS:-lenny squeeze sid}"
FLAVOURS="${FLAVOURS:-standard rescue gnome-desktop kde-desktop lxde-desktop xfce-desktop}"
-SOURCE="${SOURCE:-enabled}"
+SOURCE="${SOURCE:-true}"
MIRROR="${MIRROR:-http://mirror/ftp.debian.org/debian/}"
MIRROR_SECURITY="${MIRROR_SECURITY:-http://mirror/ftp.debian.org/debian-security/}"
@@ -50,7 +50,7 @@ do
i386)
case "${FLAVOUR}" in
standard|rescue|lxde-desktop|xfce-desktop)
- INDICES="enabled"
+ INDICES="true"
;;
gnome-desktop|kde-desktop)
@@ -61,11 +61,11 @@ do
;;
esac
- if [ "${SOURCE}" = "enabled" ]
+ if [ "${SOURCE}" = "true" ]
then
- lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --binary-indices ${INDICES} --tasksel aptitude ${KERNEL} --source enabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
+ lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends false --binary-indices ${INDICES} --tasksel aptitude ${KERNEL} --source true --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
else
- lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --binary-indices ${INDICES} --tasksel aptitude ${KERNEL} --source disabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
+ lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends false --binary-indices ${INDICES} --tasksel aptitude ${KERNEL} --source false --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
fi
if [ "${DISTRIBUTION}" = "sid" ]
@@ -84,7 +84,7 @@ do
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list
mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.packages
- if [ "${SOURCE}" = "enabled" ]
+ if [ "${SOURCE}" = "true" ]
then
mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz
mv source.list debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz.list