summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/config24
1 files changed, 9 insertions, 15 deletions
diff --git a/scripts/build/config b/scripts/build/config
index c5de3fc2b..7fb50542a 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -1379,21 +1379,6 @@ Echo_warning "WARNING: THIS VERSION OF LIVE-BUILD IS EXPERIMENTAL!"
Echo_warning "IT IS UNFINISHED AND CHANGES HEAVILY WITHOUT PRIOR NOTICE."
Echo_warning "USER DISCRETION IS ADVISED."
-if [ ! -e config/image ]
-then
- _NEW_CONFIG="true"
-fi
-
-# config/image
-Set_configuration "config/image" "Configuration-Version" "${LIVE_CONFIGURATION_VERSION}"
-[ "${_NEW_CONFIG}" = "true" ] && echo "" >> config/image
-Set_configuration "config/image" "Name" "${LIVE_IMAGE_NAME}"
-Set_configuration "config/image" "Architecture" "${LIVE_IMAGE_ARCHITECTURE}"
-Set_configuration "config/image" "Archive-Areas" "${LIVE_IMAGE_ARCHIVE_AREAS}"
-[ "${LB_DERIVATIVE}" = "true" ] && Set_configuration "config/image" "Parent-Archive-Areas" "${LIVE_IMAGE_PARENT_ARCHIVE_AREAS}" # FIXME
-Set_configuration "config/image" "Type" "${LIVE_IMAGE_TYPE}"
-
-# config/build
cat > config/build << EOF
[Image]
Architecture: ${LIVE_IMAGE_ARCHITECTURE}
@@ -1406,6 +1391,7 @@ if [ "${LB_DERIVATIVE}" = "true" ]
then
cat >> config/build << EOF
+
Parent-Archive-Areas: ${LIVE_IMAGE_ARCHIVE_AREAS}
Parent-Distribution: ${LB_DISTRIBUTION}
Parent-Mirror-Bootstrap: ${LB_PARENT_MIRROR_BOOTSTRAP}
@@ -1413,5 +1399,13 @@ EOF
fi
+cat >> config/build << EOF
+
+[FIXME]
+Configuration-Version: ${LIVE_CONFIGURATION_VERSION}
+Name: ${LIVE_IMAGE_NAME}
+Type: ${LIVE_IMAGE_TYPE}
+EOF
+
# Creating stage file
Create_stagefile .build/config