Merge pull request #1659 from karabek/master
armbian-add-overlay: fixed for non-dev-branches
This commit is contained in:
commit
ee6ce56ca7
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user