Prevent Bionic builds with outdated kernels

https://forum.armbian.com/topic/6420-preparing-for-ubuntu-1804/?do=findComment&comment=49148
This commit is contained in:
Thomas Kaiser 2018-02-12 13:20:58 +01:00 committed by GitHub
parent ddccaaf023
commit 7fccf5dfa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ if [[ -f $SRC/userpatches/sources/$LINUXFAMILY.conf ]]; then
fi
[[ $RELEASE == stretch && $CAN_BUILD_STRETCH != yes ]] && exit_with_error "Building Debian Stretch images with selected kernel is not supported"
[[ $RELEASE == bionic && $CAN_BUILD_STRETCH != yes ]] && exit_with_error "Building Ubuntu Bionic images with selected kernel is not supported"
[[ -n $ATFSOURCE && -z $ATF_USE_GCC ]] && exit_with_error "Error in configuration: ATF_USE_GCC is unset"
[[ -z $UBOOT_USE_GCC ]] && exit_with_error "Error in configuration: UBOOT_USE_GCC is unset"