summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mt-dt-overlay
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-09-25 16:50:34 -0500
committerJohn Klug <john.klug@multitech.com>2020-09-25 16:50:34 -0500
commit7555414f42a6edb0655a3b3934d08710e164d993 (patch)
tree56415f169e50894668c066f3facf575953dc2b84 /recipes-bsp/multitech/mt-dt-overlay
parent229545bfe30dde684ed9ccef884c25ec1f11e24b (diff)
downloadmeta-multitech-7555414f42a6edb0655a3b3934d08710e164d993.tar.gz
meta-multitech-7555414f42a6edb0655a3b3934d08710e164d993.tar.bz2
meta-multitech-7555414f42a6edb0655a3b3934d08710e164d993.zip
Need to quit if not overlay is found
Diffstat (limited to 'recipes-bsp/multitech/mt-dt-overlay')
-rwxr-xr-xrecipes-bsp/multitech/mt-dt-overlay/init4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mt-dt-overlay/init b/recipes-bsp/multitech/mt-dt-overlay/init
index 748a470..5114e4e 100755
--- a/recipes-bsp/multitech/mt-dt-overlay/init
+++ b/recipes-bsp/multitech/mt-dt-overlay/init
@@ -55,6 +55,10 @@ setdevtree() {
best="$d"
fi
done
+ if [[ $best == -1 ]] ; then
+ # No overlay found
+ exit 0
+ fi
cd $best
install_dtbo_dir
if [[ -d capability ]] ; then