diff mbox series

[meta-arago,master] arm-ddr-bandwidth: Fix installtion location

Message ID 20240607020109.3174-1-reatmon@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master] arm-ddr-bandwidth: Fix installtion location | expand

Commit Message

Ryan Eatmon June 7, 2024, 2:01 a.m. UTC
The script was installed in the wrong directory, but the
/usr/share/matrix-gui-2.0/apps needs to also exist.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../arm-ddr-bandwidth/arm-ddr-bandwidth.bb               | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Comments

Chirag Shilwant June 7, 2024, 7:35 a.m. UTC | #1
In Subject,

s/installtion/installation
On 07/06/24 07:31, Ryan Eatmon via lists.yoctoproject.org wrote:
> The script was installed in the wrong directory, but the 
> /usr/share/matrix-gui-2. 0/apps needs to also exist. Signed-off-by: 
> Ryan Eatmon <reatmon@ ti. com> --- 
> .. . /arm-ddr-bandwidth/arm-ddr-bandwidth. bb | 9 +++++++-- 1 file 
> changed, 7 insertions(+),
> ZjQcmQRYFpfptBannerStart
> This message was sent from outside of Texas Instruments.
> Do not click links or open attachments unless you recognize the source 
> of this email and know the content is safe. If you wish to report this 
> message to IT Security, please forward the message as an attachment to 
> phishing@list.ti.com
> ZjQcmQRYFpfptBannerEnd
> The script was installed in the wrong directory, but the
> /usr/share/matrix-gui-2.0/apps needs to also exist.
>
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>   .../arm-ddr-bandwidth/arm-ddr-bandwidth.bb               | 9 +++++++--
>   1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb b/meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb
> index 9155e0bb..7b77216f 100644
> --- a/meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb
> +++ b/meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb
> @@ -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 0644 ${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 \
> +"
>   
> -- 
> 2.17.1
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#15374):https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/message/15374__;!!G3vK!UFcsQhztly0UgSXzKHaqQekOM1Y8vIeHjOxklsKzmRk0kxH2v0zD7KWR1vkk36_onpx8MyvwU1k12lduQ6yaexAqAWSL6wODXQ$
> Mute This Topic:https://urldefense.com/v3/__https://lists.yoctoproject.org/mt/106536244/7030289__;!!G3vK!UFcsQhztly0UgSXzKHaqQekOM1Y8vIeHjOxklsKzmRk0kxH2v0zD7KWR1vkk36_onpx8MyvwU1k12lduQ6yaexAqAWSqi9aioA$
> Group Owner: meta-arago+owner@lists.yoctoproject.org
> Unsubscribe:https://urldefense.com/v3/__https://lists.yoctoproject.org/g/meta-arago/unsub__;!!G3vK!UFcsQhztly0UgSXzKHaqQekOM1Y8vIeHjOxklsKzmRk0kxH2v0zD7KWR1vkk36_onpx8MyvwU1k12lduQ6yaexAqAWTm4yZvYg$  [c-shilwant@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb b/meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb
index 9155e0bb..7b77216f 100644
--- a/meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb
+++ b/meta-arago-test/recipes-benchmark/arm-ddr-bandwidth/arm-ddr-bandwidth.bb
@@ -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 0644 ${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 \
+"