diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-01-14 14:12:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 11:47:06 +0000 |
commit | af8b00556e09253dac3cf75934e7719268abe198 (patch) | |
tree | 87818bd59c6ae5a13df88fdbb7a66079a0b23eda /scripts/lib/wic/plugins/source/bootimg-efi.py | |
parent | 2573e285d01106deaedea648f7c7566020721be7 (diff) | |
download | poky-af8b00556e09253dac3cf75934e7719268abe198.tar.gz |
wic: get rid of 2 getters
Used partitions and configfile bootloader attributes instead of
using getters get_bootloader_file and get_partitions.
(From OE-Core rev: d34dd190e1da00ca8c9b2cb0adba15b9f0de2920)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/bootimg-efi.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-efi.py | 4 |
1 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 8bfa3a96ce..22f981389e 100644 --- a/scripts/lib/wic/plugins/source/bootimg-efi.py +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py | |||
@@ -46,7 +46,7 @@ class BootimgEFIPlugin(SourcePlugin): | |||
46 | """ | 46 | """ |
47 | Create loader-specific (grub-efi) config | 47 | Create loader-specific (grub-efi) config |
48 | """ | 48 | """ |
49 | configfile = kickstart.get_bootloader_file(creator.ks) | 49 | configfile = creator.ks.bootloader.configfile |
50 | custom_cfg = None | 50 | custom_cfg = None |
51 | if configfile: | 51 | if configfile: |
52 | custom_cfg = get_custom_config(configfile) | 52 | custom_cfg = get_custom_config(configfile) |
@@ -104,7 +104,7 @@ class BootimgEFIPlugin(SourcePlugin): | |||
104 | cfg.write(loader_conf) | 104 | cfg.write(loader_conf) |
105 | cfg.close() | 105 | cfg.close() |
106 | 106 | ||
107 | configfile = kickstart.get_bootloader_file(creator.ks) | 107 | configfile = creator.ks.bootloader.configfile |
108 | custom_cfg = None | 108 | custom_cfg = None |
109 | if configfile: | 109 | if configfile: |
110 | custom_cfg = get_custom_config(configfile) | 110 | custom_cfg = get_custom_config(configfile) |