Skip to content
Permalink
Browse files
Add Bionic host/target requirement check
  • Loading branch information
zador-blood-stained committed Apr 29, 2018
1 parent 91852b6 commit 8028936cc726442d4a24b3ff6564f86b7b053ebd
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/configuration.sh
@@ -76,6 +76,7 @@ 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"
[[ $RELEASE == bionic && $(lsb_release -sc) == xenial ]] && exit_with_error "Building Ubuntu Bionic images requires a Bionic build host. Please upgrade your host or select a different target OS"

[[ -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"

0 comments on commit 8028936

Please sign in to comment.