[oe-commits] Koen Kooi : connman: nothing in OE implements the at_console dbus restriction properly, so change connman to allow generic access

GIT User account git at amethyst.openembedded.net
Fri Feb 6 10:27:30 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6475d95f7467eb11f9adb20e951cf6eee8270b25
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6475d95f7467eb11f9adb20e951cf6eee8270b25

Author: Koen Kooi <koen at openembedded.org>
Date:   Fri Feb  6 11:24:52 2009 +0100

connman: nothing in OE implements the at_console dbus restriction properly, so change connman to allow generic access
* a better solution needs to be found, but requiring GUIs to run as root is not an option either

---

 packages/connman/connman.inc     |    4 ++++
 packages/connman/connman_0.10.bb |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/packages/connman/connman.inc b/packages/connman/connman.inc
index a97ca44..c79c22c 100644
--- a/packages/connman/connman.inc
+++ b/packages/connman/connman.inc
@@ -24,6 +24,10 @@ do_configure_append() {
 	ln -sf . include/connman
 }
 
+do_compile_append() {
+	sed -i -e s:deny:allow:g src/connman-dbus.conf
+}
+
 do_install_append() {
     install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman
 }
diff --git a/packages/connman/connman_0.10.bb b/packages/connman/connman_0.10.bb
index d8f763a..dfd631b 100644
--- a/packages/connman/connman_0.10.bb
+++ b/packages/connman/connman_0.10.bb
@@ -1,5 +1,5 @@
 require connman.inc
-PR = "r5"
+PR = "r6"
 
 EXTRA_OECONF += "\
   --disable-gtk-doc \





More information about the Openembedded-commits mailing list