summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/config17
1 files changed, 9 insertions, 8 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 0da7954ad..60396253c 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -1379,18 +1379,19 @@ 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/control ]
+if [ ! -e config/image ]
then
_NEW_CONFIG="true"
fi
-Set_configuration "config/control" "Configuration-Version" "${LIVE_CONFIGURATION_VERSION}"
-[ "${_NEW_CONFIG}" = "true" ] && echo "" >> config/control
-Set_configuration "config/control" "Name" "${LIVE_IMAGE_NAME}"
-Set_configuration "config/control" "Architecture" "${LIVE_IMAGE_ARCHITECTURE}"
-Set_configuration "config/control" "Archive-Areas" "${LIVE_IMAGE_ARCHIVE_AREAS}"
-[ "${LB_DERIVATIVE}" = "true" ] && Set_configuration "config/control" "Parent-Archive-Areas" "${LIVE_IMAGE_PARENT_ARCHIVE_AREAS}" # FIXME
-Set_configuration "config/control" "Type" "${LIVE_IMAGE_TYPE}"
+# 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}"
# Creating stage file
Create_stagefile .build/config