summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-07-07 14:38:55 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-07-07 14:38:55 -0300
commit8031e6b47f623945b2a5808326bdf73b7b088385 (patch)
treecf10c79b15b9755e023342e1f9afce5bb4adf688
parente603bd0c69f0cb4f295824037f8b975db45917cc (diff)
downloadmeta-freescale-8031e6b47f623945b2a5808326bdf73b7b088385.tar.gz
recipes-bsp: Use install for copied files
Replace cp with install in do_install paths so installed files get explicit permissions and satisfy oelint install-task checks. Tested with: git diff --check. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
-rw-r--r--recipes-bsp/atf/qoriq-atf_2.12.bb8
-rw-r--r--recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb3
-rw-r--r--recipes-bsp/inphi/inphi_git.bb3
3 files changed, 6 insertions, 8 deletions
diff --git a/recipes-bsp/atf/qoriq-atf_2.12.bb b/recipes-bsp/atf/qoriq-atf_2.12.bb
index 4eb7be9d3..ea5b558af 100644
--- a/recipes-bsp/atf/qoriq-atf_2.12.bb
+++ b/recipes-bsp/atf/qoriq-atf_2.12.bb
@@ -168,13 +168,13 @@ do_compile() {
168 168
169do_install() { 169do_install() {
170 install -d ${D}/boot/atf/ 170 install -d ${D}/boot/atf/
171 cp srk.pri ${D}/boot/atf/ 171 install -m 0644 srk.pri ${D}/boot/atf/
172 cp srk.pub ${D}/boot/atf/ 172 install -m 0644 srk.pub ${D}/boot/atf/
173 cp *.pbl ${D}/boot/atf/ 173 install -m 0644 *.pbl ${D}/boot/atf/
174 if [ ! -e fuse_fip.bin ]; then 174 if [ ! -e fuse_fip.bin ]; then
175 rm -f fuse_scr.bin 175 rm -f fuse_scr.bin
176 fi 176 fi
177 cp *.bin ${D}/boot/atf/ 177 install -m 0644 *.bin ${D}/boot/atf/
178 chown -R root:root ${D} 178 chown -R root:root ${D}
179} 179}
180 180
diff --git a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
index 260b01001..e53372f69 100644
--- a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
+++ b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb
@@ -10,9 +10,8 @@ SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354"
10 10
11do_install() { 11do_install() {
12 install -d ${D}${sbindir}/fsl_tlu 12 install -d ${D}${sbindir}/fsl_tlu
13 find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \; 13 find . -type f -exec install -m 0644 {} ${D}${sbindir}/fsl_tlu/ \;
14} 14}
15 15
16COMPATIBLE_MACHINE = "(e500mc)" 16COMPATIBLE_MACHINE = "(e500mc)"
17PACKAGE_ARCH = "${MACHINE_SOCARCH}" 17PACKAGE_ARCH = "${MACHINE_SOCARCH}"
18
diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb
index 5c2e4197f..21aef6bac 100644
--- a/recipes-bsp/inphi/inphi_git.bb
+++ b/recipes-bsp/inphi/inphi_git.bb
@@ -9,7 +9,7 @@ SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695"
9 9
10do_install () { 10do_install () {
11 install -d ${D}/boot 11 install -d ${D}/boot
12 cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot 12 install -m 0644 ${S}/in112525-phy-ucode.txt ${D}/boot
13} 13}
14 14
15do_deploy () { 15do_deploy () {
@@ -23,4 +23,3 @@ FILES:${PN}-image += "/boot"
23 23
24COMPATIBLE_MACHINE = "(qoriq-arm64)" 24COMPATIBLE_MACHINE = "(qoriq-arm64)"
25PACKAGE_ARCH = "${MACHINE_ARCH}" 25PACKAGE_ARCH = "${MACHINE_ARCH}"
26