summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-03-24 20:25:34 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-24 20:25:34 +0100
commitef1a33bc142e6bda2a4750b40fe748553de4faf7 (patch)
tree0a5e79b3f498595e6c1ae1f6bac1228768e2000e /functions
parent82918368123a3d49af08bec23d2adc2363748cf7 (diff)
downloadvyos-live-build-ef1a33bc142e6bda2a4750b40fe748553de4faf7.tar.gz
vyos-live-build-ef1a33bc142e6bda2a4750b40fe748553de4faf7.zip
Adding parent-archive-areas.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh11
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