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

Jonathan Liu net147 at gmail.com
Wed May 1 15:22:19 UTC 2013


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() {
>       bb.build.exec_func('build_boot_dd', d)
>   }
>   
> -addtask bootdirectdisk before do_build
> +addtask bootdirectdisk after do_bootimg before do_build
>   do_bootdirectdisk[nostamp] = "1"
The strange thing is, it seems the generated .hdddirect has two copies 
of the root filesystem - one in rootfs.img in the fat partition, and one 
as an ext3 partition.
So maybe there is another conflict with bootimg that needs to be considered.

Regards,
Jonathan




More information about the Openembedded-core mailing list