mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
wic: get rid of set_size and set_source_file setters
Used size and source_file attributes instead of using setters. It's more pythonic, clear an consistent. (From OE-Core rev: 7cf236047fa5d0d947fd214181c9a63ccb2509ac) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5cd222b19f
commit
2573e285d0
@@ -235,5 +235,5 @@ class BootimgEFIPlugin(SourcePlugin):
|
||||
out = exec_cmd(du_cmd)
|
||||
bootimg_size = out.split()[0]
|
||||
|
||||
part.set_size(bootimg_size)
|
||||
part.set_source_file(bootimg)
|
||||
part.size = bootimg_size
|
||||
part.source_file = bootimg
|
||||
|
||||
Reference in New Issue
Block a user