summaryrefslogtreecommitdiff
path: root/scripts/iot-hal-backend.post
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2021-08-03 08:54:37 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2021-08-03 08:54:37 +0900
commit4162b9889a12f334a89c9c7f1169d6791ae4dd76 (patch)
treedd6722732c80857e8c12ace083ed5e5367d3bf87 /scripts/iot-hal-backend.post
parent068792edf1fa635046520bf8b27a89cb03004448 (diff)
downloadmeta-4162b9889a12f334a89c9c7f1169d6791ae4dd76.tar.gz
meta-4162b9889a12f334a89c9c7f1169d6791ae4dd76.tar.bz2
meta-4162b9889a12f334a89c9c7f1169d6791ae4dd76.zip
To Distinguish correct board between rpi3 and rpi4, added iot-hal-backend-rpi4 pattern. Change-Id: I754d64f0f37805fbf780b7dd670fb9d5176b732a Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'scripts/iot-hal-backend.post')
-rw-r--r--scripts/iot-hal-backend.post5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/iot-hal-backend.post b/scripts/iot-hal-backend.post
index 79fca64..063b017 100644
--- a/scripts/iot-hal-backend.post
+++ b/scripts/iot-hal-backend.post
@@ -86,7 +86,7 @@ create_backend_dependency_file() {
}
#Supported Target's list
-TARGET=("RPI3" "ARTIK530" "VIM3" "C4");
+TARGET=("RPI3" "RPI4" "ARTIK530" "VIM3" "C4");
PKGGROUP=`/usr/bin/rpm -qa | /bin/grep package-groups`
if [ $PKGGROUP ]; then
@@ -102,6 +102,9 @@ if [ $PKGGROUP ]; then
RPI3)
BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend RPI3"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
;;
+ RPI4)
+ BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend RPI4"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
+ ;;
ARTIK530)
BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend ARTIK530"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
;;