aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-09 23:01:50 -0700
committerKhem Raj <raj.khem@gmail.com>2020-09-10 01:22:17 -0700
commitde6d5005bf1e2e0d55f141a0b1b8ec40542c5184 (patch)
tree7d12f72f354311d28e4a48b7d20259ad37d895ad
parentcbefe8db89b746e0655457b37c18ff8ef58db532 (diff)
downloadmeta-qcom-de6d5005bf1e2e0d55f141a0b1b8ec40542c5184.tar.gz
meta-qcom-de6d5005bf1e2e0d55f141a0b1b8ec40542c5184.tar.bz2
meta-qcom-de6d5005bf1e2e0d55f141a0b1b8ec40542c5184.zip
firmware-qcom-sd-600eval: Replace cp -a with proper options
Fixes errors like firmware-qcom-sd-600eval: /lib/firmware/a225_pfp.fw is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-bsp/firmware/firmware-qcom-sd-600eval_1.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/firmware/firmware-qcom-sd-600eval_1.0.bb b/recipes-bsp/firmware/firmware-qcom-sd-600eval_1.0.bb
index 9d6e81e..89e9411 100644
--- a/recipes-bsp/firmware/firmware-qcom-sd-600eval_1.0.bb
+++ b/recipes-bsp/firmware/firmware-qcom-sd-600eval_1.0.bb
@@ -17,7 +17,7 @@ do_compile() {
do_install() {
install -d ${D}${nonarch_base_libdir}/firmware/
- cp -a * ${D}${nonarch_base_libdir}/firmware/
+ cp -R --no-dereference --preserve=mode,links * ${D}${nonarch_base_libdir}/firmware/
install -d ${D}${sysconfdir}/
install -m 0644 license.txt ${D}${sysconfdir}/