Only writing out Parent-Archive-Areas field into configuration when building a derivative.

This commit is contained in:
Daniel Baumann 2012-12-19 21:50:37 +01:00 committed by Daniel Baumann
parent 5123ca4547
commit 2d487b5519
1 changed files with 1 additions and 1 deletions

View File

@ -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