1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

package: Move pkgdata handling functions to oe.packagedata

To avoid reparsing the bbclass code all the time, move the functions
to the packagedata python function library code which is more efficient.

(From OE-Core rev: f520a3039540b1183b1b2bdaaf8b9195995c0187)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2023-01-04 13:18:03 +00:00
parent 93be2cdf49
commit a099ed2125
7 changed files with 69 additions and 69 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ def deb_write_pkg(pkg, d):
# more fields
custom_fields_chunk = get_package_additional_metadata("deb", localdata)
custom_fields_chunk = oe.packagedata.get_package_additional_metadata("deb", localdata)
if custom_fields_chunk:
ctrlfile.write(custom_fields_chunk)
ctrlfile.write("\n")