Re: [OE-core] [PATCH v2] bmaptool: Add bmap-tools runtime alias for compatibility
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 On Thu 7. Mar 2024 at 17.17, Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > > > Em qui., 7 de mar. de 2024 às 13:14, Alexander Kanavin < > alex.kana...@gmail.com> escreveu: > >> On Thu, 7 Mar 2024 at 14:43, Tom Hochstein wrote: >> > +# 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 Salvador O.S. Systems > http://www.ossystems.com.brhttp://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 (#196806): https://lists.openembedded.org/g/openembedded-core/message/196806 Mute This Topic: https://lists.openembedded.org/mt/104787184/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v2] bmaptool: Add bmap-tools runtime alias for compatibility
Em qui., 7 de mar. de 2024 às 13:14, Alexander Kanavin < alex.kana...@gmail.com> escreveu: > On Thu, 7 Mar 2024 at 14:43, Tom Hochstein wrote: > > +# 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 Salvador O.S. Systems http://www.ossystems.com.brhttp://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/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH v2] bmaptool: Add bmap-tools runtime alias for compatibility
On Thu, 7 Mar 2024 at 14:43, Tom Hochstein wrote: > +# 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 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#196804): https://lists.openembedded.org/g/openembedded-core/message/196804 Mute This Topic: https://lists.openembedded.org/mt/104787184/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH v2] 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. Acked-by: Otavio Salvador Signed-off-by: Tom Hochstein --- meta/recipes-support/bmaptool/bmaptool_git.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-support/bmaptool/bmaptool_git.bb b/meta/recipes-support/bmaptool/bmaptool_git.bb index 87328af8c6..f0f3b85902 100644 --- a/meta/recipes-support/bmaptool/bmaptool_git.bb +++ b/meta/recipes-support/bmaptool/bmaptool_git.bb @@ -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" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#196791): https://lists.openembedded.org/g/openembedded-core/message/196791 Mute This Topic: https://lists.openembedded.org/mt/104787184/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-