summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2014-08-08 13:43:45 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-11 10:53:12 +0100
commitfa781b2e774e77b26fd44ddabd71f78005527ef5 (patch)
tree4475cf4b887aef17a0037a35e962e8be714de175 /scripts/lib
parenta8d5ed94582161798e00004fa36d1e2a42942a1d (diff)
downloadtizen-distro-fa781b2e774e77b26fd44ddabd71f78005527ef5.tar.gz
tizen-distro-fa781b2e774e77b26fd44ddabd71f78005527ef5.tar.bz2
tizen-distro-fa781b2e774e77b26fd44ddabd71f78005527ef5.zip
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>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/mic/imager/direct.py7
-rw-r--r--scripts/lib/mic/plugins/imager/direct_plugin.py2
2 files changed, 5 insertions, 4 deletions
diff --git a/scripts/lib/mic/imager/direct.py b/scripts/lib/mic/imager/direct.py
index 8d7b6ee804..17bfd01566 100644
--- a/scripts/lib/mic/imager/direct.py
+++ b/scripts/lib/mic/imager/direct.py
@@ -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:
diff --git a/scripts/lib/mic/plugins/imager/direct_plugin.py b/scripts/lib/mic/plugins/imager/direct_plugin.py
index 2cbd5d11fc..ff30f09c3b 100644
--- a/scripts/lib/mic/plugins/imager/direct_plugin.py
+++ b/scripts/lib/mic/plugins/imager/direct_plugin.py
@@ -93,7 +93,7 @@ class DirectPlugin(ImagerPlugin):
try:
creator.create()
creator.assemble()
- creator.configure()
+ creator.finalize()
creator.print_outimage_info()
except errors.CreatorError: