From: José Bollo <jose.bollo@iot.bzh>
Date: Thu, 5 Sep 2019 08:44:30 +0000 (+0200)
Subject: af-platform-setup: fix installation mode
X-Git-Tag: 8.99.1~56
X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=30b65312f093d8b0f326ef4ec0eafb40ac260f7f;p=AGL%2Fmeta-agl.git

af-platform-setup: fix installation mode

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>
---

diff --git a/meta-app-framework/recipes-core/af-platform-setup/af-platform-setup_1.0.bb b/meta-app-framework/recipes-core/af-platform-setup/af-platform-setup_1.0.bb
index 0963875d1..eb473cd14 100644
--- a/meta-app-framework/recipes-core/af-platform-setup/af-platform-setup_1.0.bb
+++ b/meta-app-framework/recipes-core/af-platform-setup/af-platform-setup_1.0.bb
@@ -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}"