summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/connman/connman.inc14
-rw-r--r--meta/recipes-connectivity/connman/connman_0.78.bb2
2 files changed, 7 insertions, 9 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 503bf1cffa..bb1b27990c 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -68,16 +68,16 @@ do_install_append() {
68 install -d ${D}${bindir} 68 install -d ${D}${bindir}
69 install -m 0755 ${S}/tools/*-test ${D}${bindir} 69 install -m 0755 ${S}/tools/*-test ${D}${bindir}
70 install -m 0755 ${S}/tools/wispr ${D}${bindir} 70 install -m 0755 ${S}/tools/wispr ${D}${bindir}
71
72 # We don't need to package an empty directory
73 rmdir ${D}${libdir}/connman/scripts
71} 74}
72 75
73PACKAGES_DYNAMIC = "${PN}-plugin-*" 76PACKAGES_DYNAMIC = "${PN}-plugin-*"
74 77
75python populate_packages_prepend() { 78python populate_packages_prepend() {
76 depmap = dict( pppd="ppp", 79 depmap = dict( pppd="ppp",
77 udhcp="busybox connman-scripts",
78 dhclient="dhcp-client",
79 wifi="wpa-supplicant", 80 wifi="wpa-supplicant",
80 resolvconf="resolvconf",
81 bluetooth="bluez4", 81 bluetooth="bluez4",
82 ofono="ofono" ) 82 ofono="ofono" )
83 packages = [] 83 packages = []
@@ -94,14 +94,12 @@ python populate_packages_prepend() {
94 d.setVar("RDEPENDS_%s" % package, " ".join(rdepends)) 94 d.setVar("RDEPENDS_%s" % package, " ".join(rdepends))
95} 95}
96 96
97PACKAGES =+ "${PN}-scripts ${PN}-tools ${PN}-tests" 97PACKAGES =+ "${PN}-tools ${PN}-tests"
98 98
99FILES_${PN}-tools = "${bindir}/wispr" 99FILES_${PN}-tools = "${bindir}/wispr"
100 100
101FILES_${PN}-tests = "${bindir}/*-test" 101FILES_${PN}-tests = "${bindir}/*-test ${libdir}/${PN}/test/*"
102 102RDEPENDS_${PN}-tests = "python-dbus"
103FILES_${PN}-scripts += "${libdir}/${PN}/test/* ${libdir}/connman/scripts"
104RDEPENDS_${PN}-scripts = "python"
105 103
106FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ 104FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
107 ${sysconfdir} ${sharedstatedir} ${localstatedir} \ 105 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
diff --git a/meta/recipes-connectivity/connman/connman_0.78.bb b/meta/recipes-connectivity/connman/connman_0.78.bb
index f36f6707c7..74c102b852 100644
--- a/meta/recipes-connectivity/connman/connman_0.78.bb
+++ b/meta/recipes-connectivity/connman/connman_0.78.bb
@@ -1,6 +1,6 @@
1require connman.inc 1require connman.inc
2 2
3PR = "r4" 3PR = "r5"
4 4
5# 0.78 tag 5# 0.78 tag
6SRCREV = "02f5d5fe2d7c71514a6387ba2b772b42d8e8d297" 6SRCREV = "02f5d5fe2d7c71514a6387ba2b772b42d8e8d297"