summaryrefslogtreecommitdiff
path: root/helpers/lh_build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-01-31 17:05:41 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:41 +0100
commit285b6ed834f37185e05785984f9d277837823444 (patch)
tree002eb61005cb2306baf82b81b346129591770111 /helpers/lh_build
parent695cdf15306327c9c78f2b4c25995485f64c95c6 (diff)
downloadvyos-live-build-285b6ed834f37185e05785984f9d277837823444.tar.gz
vyos-live-build-285b6ed834f37185e05785984f9d277837823444.zip
Adding autoconfig support to lh_build as well.
Diffstat (limited to 'helpers/lh_build')
-rwxr-xr-xhelpers/lh_build11
1 files changed, 11 insertions, 0 deletions
diff --git a/helpers/lh_build b/helpers/lh_build
index b38c0b67c..d3e7d630c 100755
--- a/helpers/lh_build
+++ b/helpers/lh_build
@@ -12,6 +12,17 @@ set -e
# Including common functions
. "${LH_BASE:-/usr/share/live-helper}"/functions.sh
+# Read meta config
+if [ "${1}" != "noautoconfig" ] && [ -x scripts/build ]
+then
+ ./scripts/build ${@}
+fi
+
+if [ "${1}" = "noautoconfig" ]
+then
+ shift
+fi
+
# Setting static variables
DESCRIPTION="$(Echo 'build a Debian Live system')"
HELP=""