All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] beaglebone-getting-started: Use cp options to not alter file mode
@ 2018-10-12 19:50 Khem Raj
  2018-10-12 19:58 ` Denys Dmytriyenko
  0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2018-10-12 19:50 UTC (permalink / raw)
  To: meta-ti

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@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



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-10-12 21:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-12 19:50 [PATCH] beaglebone-getting-started: Use cp options to not alter file mode Khem Raj
2018-10-12 19:58 ` Denys Dmytriyenko
2018-10-12 20:01   ` Khem Raj
2018-10-12 20:31     ` Denys Dmytriyenko
2018-10-12 20:34       ` Khem Raj
2018-10-12 20:37         ` Denys Dmytriyenko
2018-10-12 20:49           ` Khem Raj
2018-10-12 21:01             ` Denys Dmytriyenko
2018-10-12 21:14               ` Khem Raj
2018-10-12 21:20                 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.