[oe] [PATCH] image.bbclass: reorder do_rootfs

Koen Kooi k.kooi at student.utwente.nl
Tue Apr 21 21:05:55 UTC 2009


On 21-04-09 22:41, Tom Rini wrote:
> On Mon, Mar 30, 2009 at 11:59:57AM +0400, Roman I Khimov wrote:
>
>> 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.
>
> So, the problem we have happen is that opkg (or dpkg or ...) gets into a
> race because>1 image are trying to muck around in ${TMPDIR}/rootfs,

No, there's a lockfile for that, otherwise 'bitbake foo-image bar-image' 
wouldn't work (it didn't for a long time).

regards,

Koen





More information about the Openembedded-devel mailing list