I've created a layer to install some python modules, but some of them are already included in a third party layer I need (meta-openembedded). The version of python modules installed by the other layer is lower than that I need. I changed my layer priority, and I set it higher than that of the other layer. I tried to do the build, but the installed python modules version is still that of meta-openembedded layer.
If I execute bitbake-layers show-layers
my custom layer has a higher priority.
Is there something else I need to do?
Here my layer structure:
meta-chiarini
├── conf
│ └── layer.conf <---- (BBFILE_PRIORITY_meta-one = "10")
├── recipes-python
│ └── paho-mqtt
│ └── python3-paho-mqtt_1.6.1.bb
Here my layer.conf
:
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "meta-chiarini"
BBFILE_PATTERN_meta-chiarini = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-chiarini = "10"
LAYERDEPENDS_meta-chiarini = "core"
LAYERSERIES_COMPAT_meta-chiarini = "dunfell"
Here python3-paho-mqtt_1.6.1.bb
:
SUMMARY = "MQTT version 5.0/3.1.1 client class"
HOMEPAGE = "http://eclipse.org/paho"
AUTHOR = "Roger Light <roger@atchoo.org>"
LICENSE = "Eclipse Public License v2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e5f264c6988aec56808a3a11e77b913"
SRC_URI = "https://files.pythonhosted.org/packages/f8/dd/4b75dcba025f8647bc9862ac17299e0d7d12d3beadbf026d8c8d74215c12/paho-mqtt-1.6.1.tar.gz"
SRC_URI[md5sum] = "bdb20f88db291fdb4a0fe804c0f29316"
SRC_URI[sha256sum] = "2a8291c81623aec00372b5a85558a372c747cbca8e9934dfe218638b8eefc26f"
S = "${WORKDIR}/paho-mqtt-1.6.1"
RDEPENDS_${PN} = ""
inherit setuptools3