From c0d2b4ef055b16689a732a16b467ef5f6786a5a0 Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Thu, 7 Aug 2008 20:04:47 +0100
Subject: Call "Check_defaults" in lh_build.

This ensures that incompatible configurations that are created by editing
files in config/ are detected when building the image via lh_build.

This also has the side-effect of ensuring that configuration warnings (if
any) appear for live-magic.
---
 helpers/lh_build | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/helpers/lh_build b/helpers/lh_build
index 8d38890..bb07c83 100755
--- a/helpers/lh_build
+++ b/helpers/lh_build
@@ -41,6 +41,13 @@ then
 	exit 1
 fi
 
+# Reading configuration files
+Read_conffile config/all config/common config/bootstrap config/chroot config/binary config/source
+Set_defaults
+
+# Checking defaults
+Check_defaults
+
 # Bootstrapping system
 lh_bootstrap ${*}
 
-- 
cgit v1.0