From 6362c98af7c42ab3cea01d4f88d27321b644ea6e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 8 Feb 2009 23:27:38 +0100 Subject: Overwriting default kernels in image autobuild script only when being on i386. --- examples/cron/images.sh | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) 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 -- cgit v1.0