Patchwork [CONSOLIDATED,PULL,18/23] linux-firmware: fix permissions of installed files

login
register
mail settings
Submitter Saul Wold
Date March 13, 2012, 7:58 a.m.
Message ID <64137d72739787d1d295c92ba36cc5244b727801.1331589797.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/23149/
State New
Headers show

Comments

Saul Wold - March 13, 2012, 7:58 a.m.
From: Andreas Oberritter <obi@opendreambox.org>

* The previous copy command preserved the original
  owner and permission bits.
* The new command uses root:root and applies OE's
  umask.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 .../linux-firmware/linux-firmware_git.bb           |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index a99dc7e..52929fa 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -21,7 +21,7 @@  LIC_FILES_CHKSUM = "file://LICENSE.radeon_rlc;md5=4c243f7854d2884b483abda991adef
 
 SRCREV = "15888a2eab052ac3d3f49334e4f6f05f347a516e"
 PV = "0.0+git${SRCPV}"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "git://git.infradead.org/users/dwmw2/linux-firmware.git;protocol=git"
 
@@ -35,7 +35,7 @@  do_compile() {
 
 do_install() {
 	install -d  ${D}/lib/firmware/
-	cp -RpP * ${D}/lib/firmware/
+	cp -r * ${D}/lib/firmware/
 
 	# Libertas sd8686
 	install -m 0644 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin