summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-10-17 09:38:54 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-10-17 09:38:54 +0200
commitac880ca14570c93aaea1bc35dfc293ba8046ad27 (patch)
tree0c504e99c6f5a0430aba0c0ad783e6fed48e40f9 /scripts
parentcfdd08c6e178a451cc386c7b6c7e089ca746d7c3 (diff)
downloadvyos-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-xscripts/build/config11
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]