mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
wic: Update/rename configure-related code
The wic code inherited a basic image-creation flow based on image-configuration, but wic doesn't actually configure anything, so rename parts of the code dealing with configuration to something more appropriate. (From OE-Core rev: 58dc8879bba31542e2386aaaa70034621b2b1e4e) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d02c91fe4d
commit
28453ae63c
@@ -284,12 +284,13 @@ class DirectImageCreator(BaseImageCreator):
|
||||
% (disk_name, full_path, disk['min_size']))
|
||||
self.__image.assemble(full_path)
|
||||
|
||||
def configure(self):
|
||||
def finalize(self):
|
||||
"""
|
||||
Configure the system image according to kickstart.
|
||||
Finalize the disk image.
|
||||
|
||||
For now, it just prepares the image to be bootable by e.g.
|
||||
For example, prepare the image to be bootable by e.g.
|
||||
creating and installing a bootloader configuration.
|
||||
|
||||
"""
|
||||
source_plugin = self.get_default_source_plugin()
|
||||
if source_plugin:
|
||||
|
||||
@@ -93,7 +93,7 @@ class DirectPlugin(ImagerPlugin):
|
||||
try:
|
||||
creator.create()
|
||||
creator.assemble()
|
||||
creator.configure()
|
||||
creator.finalize()
|
||||
creator.print_outimage_info()
|
||||
|
||||
except errors.CreatorError:
|
||||
|
||||
Reference in New Issue
Block a user