diff options
author | Daniel Baumann <daniel@debian.org> | 2009-02-08 23:27:38 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:42 +0100 |
commit | 6362c98af7c42ab3cea01d4f88d27321b644ea6e (patch) | |
tree | b92a6d1dd9c2e82d84b54f5177884d87df3267ca | |
parent | b540927007698439ea3371cf8f061a8f35eb74a5 (diff) | |
download | vyos-live-build-6362c98af7c42ab3cea01d4f88d27321b644ea6e.tar.gz vyos-live-build-6362c98af7c42ab3cea01d4f88d27321b644ea6e.zip |
Overwriting default kernels in image autobuild script only when being on i386.
-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 |