summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/image.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-06 22:57:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-11 15:54:34 +0000
commit800528eaa421d451b596545125cb218e08989151 (patch)
tree1eb806292cc521d9b232a66cc72380f4499e804b /meta/lib/oe/image.py
parent57578d0ca6c3aaf6edf0af2c4862d43c97415156 (diff)
downloadopenembedded-core-contrib-800528eaa421d451b596545125cb218e08989151.tar.gz
image: Move pre/post process commands to bbclass
As the next step in splitting up do_image, move the pre and post processing commands to separate tasks. This also creates the do_image_complete task which acts as the end marker task for image generation. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/image.py')
-rw-r--r--meta/lib/oe/image.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py
index 52ac1e752c..b2b002b190 100644
--- a/meta/lib/oe/image.py
+++ b/meta/lib/oe/image.py
@@ -351,12 +351,6 @@ class Image(ImageDepGraph):
def create(self):
bb.note("###### Generate images #######")
- pre_process_cmds = self.d.getVar("IMAGE_PREPROCESS_COMMAND", True)
- post_process_cmds = self.d.getVar("IMAGE_POSTPROCESS_COMMAND", True)
-
- execute_pre_post_process(self.d, pre_process_cmds)
-
- self._remove_old_symlinks()
image_cmd_groups = self._get_imagecmds()
@@ -406,9 +400,6 @@ class Image(ImageDepGraph):
bb.note("Creating symlinks for %s image ..." % image_type)
self._create_symlinks(subimages)
- execute_pre_post_process(self.d, post_process_cmds)
-
-
def create_image(d):
Image(d).create()