[oe] [meta-oe][PATCH] libgphoto2: remove executable permission bits of udev rule file

Yi Zhao yi.zhao at windriver.com
Mon Feb 17 10:55:25 UTC 2020


Fixes systemd-udevd warning:
systemd-udevd[156]: Configuration file /etc/udev/rules.d/40-libgphoto2.rules
is marked executable. Please remove executable permission bits. Proceeding anyway.

Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
 meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.23.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.23.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.23.bb
index a3bdf9cea..a012c499c 100644
--- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.23.bb
+++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.23.bb
@@ -34,7 +34,7 @@ do_configure_append() {
 
 do_install_append() {
     install -d ${D}${sysconfdir}/udev/rules.d/
-    install -m 0755 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
+    install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
 }
 
 PACKAGES =+ "libgphotoport libgphoto2-camlibs"
-- 
2.17.1



More information about the Openembedded-devel mailing list