Bugfix: we don't need to check distribution status when compiling kernel

@Miouyouyou
This commit is contained in:
Igor Pecovnik 2020-12-14 23:18:37 +01:00
parent 0ebb91f346
commit 2f92c4f06d

View file

@ -303,14 +303,14 @@ if [[ $KERNEL_ONLY != yes && -z $RELEASE ]]; then
unset options
fi
# read distribution support status which is written to the armbian-release file
set_distribution_status
# don't show desktop option if we choose minimal build
[[ $BUILD_MINIMAL == yes ]] && BUILD_DESKTOP=no
if [[ $KERNEL_ONLY != yes && -z $BUILD_DESKTOP ]]; then
# read distribution support status which is written to the armbian-release file
set_distribution_status
options=()
options+=("no" "Image with console interface (server)")
options+=("yes" "Image with desktop environment")