diff options
author | Daniel Baumann <daniel@debian.org> | 2007-10-31 10:55:37 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:28 +0100 |
commit | b7b7cd4c8193041eff058eaa2bf39c5a8bf32458 (patch) | |
tree | 89f6996bf7f6a695b90bc5a4d209404f08ff5363 /functions/defaults.sh | |
parent | ba5145202721b8b77f02451f307adb7e10d83583 (diff) | |
download | vyos-live-build-b7b7cd4c8193041eff058eaa2bf39c5a8bf32458.tar.gz vyos-live-build-b7b7cd4c8193041eff058eaa2bf39c5a8bf32458.zip |
Setting LH_BOOTSTRAP_FLAVOUR only when using cdebootstrap.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 8a876f0ea..30e40621c 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -226,7 +226,11 @@ Set_defaults () # LH_BOOTSTRAP_CONFIG # Setting flavour value - LH_BOOTSTRAP_FLAVOUR="${LH_BOOTSTRAP_FLAVOUR:-standard}" + case "${LH_BOOTSTRAP}" in + cdebootstrap) + LH_BOOTSTRAP_FLAVOUR="${LH_BOOTSTRAP_FLAVOUR:-standard}" + ;; + esac # Setting boostrap keyring # LH_BOOTSTRAP_KEYRING |