diff options
author | Matthias Klein <matthias@extraklein.de> | 2021-10-27 14:41:46 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-10-27 07:11:22 -0700 |
commit | aa40b5c785b99283756197bbe054378a4cc41263 (patch) | |
tree | 14aa426c7c43aa8f845a810319ddd41e8f2291dc /meta-oe/recipes-navigation/gpsd | |
parent | 6440f73b120de2064c45d357b8fab83be29c4c1b (diff) | |
download | meta-openembedded-aa40b5c785b99283756197bbe054378a4cc41263.tar.gz |
gpsd: Install also the generated parts of the Python library
The Python library cannot be copied from the source code directory,
otherwise generated files like gps.py and packet.py are missing.
This is noticed when starting ubxtool which otherwise crashes:
Traceback (most recent call last):
File "/usr/bin/ubxtool", line 48, in <module>
import gps.ubx
File "/usr/lib/python3.10/site-packages/gps/ubx.py", line 244, in <module>
class ubx(object):
File "/usr/lib/python3.10/site-packages/gps/ubx.py", line 255, in ubx
verbosity = gps.VERB_NONE
AttributeError: module 'gps' has no attribute 'VERB_NONE'
Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation/gpsd')
-rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb index 4740e0c98..8763c68ed 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb | |||
@@ -72,7 +72,7 @@ do_install:append() { | |||
72 | 72 | ||
73 | # Support for python | 73 | # Support for python |
74 | install -d ${D}${PYTHON_SITEPACKAGES_DIR}/gps | 74 | install -d ${D}${PYTHON_SITEPACKAGES_DIR}/gps |
75 | install -m 755 ${S}/gps/*.py ${D}${PYTHON_SITEPACKAGES_DIR}/gps | 75 | install -m 755 ${D}${libdir}/gps/*.py ${D}${PYTHON_SITEPACKAGES_DIR}/gps |
76 | } | 76 | } |
77 | 77 | ||
78 | PACKAGES =+ "libgps libgpsd python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" | 78 | PACKAGES =+ "libgps libgpsd python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" |