bmaptool: Add bmap-tools runtime alias for compatibility
PATCH v2 1/1 bmaptool: Add bmap-tools runtime alias for compatibility
The rename of bmap-tools to bmaptool creates an incompatibility that will break package feeds. Restore compatibility by adding bmap-tools as a runtime alias.
--- meta/recipes-support/bmaptool/bmaptool_git.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta/recipes-support/bmaptool/bmaptool_git.bb +5 -0
@@ -28,4 +28,9 @@ RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap pyt inherit setuptools3 +# For compatibility with layers before scarthgap +RPROVIDES:${PN} = "bmap-tools" +RREPLACES:${PN} = "bmap-tools" +RCONFLICTS:${PN} = "bmap-tools" + BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
meta/recipes-support/bmaptool/bmaptool_git.bb RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap pyt · line 34
Quoted 4 lines · Tom Hochstein
meta/recipes-support/bmaptool/bmaptool_git.bb +4
-0+# For compatibility with layers before scarthgap +RPROVIDES:${PN} = "bmap-tools" +RREPLACES:${PN} = "bmap-tools" +RCONFLICTS:${PN} = "bmap-tools"
Only RREPLACES/RCONFLICTS please. Do not add the obsolete RPROVIDES.
Alex
Em qui., 7 de mar. de 2024 às 13:14, Alexander Kanavin < [email protected]> escreveu:
Quoted 8 lines · Tom Hochstein
meta/recipes-support/bmaptool/bmaptool_git.bb RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap pyt · line 34
Quoted 4 lines
meta/recipes-support/bmaptool/bmaptool_git.bb +4
-0+# For compatibility with layers before scarthgap +RPROVIDES:${PN} = "bmap-tools" +RREPLACES:${PN} = "bmap-tools" +RCONFLICTS:${PN} = "bmap-tools"Only RREPLACES/RCONFLICTS please. Do not add the obsolete RPROVIDES.
For package feed upgrade it is required.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
Is it? Why? There’s plenty of recipes in core that don’t do it. Package managers resolvers are able to figure out that one package needs to be replaced with another.
Alex
Quoted 32 lines · Otavio Salvador
Em qui., 7 de mar. de 2024 às 13:14, Alexander Kanavin < [email protected]> escreveu:
Quoted 8 lines · Tom Hochstein
meta/recipes-support/bmaptool/bmaptool_git.bb RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap pyt · line 34
Quoted 4 lines
meta/recipes-support/bmaptool/bmaptool_git.bb +4
-0+# For compatibility with layers before scarthgap +RPROVIDES:${PN} = "bmap-tools" +RREPLACES:${PN} = "bmap-tools" +RCONFLICTS:${PN} = "bmap-tools"Only RREPLACES/RCONFLICTS please. Do not add the obsolete RPROVIDES.
For package feed upgrade it is required.
--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#196805):
https://lists.openembedded.org/g/openembedded-core/message/196805
Mute This Topic: https://lists.openembedded.org/mt/104787184/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-