summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-04-26 22:27:56 +0200
committerDaniel Baumann <daniel@debian.org>2012-04-26 22:39:36 +0200
commitb8bf4da08f99216fee0e1004aae82ed1f8f582cb (patch)
treeb15708f3dc7d51b409e7726e114ee9fb83d89e8a /functions
parentadd95845d9cea2ffa55e7d84af504450b3bc65eb (diff)
downloadvyos-live-build-b8bf4da08f99216fee0e1004aae82ed1f8f582cb.tar.gz
vyos-live-build-b8bf4da08f99216fee0e1004aae82ed1f8f582cb.zip
Adding support for including firmware packages automatically within the live system.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index c90b22075..c0fc58b6e 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1192,10 +1192,12 @@ Set_defaults ()
# Setting firmware option
case "${LB_MODE}" in
progress)
+ LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-true}"
LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-true}"
;;
*)
+ LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-false}"
LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-false}"
;;
esac