Don't bother supporting firmware on ubuntu, they seem to have a different archive structure.

This commit is contained in:
Daniel Baumann 2012-06-03 08:24:31 +02:00
parent 10c79ed504
commit 5953d2c948
1 changed files with 11 additions and 2 deletions

View File

@ -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}"