Give this one a try: http://lists.openembedded.org/pipermail/openembedded-devel/2018-February/116666.html
On Wed, Feb 7, 2018 at 7:55 AM, Derek Straka <[email protected]> wrote: > Yeah. IIRC there is a sed to replace the path of the include. I'll take > a look. > > On Feb 7, 2018 4:05 AM, "Martin Jansa" <[email protected]> wrote: > >> We might need another upgrade for this after last oe-core changes, now it >> fails with: >> >> smbusmodule.c:26:10: fatal error: linux/i2c-dev-user.h: No such file or >> directory >> #include <linux/i2c-dev-user.h> >> ^~~~~~~~~~~~~~~~~~~~~~ >> >> Do you have something already in your queue? >> >> On Sun, Jan 21, 2018 at 5:54 PM, Derek Straka <[email protected]> wrote: >> >>> Fixes issues related to incompatibility with i2c-tools upgrade in oe-core >>> >>> Signed-off-by: Derek Straka <[email protected]> >>> --- >>> meta-python/recipes-devtools/python/python-smbus.inc | 7 >>> +++---- >>> .../python/{python-smbus_3.1.2.bb => python-smbus_4.0.bb} | 0 >>> .../python/{python3-smbus_3.1.2.bb => python3-smbus_4.0.bb} | 0 >>> 3 files changed, 3 insertions(+), 4 deletions(-) >>> rename meta-python/recipes-devtools/python/{python-smbus_3.1.2.bb => >>> python-smbus_4.0.bb} (100%) >>> rename meta-python/recipes-devtools/python/{python3-smbus_3.1.2.bb => >>> python3-smbus_4.0.bb} (100%) >>> >>> diff --git a/meta-python/recipes-devtools/python/python-smbus.inc >>> b/meta-python/recipes-devtools/python/python-smbus.inc >>> index de2a270..0bca58f 100644 >>> --- a/meta-python/recipes-devtools/python/python-smbus.inc >>> +++ b/meta-python/recipes-devtools/python/python-smbus.inc >>> @@ -2,10 +2,9 @@ SUMMARY = "Set of i2c tools for linux - Python module" >>> LICENSE = "GPLv2" >>> LIC_FILES_CHKSUM = "file://smbusmodule.c;beginlin >>> e=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8" >>> >>> -SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools- >>> ${PV}.tar.bz2 \ >>> -" >>> -SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962" >>> -SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490 >>> b149c504468770f58921c8c5b8a7860a441" >>> +SRC_URI = >>> "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz >>> " >>> +SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa" >>> +SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62 >>> f2054bb39f19961d67e0c91610f071ca403" >>> >>> DEPENDS += "i2c-tools" >>> >>> diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb >>> b/meta-python/recipes-devtools/python/python-smbus_4.0.bb >>> similarity index 100% >>> rename from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb >>> rename to meta-python/recipes-devtools/python/python-smbus_4.0.bb >>> diff --git a/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb >>> b/meta-python/recipes-devtools/python/python3-smbus_4.0.bb >>> similarity index 100% >>> rename from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb >>> rename to meta-python/recipes-devtools/python/python3-smbus_4.0.bb >>> -- >>> 2.7.4 >>> >>> -- >>> _______________________________________________ >>> Openembedded-devel mailing list >>> [email protected] >>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >>> >> >> -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
