diff options
author | Daniel Baumann <daniel@debian.org> | 2008-09-03 11:02:30 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:40 +0100 |
commit | 30bac7a328cce2e9ab4de98b35bc9afafc95f464 (patch) | |
tree | f3411fa0a233ad84667da8a0f06778087f73161a /functions | |
parent | ae5b6c08b3ba47415e9de9f125ed4d9e0fbee465 (diff) | |
download | vyos-live-build-30bac7a328cce2e9ab4de98b35bc9afafc95f464.tar.gz vyos-live-build-30bac7a328cce2e9ab4de98b35bc9afafc95f464.zip |
Don't install more than one kernel image when building minimal or stripped images.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index ba3d944b2..54d28f150 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -391,7 +391,15 @@ Set_defaults () ;; i386) - LH_LINUX_FLAVOURS="486 686" + case "${LIST}" in + stripped|minimal) + LH_LINUX_FLAVOURS="486" + ;; + + *) + LH_LINUX_FLAVOURS="486 686" + ;; + esac ;; ia64) @@ -404,7 +412,15 @@ Set_defaults () ;; powerpc) - LH_LINUX_FLAVOURS="powerpc powerpc64" + case "${LIST}" in + stripped|minimal) + LH_LINUX_FLAVOURS="powerpc" + ;; + + *) + LH_LINUX_FLAVOURS="powerpc powerpc64" + ;; + esac ;; s390) |