Skip to contentSkip to conversation

arm-ddr-bandwidth: Fix installation location

PATCH Superseded 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 9155e0bb..bf08c320 100644
@@ -17,8 +17,13 @@ UNPACKDIR = "${S}"
 
 do_install() {
     install -d ${D}${datadir}/matrix-gui-2.0/apps
-    install -m 0755 ${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