summaryrefslogtreecommitdiff
path: root/scripts/build/config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 10:52:13 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commitf5acab633c5a8425987e472a40a113715891b301 (patch)
tree1ba0d14a503182449514be729338d4bbf9b675fb /scripts/build/config
parentc73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e (diff)
downloadvyos-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-xscripts/build/config9
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