From c158ae2d770426a891c618ff75969e2254b02844 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 28 Nov 2017 11:00:21 +0000 Subject: [PATCH] devicetree install script should just exit on non ARM --- 10-devicetree.install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/10-devicetree.install b/10-devicetree.install index 76b7d26..33407b5 100755 --- a/10-devicetree.install +++ b/10-devicetree.install @@ -19,8 +19,8 @@ KERNEL_VERSION="$2" # device progresses, it should never make backward incompatible changes. # So it should always be safe to use a newer dtb with an older kernel. -if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then - +if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]] +then list_dtb_versions() { excluded_version="$1" for dtbdir in /boot/dtb-*; do @@ -51,4 +51,7 @@ if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then ;; esac exit $ret +else + # Just exit on non ARM + exit 0 fi