af-platform-setup: fix installation mode 31/22331/2
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 5 Sep 2019 08:44:30 +0000 (10:44 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 9 Sep 2019 13:15:15 +0000 (13:15 +0000)
The file systemd-udevd.service.d/udev-shared.conf was
installed with default rigths meaning rwxr-xr-x.

Systemd complains about it:

   Configuration file /lib/systemd/system/systemd-udevd.service.d/udev-shared.conf
   is marked executable. Please remove executable permission bits. Proceeding anyway.

This commit fix that issue.

Bug-AGL: SPEC-2798

Change-Id: I90a2b0f538416b5e8e6f8e1aaf552530150c8103
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
meta-app-framework/recipes-core/af-platform-setup/af-platform-setup_1.0.bb

index 0963875..eb473cd 100644 (file)
@@ -10,7 +10,7 @@ S = "${WORKDIR}"
 do_install() {
        d=${D}${systemd_system_unitdir}/systemd-udevd.service.d
        install -d $d
-       install ${S}/udev-shared.conf $d
+       install -m 0644 ${S}/udev-shared.conf $d
 }
 
 FILES_${PN} = "${systemd_system_unitdir}"