From 0e0e11e0900c4cedcc6cb6e92265c6eaf0c814be Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Wed, 7 Nov 2018 07:21:26 +0200 Subject: 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 --- .../recipes-connectivity/ofono/files/ofono.conf | 30 ++++++++++++++++++++++ .../recipes-connectivity/ofono/ofono_%.bbappend | 6 +++++ 2 files changed, 36 insertions(+) create mode 100644 meta-agl-profile-core/recipes-connectivity/ofono/files/ofono.conf create mode 100644 meta-agl-profile-core/recipes-connectivity/ofono/ofono_%.bbappend (limited to 'meta-agl-profile-core') 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 +} -- cgit 1.2.3-korg