summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-04-06 10:46:04 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:07 +0200
commit8f293ccd9c3992dc962c440c028d905fdc9939e9 (patch)
tree08cf6fb42f0565555547715fc3b886d7af56b03b /scripts/build
parent06dac65ee377e081a4285590952fb8e13674f5b8 (diff)
downloadvyos-live-build-8f293ccd9c3992dc962c440c028d905fdc9939e9.tar.gz
vyos-live-build-8f293ccd9c3992dc962c440c028d905fdc9939e9.zip
Dropping now unused intermediate config/image.
Diffstat (limited to 'scripts/build')
-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