DORMANTno replies

[PATCH] packagedata: Fix after override syntax change

From: Richard Purdie <hidden>
Date: 2021-08-06 08:25:24
Subsystem: the rest · Maintainer: Linus Torvalds

Fix a reference that should have been part of the override syntax change
causing packages to be written out incorrectly.

Signed-off-by: Richard Purdie <redacted>
---
 meta/classes/packagedata.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/packagedata.bbclass b/meta/classes/packagedata.bbclass
index 3b962f29b53..c2760e2bf0c 100644
--- a/meta/classes/packagedata.bbclass
+++ b/meta/classes/packagedata.bbclass
@@ -27,7 +27,7 @@ python read_subpackage_metadata () {
             # of that variable, e.g. DESCRIPTION could clobber DESCRIPTION:<pkgname>
             # We therefore don't clobber for the unsuffixed variable versions
             #
-            if key.endswith("_" + pkg):
+            if key.endswith(":" + pkg):
                 d.setVar(key, sdata[key])
             else:
                 d.setVar(key, sdata[key], parsing=True)
-- 
2.30.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help