summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-04-26 19:52:15 +0200
committerDaniel Baumann <daniel@debian.org>2012-04-26 22:28:48 +0200
commitbbd9c284e4a7ac212ba50b014a79a091007c2539 (patch)
treea9e67e5eabd0fe7c2cef1e98e9a80fb4756fe39a /functions
parentd2be2946dbe2fe059fa6c523c495694b2cfcba68 (diff)
downloadvyos-live-build-bbd9c284e4a7ac212ba50b014a79a091007c2539.tar.gz
vyos-live-build-bbd9c284e4a7ac212ba50b014a79a091007c2539.zip
Adding support for including firmware packages automatically within debian-installer.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index f4e251797..c90b22075 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1189,6 +1189,17 @@ Set_defaults ()
;;
esac
+ # Setting firmware option
+ case "${LB_MODE}" in
+ progress)
+ LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-true}"
+ ;;
+
+ *)
+ LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-false}"
+ ;;
+ esac
+
# Setting swap file
LB_SWAP_FILE_SIZE="${LB_SWAP_FILE_SIZE:-512}"