summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb
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/cim-schema/cim-schema-final_2.40.0.bb
parent7396fc62068a41d2ad88cc03d0ca485279510d55 (diff)
downloadmeta-openembedded-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/cim-schema/cim-schema-final_2.40.0.bb')
-rw-r--r--meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb2
1 files changed, 1 insertions, 1 deletions
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 7ab9c4d49..567538441 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() {
21 install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV} 21 install -d -m 0755 ${D}${datadir}/doc/cim-schema-${PV}
22 install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV} 22 install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
23 23
24 cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/ 24 cp -R --no-dereference --preserve=mode,links -v ${S}/* ${D}${datadir}/mof/cimv${PV}/
25 chown -R root:root ${D}${datadir}/mof/cimv${PV}/ 25 chown -R root:root ${D}${datadir}/mof/cimv${PV}/
26 for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do 26 for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
27 sed -i -e 's/\r//g' $i 27 sed -i -e 's/\r//g' $i