mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
2573e285d0
commit
af8b00556e
@@ -46,7 +46,7 @@ class BootimgEFIPlugin(SourcePlugin):
|
||||
"""
|
||||
Create loader-specific (grub-efi) config
|
||||
"""
|
||||
configfile = kickstart.get_bootloader_file(creator.ks)
|
||||
configfile = creator.ks.bootloader.configfile
|
||||
custom_cfg = None
|
||||
if configfile:
|
||||
custom_cfg = get_custom_config(configfile)
|
||||
@@ -104,7 +104,7 @@ class BootimgEFIPlugin(SourcePlugin):
|
||||
cfg.write(loader_conf)
|
||||
cfg.close()
|
||||
|
||||
configfile = kickstart.get_bootloader_file(creator.ks)
|
||||
configfile = creator.ks.bootloader.configfile
|
||||
custom_cfg = None
|
||||
if configfile:
|
||||
custom_cfg = get_custom_config(configfile)
|
||||
|
||||
Reference in New Issue
Block a user