]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: Separate out image generation into a new task, do_image
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Jan 2016 22:57:34 +0000 (22:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jan 2016 15:54:34 +0000 (15:54 +0000)
commit57578d0ca6c3aaf6edf0af2c4862d43c97415156
tree7762ddf85fd70b342d26f0c4c00870ac958aa7b0
parent38237b7ac53c416f85c4a70a61acafc3404c8b5f
image.bbclass: Separate out image generation into a new task, do_image

I've heard complaints from people trying to create more interesting image
types about how hard it is to understand the rootfs/image generation code
and that its a pain to develop/test/debug.

Having looked at it myself, the internal construction of shell functions which
then gets passed into a multiprocessing pool is rather convoluted and it places
rather odd constraints on when variables are expanded. Its therefore no wonder
people find it confusing/complex.

This patch starts the process of splitting this up by separating out image
generation from the do_rootfs task into a new do_image task.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass