]> code.ossystems Code Review - openembedded-core.git/commitdiff
packagedata: Fix after override syntax change
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Aug 2021 08:24:40 +0000 (09:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Aug 2021 08:25:15 +0000 (09:25 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/classes/packagedata.bbclass

index 3b962f29b532e77d6f51386169836be6bcf5aa19..c2760e2bf0cf28e3feee98610daf4384178bb2df 100644 (file)
@@ -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)