diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-10-17 09:38:54 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-10-17 09:38:54 +0200 |
commit | ac880ca14570c93aaea1bc35dfc293ba8046ad27 (patch) | |
tree | 0c504e99c6f5a0430aba0c0ad783e6fed48e40f9 /scripts | |
parent | cfdd08c6e178a451cc386c7b6c7e089ca746d7c3 (diff) | |
download | vyos-live-build-ac880ca14570c93aaea1bc35dfc293ba8046ad27.tar.gz vyos-live-build-ac880ca14570c93aaea1bc35dfc293ba8046ad27.zip |
Making warning about alpha version of live-build in lb_config conditional on the internal version.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/config | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/build/config b/scripts/build/config index 2a4abfca6..f6973301e 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -1364,10 +1364,13 @@ then rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true fi -# New style configuration -Echo_warning "WARNING: THIS VERSION OF LIVE-BUILD IS EXPERIMENTAL!" -Echo_warning "IT IS UNFINISHED AND CHANGES HEAVILY WITHOUT PRIOR NOTICE." -Echo_warning "USER DISCRETION IS ADVISED." +if echo "${VERSION}" | grep -qs "alpha" +then + # live-build alpha version + Echo_warning "WARNING: THIS VERSION OF LIVE-BUILD IS EXPERIMENTAL!" + Echo_warning "IT IS UNFINISHED AND CHANGES HEAVILY WITHOUT PRIOR NOTICE." + Echo_warning "USER DISCRETION IS ADVISED." +fi cat > config/build << EOF [Image] |