summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-04-25 21:05:37 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-04-25 21:05:37 +0200
commitd86fb1aeb4cb09a39f518cae3073c5ea509802ee (patch)
tree1c72b5af47d16c43eb457be908c5fbb69145292e /scripts
parentcce1e47ce8d4b50f5f9384f4aa499c1dfe992837 (diff)
downloadvyos-live-build-d86fb1aeb4cb09a39f518cae3073c5ea509802ee.tar.gz
vyos-live-build-d86fb1aeb4cb09a39f518cae3073c5ea509802ee.zip
Failing in lb config when config wasn't initialized first with lb init (Closes: #744365).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/config3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config
index 5261c65a8..e3ae1410d 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -883,7 +883,8 @@ Check_defaults
if [ ! -e config ]
then
- Echo_message "Creating config tree for a ${LB_MODE}/${LB_DISTRIBUTION}/${LIVE_IMAGE_ARCHITECTURE} system"
+ Echo_error "fatal: Not a live-build directory: use 'lb init' to initialize it"
+ exit 1
else
Echo_message "Updating config tree for a ${LB_MODE}/${LB_DISTRIBUTION}/${LIVE_IMAGE_ARCHITECTURE} system"
fi