image.bbclass: reorder do_rootfs
authorRoman I Khimov <khimov@altell.ru>
Sun, 29 Mar 2009 21:59:57 +0000 (21:59 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 21 Apr 2009 20:44:46 +0000 (22:44 +0200)
commit736c06e8d8efa79d3d2bc512f13a51f0f63412e2
tree91f12436d6fc3084d742c3ea31f33f57ebbb2f8e
parent98c24291aa165f53423c27ae033831ce0b3bb676
image.bbclass: reorder do_rootfs

Places do_rootfs function before do_install in image creation process.

This change allows multiimage builds, when one image depends on another (before
that second image creation raced with do_rootfs for the first one) and uses
it for some purpose.

Multiimage builds are useful in situations like creating an installer image
with initramfs (built in OE) and an image of the target FS (also built in OE)
or for building virtualized system images to be placed on target FS.

Signed-off-by: Koen Kooi <koen@openembedded.org>
classes/image.bbclass