summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-07 20:04:47 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-08-07 20:10:48 +0100
commit2fc9cca9e8d74d1b04be47fc3b11cf6c23fef526 (patch)
treeb22a0c02ef73019c989c132a9c03451ac1e62818 /helpers
parent77498d336afe160783f5e54d8ee543af479ede8b (diff)
downloadvyos-live-build-2fc9cca9e8d74d1b04be47fc3b11cf6c23fef526.tar.gz
vyos-live-build-2fc9cca9e8d74d1b04be47fc3b11cf6c23fef526.zip
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. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_build7
1 files changed, 7 insertions, 0 deletions
diff --git a/helpers/lh_build b/helpers/lh_build
index 8d3889064..bb07c835a 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 ${*}