diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2014-04-25 21:05:37 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2014-04-25 21:05:37 +0200 |
commit | d86fb1aeb4cb09a39f518cae3073c5ea509802ee (patch) | |
tree | 1c72b5af47d16c43eb457be908c5fbb69145292e /scripts/build/config | |
parent | cce1e47ce8d4b50f5f9384f4aa499c1dfe992837 (diff) | |
download | vyos-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/build/config')
-rwxr-xr-x | scripts/build/config | 3 |
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 |