summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh20
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