From 5953d2c9489c3ea808fed62073209ab03cc0a953 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 3 Jun 2012 08:24:31 +0200 Subject: Don't bother supporting firmware on ubuntu, they seem to have a different archive structure. --- functions/defaults.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index 9d28dd5aa..f44df78f7 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -1190,8 +1190,17 @@ Set_defaults () esac # Setting firmware option - LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-true}" - LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-true}" + case "${LB_MODE}" in + ubuntu) + LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-false}" + LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-false}" + ;; + + *) + LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-true}" + LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-true}" + ;; + esac # Setting swap file LB_SWAP_FILE_SIZE="${LB_SWAP_FILE_SIZE:-512}" -- cgit v1.2.3