mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
refactor(extra-builds): remove build_guix_also flag and legacy compatibility paths
This commit is contained in:
parent
4dc0135455
commit
8917b7ba3d
7 changed files with 33 additions and 40 deletions
|
|
@ -18,10 +18,6 @@ if [ -d /steps/after ]; then
|
|||
fi
|
||||
|
||||
extra_builds="${EXTRA_BUILDS:-}"
|
||||
# Backward compatibility for older bootstrap.cfg.
|
||||
if [ -z "${extra_builds}" ] && [ "${BUILD_GUIX_ALSO}" = True ]; then
|
||||
extra_builds="guix"
|
||||
fi
|
||||
|
||||
if [ -n "${extra_builds}" ]; then
|
||||
old_ifs="${IFS}"
|
||||
|
|
|
|||
|
|
@ -122,10 +122,6 @@ EOF
|
|||
cat >> /init <<- 'EOF'
|
||||
run_extra_builds_if_requested() {
|
||||
extra_builds="${EXTRA_BUILDS:-}"
|
||||
# Backward compatibility for older bootstrap.cfg.
|
||||
if [ -z "${extra_builds}" ] && [ "${BUILD_GUIX_ALSO}" = True ]; then
|
||||
extra_builds="guix"
|
||||
fi
|
||||
if [ -z "${extra_builds}" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue