Re: [OE-core] [PATCH] boot-directdisk: Fix race condition with bootimg

2013-05-01 Thread Jonathan Liu
On 2/05/2013 12:22 AM, Jonathan Liu wrote: diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass index d265485..fcbee8a 100644 --- a/meta/classes/boot-directdisk.bbclass +++ b/meta/classes/boot-directdisk.bbclass @@ -96,5 +96,5 @@ python do_bootdirectdisk() {

[OE-core] [PATCH] boot-directdisk: Fix race condition with bootimg

2013-05-01 Thread Jonathan Liu
If "vmdk" is added to IMAGE_FSTYPES when building core-image-minimal, there is a race condition where the bootdirectdisk and bootimg tasks may execute concurrently. The bootdirectdisk task is copying the contents of ${HDDDIR} into ${HDDIMG} but at the same time, the bootimg task is writing to ${HDD