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. (From OE-Core rev: 281510acd0ee3221dd804d7d9de567be2be675f4) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8b77079321
commit
a1c15cb364
|
@ -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" )
|
||||
|
|
Loading…
Reference in New Issue