diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-04 13:05:33 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-05 11:52:50 +0000 |
| commit | 93be2cdf492e1ec3d3c13f9c2ce82346be323da6 (patch) | |
| tree | 2678b4740c7ff1c1b4a0fa32d9b5bdb74e6b1241 /meta/classes-global/package_deb.bbclass | |
| parent | ed07d52b476a22959cdd1c61d1c396345f996bbf (diff) | |
| download | poky-93be2cdf492e1ec3d3c13f9c2ce82346be323da6.tar.gz | |
package: Move get_conffiles/files_from_filevars functions to lib
To avoid reparsing the bbclass code all the time, move the functions
to the python function library code which is more efficient.
(From OE-Core rev: 424e65627c018b3119050f515b0c7cfb43be5573)
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 ec7e10dbc9..c3ae7d574d 100644 --- a/meta/classes-global/package_deb.bbclass +++ b/meta/classes-global/package_deb.bbclass | |||
| @@ -269,7 +269,7 @@ def deb_write_pkg(pkg, d): | |||
| 269 | scriptfile.close() | 269 | scriptfile.close() |
| 270 | os.chmod(os.path.join(controldir, script), 0o755) | 270 | os.chmod(os.path.join(controldir, script), 0o755) |
| 271 | 271 | ||
| 272 | conffiles_str = ' '.join(get_conffiles(pkg, d)) | 272 | conffiles_str = ' '.join(oe.package.get_conffiles(pkg, d)) |
| 273 | if conffiles_str: | 273 | if conffiles_str: |
| 274 | conffiles = open(os.path.join(controldir, 'conffiles'), 'w') | 274 | conffiles = open(os.path.join(controldir, 'conffiles'), 'w') |
| 275 | for f in conffiles_str.split(): | 275 | for f in conffiles_str.split(): |
