diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2012-03-10 03:31:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-13 11:45:12 +0000 |
commit | 8f3aefa16201798ff1b78e24383f79916a389946 (patch) | |
tree | c29b091696620da86aafeb156d23868f7d0f28bf | |
parent | 7f784b6549d8ec7c1f03b74d9ab4628c2a2aa7db (diff) | |
download | poky-8f3aefa16201798ff1b78e24383f79916a389946.tar.gz |
linux-firmware: fix permissions of installed files
* The previous copy command preserved the original
owner and permission bits.
* The new command uses root:root and applies OE's
umask.
(From OE-Core rev: 710e565beadcf4ea965af688fd08b9b1f274ad57)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb index a99dc7e171..52929fa38b 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 | |||
21 | 21 | ||
22 | SRCREV = "15888a2eab052ac3d3f49334e4f6f05f347a516e" | 22 | SRCREV = "15888a2eab052ac3d3f49334e4f6f05f347a516e" |
23 | PV = "0.0+git${SRCPV}" | 23 | PV = "0.0+git${SRCPV}" |
24 | PR = "r0" | 24 | PR = "r1" |
25 | 25 | ||
26 | SRC_URI = "git://git.infradead.org/users/dwmw2/linux-firmware.git;protocol=git" | 26 | SRC_URI = "git://git.infradead.org/users/dwmw2/linux-firmware.git;protocol=git" |
27 | 27 | ||
@@ -35,7 +35,7 @@ do_compile() { | |||
35 | 35 | ||
36 | do_install() { | 36 | do_install() { |
37 | install -d ${D}/lib/firmware/ | 37 | install -d ${D}/lib/firmware/ |
38 | cp -RpP * ${D}/lib/firmware/ | 38 | cp -r * ${D}/lib/firmware/ |
39 | 39 | ||
40 | # Libertas sd8686 | 40 | # Libertas sd8686 |
41 | install -m 0644 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin | 41 | install -m 0644 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin |