summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/lb_binary7
-rwxr-xr-xscripts/build/lb_bootstrap7
-rwxr-xr-xscripts/build/lb_chroot7
-rwxr-xr-xscripts/build/lb_source7
4 files changed, 28 insertions, 0 deletions
diff --git a/scripts/build/lb_binary b/scripts/build/lb_binary
index d9cd28c..8598e3e 100755
--- a/scripts/build/lb_binary
+++ b/scripts/build/lb_binary
@@ -13,6 +13,13 @@ set -e
# Including common functions
. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh
+# Automatically populating config tree
+if [ -x auto/config ] && [ ! -e .stage/config ]
+then
+ Echo_message "Automatically populating config tree."
+ lb config
+fi
+
# Setting static variables
DESCRIPTION="$(Echo 'build binary images')"
HELP=""
diff --git a/scripts/build/lb_bootstrap b/scripts/build/lb_bootstrap
index 0bd2585..3239600 100755
--- a/scripts/build/lb_bootstrap
+++ b/scripts/build/lb_bootstrap
@@ -13,6 +13,13 @@ set -e
# Including common functions
. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh
+# Automatically populating config tree
+if [ -x auto/config ] && [ ! -e .stage/config ]
+then
+ Echo_message "Automatically populating config tree."
+ lb config
+fi
+
# Setting static variables
DESCRIPTION="$(Echo 'bootstrap a Debian system')"
HELP=""
diff --git a/scripts/build/lb_chroot b/scripts/build/lb_chroot
index b5baef4..09e1875 100755
--- a/scripts/build/lb_chroot
+++ b/scripts/build/lb_chroot
@@ -13,6 +13,13 @@ set -e
# Including common functions
. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh
+# Automatically populating config tree
+if [ -x auto/config ] && [ ! -e .stage/config ]
+then
+ Echo_message "Automatically populating config tree."
+ lb config
+fi
+
# Setting static variables
DESCRIPTION="$(Echo 'customize the Debian system')"
HELP=""
diff --git a/scripts/build/lb_source b/scripts/build/lb_source
index 00d2ce7..e790223 100755
--- a/scripts/build/lb_source
+++ b/scripts/build/lb_source
@@ -13,6 +13,13 @@ set -e
# Including common functions
. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh
+# Automatically populating config tree
+if [ -x auto/config ] && [ ! -e .stage/config ]
+then
+ Echo_message "Automatically populating config tree."
+ lb config
+fi
+
# Setting static variables
DESCRIPTION="$(Echo 'build source images')"
HELP=""