mbox series

[RFC,0/4] Warn on PN usage for virtual packages

Message ID 20240216143426.3490967-1-amikan@ilbers.de
Headers show
Series Warn on PN usage for virtual packages | expand

Message

Anton Mikanovich Feb. 16, 2024, 2:34 p.m. UTC
Compat and native packages can fail in case variables will have PN in
their content. For correct behaviour BPN (which is PN without suffix)
should be used instead.
We are hiding PN->BPN fallback fix from recipe authors but should warn
them to force moving to BPN usage.
There are also some PN usages in Isar need to be fixed.

This patchset should be placed on top of:
[PATCH v2 0/4] Fix SRC_URI:remove ignoring

Sending it as RFC because of high influence on downstreams by flooding
build log with new warnings.

Anton Mikanovich (4):
  multiarch: Add warning on PN usage fallback
  meta/conf/bitbake.conf: Set global BPN
  base: Fix FILESPATH value for -native and -compat
  hello: Use BPN instead of PN

 meta-isar/recipes-app/hello/hello.bb | 2 +-
 meta/classes/base.bbclass            | 2 +-
 meta/classes/multiarch.bbclass       | 4 ++--
 meta/classes/sdk.bbclass             | 1 -
 meta/conf/bitbake.conf               | 1 +
 5 files changed, 5 insertions(+), 5 deletions(-)