Temporary hack for lb config to produce config/build until stuff is cleaned up properly.

This commit is contained in:
Daniel Baumann 2013-04-06 10:20:58 +02:00
parent b2cb25942d
commit 680109fdad
1 changed files with 20 additions and 0 deletions

View File

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