diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-09 16:48:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:34 -0800 |
commit | c2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed (patch) | |
tree | d0f0415268893d5d4482fad339da9cc50e854854 /scripts/lib/wic/plugins/source | |
parent | caa243a86ba50c676f8eb0a71440885a49f10cc4 (diff) | |
download | openembedded-core-c2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed.tar.gz openembedded-core-c2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed.tar.bz2 openembedded-core-c2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed.zip |
wic: direct: remove set_bootimg_dir setter
Removed java-like setter set_bootimg_dir. It's more pythonic
to access public attributes directly.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib/wic/plugins/source')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py b/scripts/lib/wic/plugins/source/bootimg-efi.py index dd6c920267..95316c80c0 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py @@ -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 diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index 0be2b78e51..e5f6a328ed 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py @@ -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 |