Enable initial Bionic host support

This commit is contained in:
zador-blood-stained
2018-04-29 15:32:18 +03:00
parent 7179692dca
commit 91852b6910

View File

@@ -522,11 +522,13 @@ prepare_host()
local codename=$(lsb_release -sc)
display_alert "Build host OS release" "${codename:-(unknown)}" "info"
# Ubuntu Xenial x86_64 is the only supported host OS release
# Ubuntu Xenial x86_64 is the only fully supported host OS release
# Ubuntu Bionic x86_64 support is WIP, especially for building full images and additional packages
# Using Docker/VirtualBox/Vagrant is the only supported way to run the build script on other Linux distributions
#
# NO_HOST_RELEASE_CHECK overrides the check for a supported host system
# Disable host OS check at your own risk, any issues reported with unsupported releases will be closed without a discussion
if [[ -z $codename || "xenial" != *"$codename"* ]]; then
if [[ -z $codename || "xenial bionic" != *"$codename"* ]]; then
if [[ $NO_HOST_RELEASE_CHECK == yes ]]; then
display_alert "You are running on an unsupported system" "${codename:-(unknown)}" "wrn"
display_alert "Do not report any errors, warnings or other issues encountered beyond this point" "" "wrn"