diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-04 13:18:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-05 11:52:50 +0000 |
commit | a099ed2125fbd822342b7fc124e3c659b26d29c9 (patch) | |
tree | d62cbc302f02f2e692acfc61cc7f0fad0d7bab81 /meta/classes-global/package_deb.bbclass | |
parent | 93be2cdf492e1ec3d3c13f9c2ce82346be323da6 (diff) | |
download | poky-a099ed2125fbd822342b7fc124e3c659b26d29c9.tar.gz |
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>
Diffstat (limited to 'meta/classes-global/package_deb.bbclass')
-rw-r--r-- | meta/classes-global/package_deb.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/package_deb.bbclass b/meta/classes-global/package_deb.bbclass index c3ae7d574d..99e377b455 100644 --- a/meta/classes-global/package_deb.bbclass +++ b/meta/classes-global/package_deb.bbclass | |||
@@ -169,7 +169,7 @@ def deb_write_pkg(pkg, d): | |||
169 | 169 | ||
170 | # more fields | 170 | # more fields |
171 | 171 | ||
172 | custom_fields_chunk = get_package_additional_metadata("deb", localdata) | 172 | custom_fields_chunk = oe.packagedata.get_package_additional_metadata("deb", localdata) |
173 | if custom_fields_chunk: | 173 | if custom_fields_chunk: |
174 | ctrlfile.write(custom_fields_chunk) | 174 | ctrlfile.write(custom_fields_chunk) |
175 | ctrlfile.write("\n") | 175 | ctrlfile.write("\n") |