diff options
author | Daniel Baumann <daniel@debian.org> | 2011-03-24 20:25:34 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-24 20:25:34 +0100 |
commit | ef1a33bc142e6bda2a4750b40fe748553de4faf7 (patch) | |
tree | 0a5e79b3f498595e6c1ae1f6bac1228768e2000e /functions | |
parent | 82918368123a3d49af08bec23d2adc2363748cf7 (diff) | |
download | vyos-live-build-ef1a33bc142e6bda2a4750b40fe748553de4faf7.tar.gz vyos-live-build-ef1a33bc142e6bda2a4750b40fe748553de4faf7.zip |
Adding parent-archive-areas.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 0f17e053b..4a49b4838 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -535,12 +535,19 @@ Set_defaults () # Setting archive areas value case "${LB_MODE}" in + progress) + LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-main}" + LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}" + ;; + ubuntu) - LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main restricted}" + LB_PARENT_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main restricted}" + LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-${LB_PARENT_ARCHIVE_AREAS}}" ;; *) - LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}" + LB_PARENT_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}" + LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-${LB_PARENT_ARCHIVE_AREAS}}" ;; esac |