summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 21:50:37 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commit2d487b551958ede67c5d294cfb49647f55dd31ca (patch)
treedd8cea7ef26a217432f9a32b59678193f9d00186 /scripts
parent5123ca45477c8297dac700d16fff8c67f01bf791 (diff)
downloadvyos-live-build-2d487b551958ede67c5d294cfb49647f55dd31ca.tar.gz
vyos-live-build-2d487b551958ede67c5d294cfb49647f55dd31ca.zip
Only writing out Parent-Archive-Areas field into configuration when building a derivative.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config
index c4fd34649..796e372e7 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -1489,7 +1489,7 @@ 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}"
-Set_configuration "config/control" "Parent-Archive-Areas" "${LIVE_IMAGE_PARENT_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}"
# Creating stage file