[SCM] Debian Live build scripts branch, master, updated. 1.0.3-1-27-gc551385

Daniel Baumann daniel at debian.org
Sun Feb 8 22:29:03 UTC 2009


The following commit has been merged in the master branch:
commit c5513851ba9325f9b6be4a23c445a45de83bc6c1
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Feb 8 23:27:38 2009 +0100

    Overwriting default kernels in image autobuild script only when being on i386.

diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 6d4c2ea..943ec44 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -29,15 +29,18 @@ 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 [ "${ARCHITECTURE}" = "i386" ]
+		then
+			case "${FLAVOUR}" in
+				standard|rescue|lxde-desktop|xfce-desktop)
+					KERNEL="486 686"
+					;;
+
+				gnome-desktop|kde-desktop)
+					KERNEL="686"
+					;;
+			esac
+		fi
 
 		if [ "${SOURCE}" = "enabled" ]
 		then

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list