Skip to contentSkip to conversation

bmaptool: Add bmap-tools runtime alias for compatibility

PATCH Superseded Tom Hochstein 3 participants 4 messages Mar 7, 2024

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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
index 87328af8c6..f0f3b85902 100644
@@ -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
#1 lore raw

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

#2 lore raw

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
#3 lore raw

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 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

-=-=-=-=-=-=-=-=-=-=-=-
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]]
-=-=-=-=-=-=-=-=-=-=-=-