From 4e283bbd7a00eabc29cf1e3ae0c65e940d617f4b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Dec 2012 21:50:37 +0100 Subject: Only writing out Parent-Archive-Areas field into configuration when building a derivative. --- scripts/build/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3