From 285b6ed834f37185e05785984f9d277837823444 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sat, 31 Jan 2009 17:05:41 +0100
Subject: Adding autoconfig support to lh_build as well.

---
 helpers/lh_build | 11 +++++++++++
 1 file changed, 11 insertions(+)

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=""
-- 
cgit v1.0