gpsd: Move python gps library to python3
The library is required for gnss-mgr to check when gpsd is ready. BugzID: 63624
This commit is contained in:
parent
6f1f6a73ee
commit
07a3d136d7
|
|
@ -81,6 +81,13 @@ do_install_append() {
|
||||||
install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
|
install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Copying gps library to python3 site-packages.
|
||||||
|
# This can only be done in postinst because it is not possible to get both
|
||||||
|
# python3 and python2 site-packages at build time.
|
||||||
|
pkg_postinst_python-pygps() {
|
||||||
|
cp -r $D/${PYTHON_SITEPACKAGES_DIR}/gps $D/${libdir}/python3*/site-packages
|
||||||
|
}
|
||||||
|
|
||||||
PACKAGES =+ "libgps libgpsd python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
|
PACKAGES =+ "libgps libgpsd python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
|
||||||
|
|
||||||
RPROVIDES_${PN}-dbg += "python-pygps-dbg"
|
RPROVIDES_${PN}-dbg += "python-pygps-dbg"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue