summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-24 18:29:29 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 19:56:36 (GMT)
commitb320f558ed06fc1b1f5a61c638fbaabeb0e24f64 (patch)
tree31f931123b19f393880c361f277e53f5aff110f3
parentd591e696b2516ab605cc829786e56f45e76c2cee (diff)
downloadpoky-b320f558ed06fc1b1f5a61c638fbaabeb0e24f64.tar.gz
linux-firmware: Fix file permissions
The firmware was installed 0666 which could have been a security issue. (From OE-Core rev: db6a4e07f3a35163c751996ca3ac86b6bf5650e9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 3d822c5..29f1e78 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -32,9 +32,9 @@ do_compile() {
32do_install() { 32do_install() {
33 install -d ${D}/lib/firmware/ 33 install -d ${D}/lib/firmware/
34 # Libertas sd8686 34 # Libertas sd8686
35 install -m 0666 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin 35 install -m 0644 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
36 install -m 0666 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin 36 install -m 0644 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
37 install -m 0666 LICENCE.libertas ${D}/lib/firmware/ 37 install -m 0644 LICENCE.libertas ${D}/lib/firmware/
38} 38}
39 39
40PACKAGES = "${PN}-sd8686" 40PACKAGES = "${PN}-sd8686"