summaryrefslogtreecommitdiff
path: root/examples/cron/images.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cron/images.sh')
-rwxr-xr-xexamples/cron/images.sh21
1 files 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