diff options
Diffstat (limited to 'examples/cron/images.sh')
-rwxr-xr-x | examples/cron/images.sh | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/examples/cron/images.sh b/examples/cron/images.sh index 6d4c2ea26..943ec44dd 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 |