summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2024-09-27 11:08:22 +0100
committerKhem Raj <raj.khem@gmail.com>2024-09-27 06:18:13 -0700
commit09563d1b395b36d5e66a13b0ac67f1bdf2a761eb (patch)
tree5d1ab3a6b15285a82017ef6c3ab6bbde9cc27328
parentf7f54af34f46032fd810a16ef9101ed6840e5e18 (diff)
downloadmeta-openembedded-09563d1b395b36d5e66a13b0ac67f1bdf2a761eb.tar.gz
gpsd: condition the runtime dependence of pyserial on the pygps
The python3-pyserial dependency was introduced in [1]. It is provided by the meta-python layer and so make it conditionally. Fixes: | NOTE: Resolving any missing task queue dependencies | ERROR: Nothing RPROVIDES 'python3-pyserial' (but ../meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb RDEPENDS on or otherwise requires it) | NOTE: Runtime target 'python3-pyserial' is unbuildable, removing... | Missing or unbuildable dependency chain was: ['python3-pyserial'] | NOTE: Runtime target 'gpsd' is unbuildable, removing... | Missing or unbuildable dependency chain was: ['gpsd', 'python3-pyserial'] [1] https://git.openembedded.org/meta-openembedded/commit/?id=1266c912afa0abf118eaa5d152a0641c87665fbd Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb
index f893ac359b..e3b2f8bf69 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb
@@ -27,6 +27,7 @@ CLEANBROKEN = "1"
27PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb" 27PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb"
28PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5" 28PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5"
29PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase" 29PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase"
30PACKAGECONFIG[pyserial] = ""
30PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1" 31PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1"
31EXTRA_OESCONS = " \ 32EXTRA_OESCONS = " \
32 sysroot=${STAGING_DIR_TARGET} \ 33 sysroot=${STAGING_DIR_TARGET} \
@@ -147,7 +148,7 @@ FILES:python3-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir}
147RDEPENDS:python3-pygps = " \ 148RDEPENDS:python3-pygps = " \
148 python3-core \ 149 python3-core \
149 python3-io \ 150 python3-io \
150 python3-pyserial \ 151 ${@bb.utils.contains('PACKAGECONFIG', 'pyserial', 'python3-pyserial', '', d)} \
151 python3-threading \ 152 python3-threading \
152 python3-terminal \ 153 python3-terminal \
153 gpsd \ 154 gpsd \