diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2016-02-25 17:37:00 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-04-17 13:06:14 -0700 |
commit | bdff28d9a7863494b2a41f54de4e3fe0a7e29470 (patch) | |
tree | f35f1a117f1f7bd0efcbccc6d5910a1491597b66 /meta-oe/recipes-support/apcupsd | |
parent | 9a0ee11cfbfcc831902ba8c57d9aad8169c88c9e (diff) | |
download | meta-openembedded-bdff28d9a7863494b2a41f54de4e3fe0a7e29470.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
Dropped Lua patch as no ptest support exists in jethro
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Conflicts:
meta-oe/recipes-devtools/lua/lua_5.3.1.bb
Diffstat (limited to 'meta-oe/recipes-support/apcupsd')
-rw-r--r-- | meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb b/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb index 18979d574..35c891e7a 100644 --- a/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb +++ b/meta-oe/recipes-support/apcupsd/apcupsd_3.14.10.bb | |||
@@ -19,10 +19,10 @@ EXTRA_OECONF = "--without-x \ | |||
19 | 19 | ||
20 | do_configure() { | 20 | do_configure() { |
21 | export topdir=${S} | 21 | export topdir=${S} |
22 | cp -a ${S}/autoconf/configure.in ${S} | 22 | cp -R --no-dereference --preserve=mode,links -v ${S}/autoconf/configure.in ${S} |
23 | 23 | ||
24 | if ! [ -d ${S}/platforms/${DISTRO} ] ; then | 24 | if ! [ -d ${S}/platforms/${DISTRO} ] ; then |
25 | cp -a ${S}/platforms/unknown ${S}/platforms/${DISTRO} | 25 | cp -R --no-dereference --preserve=mode,links -v ${S}/platforms/unknown ${S}/platforms/${DISTRO} |
26 | fi | 26 | fi |
27 | 27 | ||
28 | gnu-configize --force | 28 | gnu-configize --force |