diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-19 10:52:13 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:03 +0200 |
commit | f5acab633c5a8425987e472a40a113715891b301 (patch) | |
tree | 1ba0d14a503182449514be729338d4bbf9b675fb /scripts/build/config | |
parent | c73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e (diff) | |
download | vyos-live-build-f5acab633c5a8425987e472a40a113715891b301.tar.gz vyos-live-build-f5acab633c5a8425987e472a40a113715891b301.zip |
Moving off binary image type into new config tree format.
Diffstat (limited to 'scripts/build/config')
-rwxr-xr-x | scripts/build/config | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/build/config b/scripts/build/config index e5562db46..17106e487 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -562,7 +562,7 @@ Local_arguments () ;; -b|--binary-images) - LB_BINARY_IMAGES="${2}" + LIVE_IMAGE_TYPE="${2}" shift 2 ;; @@ -1302,10 +1302,6 @@ cat > config/binary << EOF # (Default: ${LB_BINARY_FILESYSTEM}) LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM}" -# \$LB_BINARY_IMAGES: set image type -# (Default: ${LB_BINARY_IMAGES}) -LB_BINARY_IMAGES="${LB_BINARY_IMAGES}" - # \$LB_APT_INDICES: set apt/aptitude generic indices # (Default: ${LB_APT_INDICES}) LB_APT_INDICES="${LB_APT_INDICES}" @@ -1491,6 +1487,9 @@ fi # New style configuration Set_configuration "config/control" "Configuration-Version" "${LIVE_CONFIGURATION_VERSION}" +echo "" >> config/control +Set_configuration "config/control" "Image" "binary" +Set_configuration "config/control" "Type" "${LIVE_IMAGE_TYPE}" # Creating stage file Create_stagefile .build/config |