summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 09:49:06 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commitc73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e (patch)
tree7b0a5f2208056d319688540b0e1eaf346f85f0cd /scripts
parenta595e9c1bc870897c98ed95a7659db3c87966eea (diff)
downloadvyos-live-build-c73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e.tar.gz
vyos-live-build-c73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e.zip
Moving configuration version off as the first option into new config tree format.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 4edb7cd86..e5562db46 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -969,9 +969,6 @@ mkdir -p config/includes
cat > config/common << EOF
# config/common - common options for live-build(7)
-# LB_CONFIG_VERSION: internal version of the configuration file format
-LB_CONFIG_VERSION="${CONFIG_VERSION}"
-
# \$LB_APT: set package manager
# (Default: ${LB_APT})
LB_APT="${LB_APT}"
@@ -1492,5 +1489,8 @@ then
rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true
fi
+# New style configuration
+Set_configuration "config/control" "Configuration-Version" "${LIVE_CONFIGURATION_VERSION}"
+
# Creating stage file
Create_stagefile .build/config