aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2016-02-25 17:37:00 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-03-04 09:06:22 +0100
commitdf7242fddb9048738c0cdfaf0c3c227bf78f3da7 (patch)
tree93d90103179618fe595aa26a7bfab1a0afd55418 /meta-networking/recipes-support
parent7396fc62068a41d2ad88cc03d0ca485279510d55 (diff)
downloadmeta-openembedded-contrib-df7242fddb9048738c0cdfaf0c3c227bf78f3da7.tar.gz
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>
Diffstat (limited to 'meta-networking/recipes-support')
-rw-r--r--meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb2
-rw-r--r--meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb2
-rw-r--r--meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb
index 093f0d4c528..31875ea50ff 100644
--- a/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-docs_2.40.0.bb
@@ -18,7 +18,7 @@ do_unpack() {
do_install() {
install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}-docs
- cp -a ${S}/* ${D}${datadir}/doc/cim-schema-${PV}-docs
+ cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/doc/cim-schema-${PV}-docs
}
FILES_${PN} = "${datadir}/doc/*"
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb
index e4ed7b3628b..4b07c0bd09d 100644
--- a/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb
@@ -16,7 +16,7 @@ do_install() {
install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}
install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
- cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/
+ cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/mof/cimv${PV}/
chown -R root:root ${D}${datadir}/mof/cimv${PV}
for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
sed -i -e 's/\r//g' $i
diff --git a/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
index 7ab9c4d4923..56753844106 100644
--- a/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
+++ b/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
@@ -21,7 +21,7 @@ do_install() {
install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}
install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
- cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/
+ cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/mof/cimv${PV}/
chown -R root:root ${D}${datadir}/mof/cimv${PV}/
for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
sed -i -e 's/\r//g' $i