diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-19 21:48:49 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-12-20 12:27:49 +0100 |
commit | 4118eb4c1e2dc23a6e7b33695883c1d6f03c06d4 (patch) | |
tree | 62e5adb3b0cc080fa8c58eec1b9de63343ff2c6f /functions/defaults.sh | |
parent | 3cbe97f28ed5c07f2e5a73d920637410b68ed486 (diff) | |
download | vyos-live-build-4118eb4c1e2dc23a6e7b33695883c1d6f03c06d4.tar.gz vyos-live-build-4118eb4c1e2dc23a6e7b33695883c1d6f03c06d4.zip |
Moving off binary image parent archive areas into new config tree format.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 686957457..588274dcf 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -69,6 +69,11 @@ New_configuration () export LIVE_IMAGE_ARCHIVE_AREAS + # Image: Archive Areas + LIVE_IMAGE_PARENT_ARCHIVE_AREAS="$(Get_configuration config/control Parent-Archive-Areas)" + LIVE_IMAGE_PARENT_ARCHIVE_AREAS="${LIVE_IMAGE_PARENT_ARCHIVE_AREAS:-${LIVE_IMAGE_ARCHIVE_AREAS}}" + export LIVE_IMAGE_PARENT_ARCHIVE_AREAS + # Image: Type LIVE_IMAGE_TYPE="$(Get_configuration config/control Type)" LIVE_IMAGE_TYPE="${LIVE_IMAGE_TYPE:-iso-hybrid}" @@ -605,21 +610,6 @@ Set_defaults () ;; esac - # Setting archive areas value - case "${LB_MODE}" in - progress-linux) - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LIVE_IMAGE_ARCHIVE_AREAS}}" - ;; - - ubuntu) - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LIVE_IMAGE_ARCHIVE_AREAS}}" - ;; - - *) - LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LIVE_IMAGE_ARCHIVE_AREAS}}" - ;; - esac - ## config/chroot # Setting chroot filesystem |