diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-04-06 10:20:58 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:07 +0200 |
commit | 680109fdadee51be660a1b582ef18b935dcbd075 (patch) | |
tree | 87f8ccf6a4f8e648cd9fa03e5809c80dcca5cfec /scripts/build | |
parent | b2cb25942d9a1ae03d70e3734d845cd9b7c600a9 (diff) | |
download | vyos-live-build-680109fdadee51be660a1b582ef18b935dcbd075.tar.gz vyos-live-build-680109fdadee51be660a1b582ef18b935dcbd075.zip |
Temporary hack for lb config to produce config/build until stuff is cleaned up properly.
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/config | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/build/config b/scripts/build/config index 6d3e4dbd4..c5de3fc2b 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -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 |