mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
@@ -269,7 +269,7 @@ def deb_write_pkg(pkg, d):
|
||||
scriptfile.close()
|
||||
os.chmod(os.path.join(controldir, script), 0o755)
|
||||
|
||||
conffiles_str = ' '.join(get_conffiles(pkg, d))
|
||||
conffiles_str = ' '.join(oe.package.get_conffiles(pkg, d))
|
||||
if conffiles_str:
|
||||
conffiles = open(os.path.join(controldir, 'conffiles'), 'w')
|
||||
for f in conffiles_str.split():
|
||||
|
||||
Reference in New Issue
Block a user