diff options
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index e281e39b80..d068ba894a 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
@@ -71,16 +71,14 @@ SYSTEMD_WIRED_SETUP = "ExecStartPre=-${libdir}/connman/wired-setup" | |||
71 | 71 | ||
72 | inherit autotools pkgconfig systemd update-rc.d | 72 | inherit autotools pkgconfig systemd update-rc.d |
73 | 73 | ||
74 | do_configure_append () { | ||
75 | sed -i "s#ExecStart=#${SYSTEMD_WIRED_SETUP}\nExecStart=#" ${B}/src/connman.service | ||
76 | } | ||
77 | |||
78 | # This allows *everyone* to access ConnMan over DBus, without any access | 74 | # This allows *everyone* to access ConnMan over DBus, without any access |
79 | # control. Really the at_console flag should work, which would mean that | 75 | # control. Really the at_console flag should work, which would mean that |
80 | # both this and the xuser patch can be dropped. | 76 | # both this and the xuser patch can be dropped. |
81 | do_compile_append() { | 77 | do_compile_append() { |
82 | sed -i -e s:deny:allow:g ${S}/src/connman-dbus.conf | 78 | sed -i -e s:deny:allow:g ${S}/src/connman-dbus.conf |
83 | sed -i -e s:deny:allow:g ${S}/vpn/vpn-dbus.conf | 79 | sed -i -e s:deny:allow:g ${S}/vpn/vpn-dbus.conf |
80 | |||
81 | sed -i "s#ExecStart=#${SYSTEMD_WIRED_SETUP}\nExecStart=#" ${B}/src/connman.service | ||
84 | } | 82 | } |
85 | 83 | ||
86 | do_install_append() { | 84 | do_install_append() { |