diff options
| -rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 14 | ||||
| -rw-r--r-- | meta/recipes-connectivity/connman/connman_1.26.bb | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index ddabdb96f5..736b324704 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
| @@ -67,18 +67,18 @@ SYSTEMD_SERVICE_${PN} = "connman.service" | |||
| 67 | SYSTEMD_SERVICE_${PN}-vpn = "connman-vpn.service" | 67 | SYSTEMD_SERVICE_${PN}-vpn = "connman-vpn.service" |
| 68 | SYSTEMD_WIRED_SETUP = "ExecStartPre=-${libdir}/connman/wired-setup" | 68 | SYSTEMD_WIRED_SETUP = "ExecStartPre=-${libdir}/connman/wired-setup" |
| 69 | 69 | ||
| 70 | inherit autotools-brokensep pkgconfig systemd update-rc.d | 70 | inherit autotools pkgconfig systemd update-rc.d |
| 71 | 71 | ||
| 72 | do_configure_append () { | 72 | do_configure_append () { |
| 73 | sed -i "s#ExecStart=#${SYSTEMD_WIRED_SETUP}\nExecStart=#" ${S}/src/connman.service | 73 | sed -i "s#ExecStart=#${SYSTEMD_WIRED_SETUP}\nExecStart=#" ${B}/src/connman.service |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | # This allows *everyone* to access ConnMan over DBus, without any access | 76 | # This allows *everyone* to access ConnMan over DBus, without any access |
| 77 | # control. Really the at_console flag should work, which would mean that | 77 | # control. Really the at_console flag should work, which would mean that |
| 78 | # both this and the xuser patch can be dropped. | 78 | # both this and the xuser patch can be dropped. |
| 79 | do_compile_append() { | 79 | do_compile_append() { |
| 80 | sed -i -e s:deny:allow:g src/connman-dbus.conf | 80 | sed -i -e s:deny:allow:g ${S}/src/connman-dbus.conf |
| 81 | sed -i -e s:deny:allow:g vpn/vpn-dbus.conf | 81 | sed -i -e s:deny:allow:g ${S}/vpn/vpn-dbus.conf |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | do_install_append() { | 84 | do_install_append() { |
| @@ -89,9 +89,9 @@ do_install_append() { | |||
| 89 | fi | 89 | fi |
| 90 | 90 | ||
| 91 | install -d ${D}${bindir} | 91 | install -d ${D}${bindir} |
| 92 | install -m 0755 ${S}/tools/*-test ${D}${bindir} | 92 | install -m 0755 ${B}/tools/*-test ${D}${bindir} |
| 93 | if [ -e ${S}/tools/wispr ]; then | 93 | if [ -e ${B}/tools/wispr ]; then |
| 94 | install -m 0755 ${S}/tools/wispr ${D}${bindir} | 94 | install -m 0755 ${B}/tools/wispr ${D}${bindir} |
| 95 | fi | 95 | fi |
| 96 | install -m 0755 ${B}/client/connmanctl ${D}${bindir} | 96 | install -m 0755 ${B}/client/connmanctl ${D}${bindir} |
| 97 | 97 | ||
diff --git a/meta/recipes-connectivity/connman/connman_1.26.bb b/meta/recipes-connectivity/connman/connman_1.26.bb index b93f1cd6c3..7c0c4f7863 100644 --- a/meta/recipes-connectivity/connman/connman_1.26.bb +++ b/meta/recipes-connectivity/connman/connman_1.26.bb | |||
| @@ -9,3 +9,5 @@ SRC_URI[md5sum] = "ba05b110b7c81e5fa14e8b402ef37a9e" | |||
| 9 | SRC_URI[sha256sum] = "7184e4b6d954449ee00a30e188924b3e37a20ad2fd9a0b76a2bdd82c863dcf8a" | 9 | SRC_URI[sha256sum] = "7184e4b6d954449ee00a30e188924b3e37a20ad2fd9a0b76a2bdd82c863dcf8a" |
| 10 | 10 | ||
| 11 | RRECOMMENDS_${PN} = "connman-conf" | 11 | RRECOMMENDS_${PN} = "connman-conf" |
| 12 | |||
| 13 | PR = "r1" | ||
