diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-11-03 18:40:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-08 14:17:04 +0000 |
commit | 281510acd0ee3221dd804d7d9de567be2be675f4 (patch) | |
tree | 989357cdff6afb50692ddb9363a06f5f3741075f /meta/recipes-connectivity/connman | |
parent | 3c272ce9df811281029d028e96ab6bc644645592 (diff) | |
download | openembedded-core-281510acd0ee3221dd804d7d9de567be2be675f4.tar.gz openembedded-core-281510acd0ee3221dd804d7d9de567be2be675f4.tar.bz2 openembedded-core-281510acd0ee3221dd804d7d9de567be2be675f4.zip |
connman: split scripts into separate package
The connman scripts are useless without a Python interpreter so split
them into a separate package and add Python to its RDEPENDS.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 480b59cb5c..e86bd9fa38 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc @@ -30,6 +30,9 @@ do_install_append() { install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman } +PACKAGES += "${PN}-scripts" +RDEPENDS_${PN}-scripts += "python" + PACKAGES_DYNAMIC = "${PN}-plugin-*" FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ ${sysconfdir} ${sharedstatedir} ${localstatedir} \ @@ -37,7 +40,6 @@ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ ${datadir}/pixmaps ${datadir}/applications \ ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ ${libdir}/bonobo/servers \ - ${libdir}/${PN}/test/* \ ${datadir}/dbus-1/system-services/* \ ${libdir}/connman/scripts/dhclient*" FILES_${PN}-dbg += "${libdir}/connman/plugins/.debug \ @@ -45,6 +47,8 @@ FILES_${PN}-dbg += "${libdir}/connman/plugins/.debug \ FILES_${PN}-dev += "${libdir}/connman/plugins/*.la" +FILES_${PN}-scripts += "${libdir}/${PN}/test/*" + python populate_packages_prepend() { prefix = (d.getVar("MLPREFIX", True) or "") depmap = dict( wifi=prefix+"wpa-supplicant", bluetooth=prefix+"bluez4", ofono=prefix+"ofono" ) |