summaryrefslogtreecommitdiffstats
path: root/meta/classes/license_image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-16 16:20:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-17 09:53:04 +0100
commitbc65a37ef50faba339fb54d6a89ef9da0298bbbe (patch)
tree14101e5d90cde6a8f0ce6aa01da0ea10800a52d5 /meta/classes/license_image.bbclass
parentdd6b55d70c0616e69ecc7366650cd0f7e1678bd8 (diff)
downloadpoky-bc65a37ef50faba339fb54d6a89ef9da0298bbbe.tar.gz
package: Fix overrides converion issue with PKGSIZE
This fixes pkgdata PKGSIZE info after the overrides change. (From OE-Core rev: 6964f06e48c7002c9ad788aa04bd8873fb3ee024) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license_image.bbclass')
-rw-r--r--meta/classes/license_image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license_image.bbclass b/meta/classes/license_image.bbclass
index 5cec7a07fa..5490d121f1 100644
--- a/meta/classes/license_image.bbclass
+++ b/meta/classes/license_image.bbclass
@@ -87,7 +87,7 @@ def write_license_files(d, license_manifest, pkg_dic, rootfs=True):
87 # If the package doesn't contain any file, that is, its size is 0, the license 87 # If the package doesn't contain any file, that is, its size is 0, the license
88 # isn't relevant as far as the final image is concerned. So doing license check 88 # isn't relevant as far as the final image is concerned. So doing license check
89 # doesn't make much sense, skip it. 89 # doesn't make much sense, skip it.
90 if pkg_dic[pkg]["PKGSIZE_%s" % pkg] == "0": 90 if pkg_dic[pkg]["PKGSIZE:%s" % pkg] == "0":
91 continue 91 continue
92 else: 92 else:
93 # Image manifest 93 # Image manifest