From 7d7daa739080d04f4ea70cafc6709f35729a533a Mon Sep 17 00:00:00 2001 From: Karabek Date: Wed, 4 Dec 2019 15:41:33 +0100 Subject: [PATCH] armbian-add-overlay: fixed for non-dev-branches Current version only allows user-added overlays for 'dev' kernels. Excluding 'legacy' kernels should not be necessary anymore since <4 kernels are not supported anymore. --- packages/bsp/common/usr/sbin/armbian-add-overlay | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/bsp/common/usr/sbin/armbian-add-overlay b/packages/bsp/common/usr/sbin/armbian-add-overlay index 9856ef01d..dfac4c15f 100755 --- a/packages/bsp/common/usr/sbin/armbian-add-overlay +++ b/packages/bsp/common/usr/sbin/armbian-add-overlay @@ -40,11 +40,6 @@ if [[ $LINUXFAMILY != sunxi && $LINUXFAMILY != sunxi64 ]]; then exit -1 fi -if [[ $BRANCH != next && $BRANCH != dev ]]; then - echo >&2 "Overlays are supported only on mainline kernel based images" - exit -1 -fi - if [[ -d /lib/modules/$(uname -r)/build/scripts/dtc ]]; then if [[ ! -x /lib/modules/$(uname -r)/build/scripts/dtc/dtc ]]; then # Can't use distribution provided (i.e. Bionic) dtc yet