[meta-ti] [PATCH] beaglebone-getting-started: Use cp options to not alter file mode
Khem Raj
raj.khem at gmail.com
Fri Oct 12 12:50:00 PDT 2018
Fixes do_package_qa warnings
<FILE> 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 at gmail.com>
---
recipes-ti/beagleboard/beaglebone-getting-started.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-ti/beagleboard/beaglebone-getting-started.bb b/recipes-ti/beagleboard/beaglebone-getting-started.bb
index 603a01a7..6c61a4e9 100644
--- a/recipes-ti/beagleboard/beaglebone-getting-started.bb
+++ b/recipes-ti/beagleboard/beaglebone-getting-started.bb
@@ -14,7 +14,7 @@ S = "${WORKDIR}/git"
do_install() {
install -d ${D}${datadir}/${PN}
- cp -a ${S}/* ${D}${datadir}/${PN}
+ cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN}
}
FILES_${PN} += "${datadir}/${PN}"
--
2.19.1
More information about the meta-ti
mailing list