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_rpm.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_rpm.bbclass')
-rw-r--r-- | meta/classes-global/package_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-global/package_rpm.bbclass b/meta/classes-global/package_rpm.bbclass index 39efcc328e..7ba73f48e7 100644 --- a/meta/classes-global/package_rpm.bbclass +++ b/meta/classes-global/package_rpm.bbclass | |||
@@ -341,7 +341,7 @@ python write_specfile () { | |||
341 | 341 | ||
342 | localdata.setVar('OVERRIDES', d.getVar("OVERRIDES", False) + ":" + pkg) | 342 | localdata.setVar('OVERRIDES', d.getVar("OVERRIDES", False) + ":" + pkg) |
343 | 343 | ||
344 | conffiles = get_conffiles(pkg, d) | 344 | conffiles = oe.package.get_conffiles(pkg, d) |
345 | dirfiles = localdata.getVar('DIRFILES') | 345 | dirfiles = localdata.getVar('DIRFILES') |
346 | if dirfiles is not None: | 346 | if dirfiles is not None: |
347 | dirfiles = dirfiles.split() | 347 | dirfiles = dirfiles.split() |