From 30bac7a328cce2e9ab4de98b35bc9afafc95f464 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 3 Sep 2008 11:02:30 +0200 Subject: Don't install more than one kernel image when building minimal or stripped images. --- functions/defaults.sh | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/functions/defaults.sh b/functions/defaults.sh index ba3d944..54d28f1 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) -- cgit v1.0