From: Matt Ranostay Date: Wed, 7 Nov 2018 05:21:26 +0000 (+0200) Subject: meta-agl-profile-core: recipes-connectivity: ofono: change dbus policy to enable... X-Git-Tag: 6.99.4~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=0e0e11e0900c4cedcc6cb6e92265c6eaf0c814be;p=AGL%2Fmeta-agl.git meta-agl-profile-core: recipes-connectivity: ofono: change dbus policy to enable modem events To detect modem addition and removal in the agl-service-telephony binding the interface needs to be enabled in the dbus policy Bug-AGL: SPEC-2117 Change-Id: Ib610188d72404e338c59d64c4b84a183632efb1f Signed-off-by: Matt Ranostay --- diff --git a/meta-agl-profile-core/recipes-connectivity/ofono/files/ofono.conf b/meta-agl-profile-core/recipes-connectivity/ofono/files/ofono.conf new file mode 100644 index 000000000..e47214c76 --- /dev/null +++ b/meta-agl-profile-core/recipes-connectivity/ofono/files/ofono.conf @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/meta-agl-profile-core/recipes-connectivity/ofono/ofono_%.bbappend b/meta-agl-profile-core/recipes-connectivity/ofono/ofono_%.bbappend new file mode 100644 index 000000000..e78eb44be --- /dev/null +++ b/meta-agl-profile-core/recipes-connectivity/ofono/ofono_%.bbappend @@ -0,0 +1,6 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI_append = "file://ofono.conf" + +do_install_append() { + install -m 0644 ${WORKDIR}/ofono.conf ${D}${sysconfdir}/dbus-1/system.d/ofono.conf +}