[SCM] Debian Live build scripts branch, master, updated. 1.0.3-1-26-g9bc2ad9

Daniel Baumann daniel at debian.org
Sun Feb 8 21:01:59 UTC 2009


The following commit has been merged in the master branch:
commit 9bc2ad972c3891c08c7eb86bbfa79bc98e46bfc5
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Feb 8 22:00:39 2009 +0100

    Updating image example build script.

diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 2c821b7..6d4c2ea 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -29,11 +29,21 @@ do
 		rm -rf cache/packages*
 		rm -rf cache/stages_rootfs
 
+		case "${FLAVOUR}" in
+			standard|rescue|lxde-desktop|xfce-desktop)
+				KERNEL="486 686"
+				;;
+
+			gnome-desktop|kde-desktop)
+				KERNEL="686"
+				;;
+		esac
+
 		if [ "${SOURCE}" = "enabled" ]
 		then
-			lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --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 -k ${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 --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 -k ${KERNEL} --source disabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
 		fi
 
 		if [ "${DISTRIBUTION}" = "sid" ]

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list