[RFC,4/4] hello: Use BPN instead of PN

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

Commit Message

Anton Mikanovich Feb. 16, 2024, 2:34 p.m. UTC
If building hello-compat package sources for hello package should be
fetched from repository. So use package name value without suffix.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta-isar/recipes-app/hello/hello.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta-isar/recipes-app/hello/hello.bb b/meta-isar/recipes-app/hello/hello.bb
index acf8ed73..0700ea6e 100644
--- a/meta-isar/recipes-app/hello/hello.bb
+++ b/meta-isar/recipes-app/hello/hello.bb
@@ -10,7 +10,7 @@  inherit dpkg
 # i.e. "apt://hello=2.10-2".
 # You may also select the desired release in case multiples are configured and
 # you do want to pin the version: "apt://hello/buster".
-SRC_URI = "apt://${PN}"
+SRC_URI = "apt://${BPN}"
 
 MAINTAINER = "isar-users <isar-users@googlegroups.com>"
 CHANGELOG_V = "<orig-version>+isar"