All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpufrequtils: Don't preserve host user permissions
@ 2015-01-29  1:30 Ash Charles
  0 siblings, 0 replies; only message in thread
From: Ash Charles @ 2015-01-29  1:30 UTC (permalink / raw)
  To: openembedded-devel

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@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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-29  1:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29  1:30 [PATCH] cpufrequtils: Don't preserve host user permissions Ash Charles

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.