summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/config20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 6d3e4dbd4..c5de3fc2b 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -1393,5 +1393,25 @@ 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}
+Archive-Areas: ${LIVE_IMAGE_ARCHIVE_AREAS}
+Distribution: ${LB_DISTRIBUTION}
+Mirror-Bootstrap: ${LB_MIRROR_BOOTSTRAP}
+EOF
+
+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}
+EOF
+
+fi
+
# Creating stage file
Create_stagefile .build/config