cpufrequtils: Don't preserve host user permissions
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'.
Signed-off-by Ash Charles <[email protected]>
--- 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
@@ -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