From: Patrick Vacek <patrickvacek@gmail.com>
Date: Mon, 30 Mar 2020 11:36:45 +0000 (+0200)
Subject: agl-sota: Extend 50_setup.sh for Raspberry Pi.
X-Git-Tag: 9.0.1~3
X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F24287%2F1;p=AGL%2Fmeta-agl.git

agl-sota: Extend 50_setup.sh for Raspberry Pi.

Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Change-Id: Ifdb2281a9740f9c362aef9ab585959679050826d
---

diff --git a/templates/feature/agl-sota/50_setup.sh b/templates/feature/agl-sota/50_setup.sh
index c5aeb532d..f209b9442 100644
--- a/templates/feature/agl-sota/50_setup.sh
+++ b/templates/feature/agl-sota/50_setup.sh
@@ -10,6 +10,8 @@ EOF
 case ${MACHINE} in
 	"qemux86-64")
 	  echo "BBLAYERS =+ \"\${METADIR}/external/meta-updater-qemux86-64\"" >> ${BUILDDIR}/conf/bblayers.conf;;
+	"raspberrypi3" | "raspberrypi4")
+	  echo "BBLAYERS =+ \"\${METADIR}/external/meta-updater-raspberrypi\"" >> ${BUILDDIR}/conf/bblayers.conf;;
 	*)
 	  echo "#No extra SOTA feature layer for MACHINE ${MACHINE}" >> ${BUILDDIR}/conf/bblayers.conf;;
 esac