Skip to contentSkip to conversation

cpufrequtils: Don't preserve host user permissions

PATCH New Ash Charles 1 participant 1 message Jan 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'.

---
 meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/cpufrequtils/cpufrequtils_008.bb +1 -1
index e74fa44..e3b4de1 100644
@@ -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
Signature · 1 line
2.1.0