[oe] [PATCH] cpufrequtils: Don't preserve host user permissions
Ash Charles
ashcharles at gmail.com
Thu Jan 29 01:30:48 UTC 2015
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>
---
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
--
2.1.0
More information about the Openembedded-devel
mailing list