libgpiod2 incorrectly depends on python3-core
On master (to be 2.6): In recipe libgpiod_1.1.1 when enabling python3 bindings the generated libgpiod2 package depends on python3-core. The result is when needing only libgpiod-tools in initramfs the whole of python3 is pulled in.
I believe this dependency to be incorrect, instead libgpiod-python should depend on python3-core.
Hi ferry
Quoted 6 lines · Ferry Toth
On master (to be 2.6): In recipe libgpiod_1.1.1 when enabling python3 bindings the generated libgpiod2 package depends on python3-core. The result is when needing only libgpiod-tools in initramfs the whole of python3 is pulled in.
This is because of the recommendation thats added to for best out of box instal experience. You can always override that in your image recipe and that will break the rdep chain
BAD_RECOMMENDATIONS += "libgpiod-python"
Quoted 9 lines
I believe this dependency to be incorrect, instead libgpiod-python should depend on python3-core.
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi
Op 18-10-18 om 17:37 schreef Khem Raj:
Quoted 8 lines
Hi ferry
Quoted 5 lines · Ferry Toth
On master (to be 2.6): In recipe libgpiod_1.1.1 when enabling python3 bindings the generated libgpiod2 package depends on python3-core. The result is when needing only libgpiod-tools in initramfs the whole of python3 is pulled in.
Quoted 5 lines
This is because of the recommendation thats added to for best out of box instal experience. You can always override that in your image recipe and that will break the rdep chain
BAD_RECOMMENDATIONS+= "libgpiod-python"
I am generating deb's and already receive one warning that deb's do not support BAD_RECOMMENDATIONS. Would that work?
In the deb control file we have:
Depends: libc6 (>= 2.27), python3-core
Recommends: libgpiod-python, libgpiod-tools
Provides: libgpiod
I believe the depends is wrong as it is libgpiod-python that depends on python3-core.
But libgpiod-python control file has only:
Depends: libc6 (>= 2.27), libgpiod2 (>= 1.1.1), libpython3.5m1.0 (>= 3.5.5)
Quoted 9 lines
Quoted 9 lines
I believe this dependency to be incorrect, instead libgpiod-python should depend on python3-core.
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel