summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-24 13:29:29 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 20:46:17 +0100
commitdb6a4e07f3a35163c751996ca3ac86b6bf5650e9 (patch)
treea67aa46b4895fdd57fe7923662c813d3a8a6b5d2
parent45689bbd46b0bb8e66b7c0ff7cc3321e5eef5b5f (diff)
downloadopenembedded-core-db6a4e07f3a35163c751996ca3ac86b6bf5650e9.tar.gz
openembedded-core-db6a4e07f3a35163c751996ca3ac86b6bf5650e9.tar.bz2
openembedded-core-db6a4e07f3a35163c751996ca3ac86b6bf5650e9.zip
linux-firmware: Fix file permissions
The firmware was installed 0666 which could have been a security issue. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-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 3d822c5ffa..29f1e78e4e 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() {
do_install() {
install -d ${D}/lib/firmware/
# Libertas sd8686
- install -m 0666 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
- install -m 0666 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
- install -m 0666 LICENCE.libertas ${D}/lib/firmware/
+ install -m 0644 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
+ install -m 0644 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
+ install -m 0644 LICENCE.libertas ${D}/lib/firmware/
}
PACKAGES = "${PN}-sd8686"