Skip to contentSkip to conversation

arm-ddr-bandwidth: Fix installation location

PATCH New Ryan Eatmon 1 participant 1 message Jun 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm-ddr-bandwidth: Fix installation location

The script was installed in the wrong directory, but the /usr/share/matrix-gui-2.0/apps needs to also exist.

---
v2: Fix commit message and fix install permissions on script.

 .../arm-ddr-bandwidth/arm-ddr-bandwidth.bb               | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb +7 -2
index 78f80b55..d88b3e6f 100644
@@ -16,8 +16,13 @@ S = "${WORKDIR}"
 
 do_install() {
     install -d ${D}${datadir}/matrix-gui-2.0/apps
-    install -m 0644 ${S}/runLmDDRBandwidth.sh ${D}${datadir}/matrix-gui-2.0/apps/runLmDDRBandwidth.sh
+
+    install -d ${D}${bindir}
+    install -m 0755 ${S}/runLmDDRBandwidth.sh ${D}${bindir}/runLmDDRBandwidth.sh
 }
 
-FILES:${PN} = "${datadir}/matrix-gui-2.0/apps/runLmDDRBandwidth.sh"
+FILES:${PN} = " \
+    ${datadir}/matrix-gui-2.0/apps \
+    ${bindir}/runLmDDRBandwidth.sh \
+"
 
Signature · 1 line
2.17.1