mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 23:48:20 +00:00
recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"
* Using "cp -a" leaks UID of user running the builds, causing many QA warnings. * See this thread for details: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ inherit allarch
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${datadir}/${BPN}
|
||||
cp -a * ${D}${datadir}/${BPN}
|
||||
cp -R --no-dereference --preserve=mode,links -v * ${D}${datadir}/${BPN}
|
||||
chown -R root:root ${D}${datadir}/${BPN}
|
||||
# Don't install patches to target
|
||||
rm -rf ${D}${datadir}/${BPN}/patches
|
||||
|
||||
Reference in New Issue
Block a user