From d6a80d3d4dfe7153ba48c4fb1d1037557223a233 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Thu, 19 Mar 2020 00:29:18 +0000 Subject: 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 --- functions/defaults.sh | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'functions') 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" -- cgit v1.2.3