summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-11 08:17:57 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:42 +0100
commit9a1570bc116e85b805e247d6c5c5d91ae8928b7d (patch)
tree408c7750cfce08373bf537439890b67a54c47fa6 /examples
parent87d6db757449d4a925786ba80c6f21fc2cfb840a (diff)
downloadlive-build-9a1570bc116e85b805e247d6c5c5d91ae8928b7d.zip
live-build-9a1570bc116e85b805e247d6c5c5d91ae8928b7d.tar.gz
Handling kernel selection properly in example images build script.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/cron/images.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 943ec44..5d891ea 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -33,20 +33,20 @@ do
then
case "${FLAVOUR}" in
standard|rescue|lxde-desktop|xfce-desktop)
- KERNEL="486 686"
+ KERNEL="-p '486 686'"
;;
gnome-desktop|kde-desktop)
- KERNEL="686"
+ KERNEL="-p '686'"
;;
esac
fi
if [ "${SOURCE}" = "enabled" ]
then
- lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --tasksel aptitude -k ${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 disabled --tasksel aptitude ${KERNEL} --source enabled --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 --tasksel aptitude -k ${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 disabled --tasksel aptitude ${KERNEL} --source disabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
fi
if [ "${DISTRIBUTION}" = "sid" ]