mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
wic: direct: remove set_bootimg_dir setter
Removed java-like setter set_bootimg_dir. It's more pythonic to access public attributes directly. (From OE-Core rev: c2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed) 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
6d91c5f6f4
commit
417e5fbe2b
@@ -187,7 +187,7 @@ class BootimgEFIPlugin(SourcePlugin):
|
||||
if not bootimg_dir:
|
||||
msger.error("Couldn't find DEPLOY_DIR_IMAGE, exiting\n")
|
||||
# just so the result notes display it
|
||||
creator.set_bootimg_dir(bootimg_dir)
|
||||
creator.bootimg_dir = bootimg_dir
|
||||
|
||||
staging_kernel_dir = kernel_dir
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ class BootimgPcbiosPlugin(SourcePlugin):
|
||||
if not _has_syslinux(bootimg_dir):
|
||||
msger.error("Please build syslinux first\n")
|
||||
# just so the result notes display it
|
||||
creator.set_bootimg_dir(bootimg_dir)
|
||||
creator.bootimg_dir = bootimg_dir
|
||||
|
||||
staging_kernel_dir = kernel_dir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user