[oe-commits] Ash Charles : cpufrequtils: Don't preserve host user permissions

git at git.openembedded.org git at git.openembedded.org
Wed Feb 4 16:11:51 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 787600c6277e2995d220ac4543343410e794d376
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=787600c6277e2995d220ac4543343410e794d376

Author: Ash Charles <ashcharles at gmail.com>
Date:   Wed Jan 28 17:30:48 2015 -0800

cpufrequtils: Don't preserve host user permissions

The makefile installs the generated libcpufreq with 'cp -fpR'
preserving the user and group of the builder on the host system yielding
errors like this:

  WARNING: log_check: warning: group pulse does not exist - using root

Really, this library should be installed with root user and group
ownership so override the meaning of 'CP' to simply 'cp'.

Signed-off-by: Ash Charles <ashcharles at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb b/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
index e74fa44..e3b4de1 100644
--- a/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
+++ b/meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git"
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
-EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} LIBTOOL='${HOST_SYS}-libtool --tag cc' STRIPCMD=echo"
+EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} LIBTOOL='${HOST_SYS}-libtool --tag cc' STRIPCMD=echo 'CP=cp'"
 
 do_compile() {
     oe_runmake



More information about the Openembedded-commits mailing list