[oe] [meta-oe][PATCH 3/4 v2] orrery: fix host-user-contaminated
Yi Zhao
yi.zhao at windriver.com
Fri Jan 15 09:23:53 UTC 2016
Fix QA warning:
WARNING: QA Issue: orrery: /orrery/usr/share/orrery/deepSky/messier is owned by uid 1000,
which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
meta-oe/recipes-navigation/orrery/orrery_2.7.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
index b3372b1..4785f69 100644
--- a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
+++ b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb
@@ -21,9 +21,10 @@ do_configure_prepend() {
# fix DSO issue with binutils-2.22
sed -i 's/ -lrt/ -lrt -lm/g' ${S}/Makefile.am
}
+
do_install_append() {
install -d ${D}${datadir}/orrery
- cp -a ${S}/data/* ${D}${datadir}/orrery
+ cp -R --no-dereference --preserve=mode,links ${S}/data/* ${D}${datadir}/orrery
install -d ${D}${datadir}/icons
install -m 0755 ${WORKDIR}/orrery.png ${D}${datadir}/icons
}
--
1.7.9.5
More information about the Openembedded-devel
mailing list