summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
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 23:26:29 +0000
commitfdced52387613a09368716d1f3bb7a13a6edd46d (patch)
treebf567799762d0b27f80e563193553d78fff28ad6 /meta/lib/oe
parentcdc0aeed9b17387ea37dcbfef7d474cce372e8db (diff)
downloadpoky-fdced52387613a09368716d1f3bb7a13a6edd46d.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. (From OE-Core rev: 800528eaa421d451b596545125cb218e08989151) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-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):
351 351
352 def create(self): 352 def create(self):
353 bb.note("###### Generate images #######") 353 bb.note("###### Generate images #######")
354 pre_process_cmds = self.d.getVar("IMAGE_PREPROCESS_COMMAND", True)
355 post_process_cmds = self.d.getVar("IMAGE_POSTPROCESS_COMMAND", True)
356
357 execute_pre_post_process(self.d, pre_process_cmds)
358
359 self._remove_old_symlinks()
360 354
361 image_cmd_groups = self._get_imagecmds() 355 image_cmd_groups = self._get_imagecmds()
362 356
@@ -406,9 +400,6 @@ class Image(ImageDepGraph):
406 bb.note("Creating symlinks for %s image ..." % image_type) 400 bb.note("Creating symlinks for %s image ..." % image_type)
407 self._create_symlinks(subimages) 401 self._create_symlinks(subimages)
408 402
409 execute_pre_post_process(self.d, post_process_cmds)
410
411
412def create_image(d): 403def create_image(d):
413 Image(d).create() 404 Image(d).create()
414 405