On 20 April 2016 at 13:25, Tim Kilbourn <[email protected]> wrote:
> From: Robert Yang <[email protected]>
>
> Fixed when rebuild:
> mkdosfs: file /path/to/hdd.image already exists
>
> Signed-off-by: Robert Yang <[email protected]>
> Signed-off-by: Ross Burton <[email protected]>
> (cherry-pick from 9abcd309c098558360cde2bff65be840ead25f83)
> Signed-off-by: Tim Kilbourn <[email protected]>
> ---
>  meta/classes/boot-directdisk.bbclass | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/boot-directdisk.bbclass 
> b/meta/classes/boot-directdisk.bbclass
> index 600e21a..b324d89 100644
> --- a/meta/classes/boot-directdisk.bbclass
> +++ b/meta/classes/boot-directdisk.bbclass
> @@ -121,6 +121,8 @@ build_boot_dd() {
>         # done in blocks, thus the mod by 16 instead of 32.
>         BLOCKS=$(expr $BLOCKS + $(expr 16 - $(expr $BLOCKS % 16)))
>
> +       # Remove it since mkdosfs would fail when it exists
> +       rm -f $HDDIMG
>         mkdosfs -n ${BOOTDD_VOLUME_ID} -S 512 -C $HDDIMG $BLOCKS
>         mcopy -i $HDDIMG -s $HDDDIR/* ::/
>
> --
> 1.9.1
>

This one has bitten us too. +1


> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to