wic: don't set creator.bootimg_dir in plugins
Changing bootimg_dir in plugins is a dangerous hack as this value comes from wic command line and can be used by multiple plugins. (From OE-Core rev: 2457ea5338f7309316b474562b4723e8cb09286d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
d38d526991
commit
ce627abf86
|
@ -189,8 +189,6 @@ class BootimgEFIPlugin(SourcePlugin):
|
|||
bootimg_dir = get_bitbake_var("DEPLOY_DIR_IMAGE")
|
||||
if not bootimg_dir:
|
||||
raise WicError("Couldn't find DEPLOY_DIR_IMAGE, exiting")
|
||||
# just so the result notes display it
|
||||
creator.bootimg_dir = bootimg_dir
|
||||
|
||||
staging_kernel_dir = kernel_dir
|
||||
|
||||
|
|
|
@ -153,8 +153,6 @@ class BootimgPcbiosPlugin(SourcePlugin):
|
|||
raise WicError("Couldn't find STAGING_DATADIR, exiting")
|
||||
if not _has_syslinux(bootimg_dir):
|
||||
raise WicError("Please build syslinux first")
|
||||
# just so the result notes display it
|
||||
creator.bootimg_dir = bootimg_dir
|
||||
|
||||
staging_kernel_dir = kernel_dir
|
||||
|
||||
|
|
Loading…
Reference in New Issue