diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-19 00:29:18 +0000 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2020-03-20 10:19:33 +0000 |
commit | d6a80d3d4dfe7153ba48c4fb1d1037557223a233 (patch) | |
tree | d438aa24f28395b58976b0ae746b9f8911544523 /functions | |
parent | 4fa83598a3d9ec1d27289c6ebbbf465e6d76b320 (diff) | |
download | vyos-live-build-d6a80d3d4dfe7153ba48c4fb1d1037557223a233.tar.gz vyos-live-build-d6a80d3d4dfe7153ba48c4fb1d1037557223a233.zip |
defaults: purge long unused LB_ROOT
seems to have been obsolete since all the way back at v1.0~a22-1.
history:
- in 0d0de885e32ff67d57bb7def451b62d75b8920ab it was renamed from
LIVE_ROOT to LH_ROOT, but also seems to have become completely
obsolete at this point, and thus mistakenly not actually removed.
before this it seems to have been used to hold the base directory of
live-build from which paths were constructed, but then this use was
removed making it redundant, but it remained in the code.
- 83bc63f725263c571094e3af1c88c58992bf0ac6 renamed to LB_ROOT.
- a79a5bea1063da4010f145a0e29aaf9a672ef291 dropped setting the variable
only if not already set, in favour of always setting it depending upon
LB_MODE. but still it remained unused.
Gbp-Dch: Short
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index ee46c60f7..c18cde123 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -279,17 +279,6 @@ Set_config_defaults () # Setting tasksel LB_TASKSEL="${LB_TASKSEL:-apt}" - # Setting root directory - case "${LB_MODE}" in - progress-linux) - LB_ROOT="${LB_ROOT:-progress-linux}" - ;; - - *) - LB_ROOT="${LB_ROOT:-${LB_MODE}-live}" - ;; - esac - # Setting live build options if [ -z "${_COLOR}" ]; then _COLOR="auto" |