summaryrefslogtreecommitdiff
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
parent695cdf15306327c9c78f2b4c25995485f64c95c6 (diff)
downloadlive-build-285b6ed834f37185e05785984f9d277837823444.zip
live-build-285b6ed834f37185e05785984f9d277837823444.tar.gz
Adding autoconfig support to lh_build as well.
-rwxr-xr-xhelpers/lh_build11
1 files changed, 11 insertions, 0 deletions
diff --git a/helpers/lh_build b/helpers/lh_build
index b38c0b6..d3e7d63 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=""