On 02/05 00:39, Alexandre Belloni wrote:
> On 04/02/2015 at 17:18:15 -0600, Tom Zanussi wrote :
> > On Wed, 2015-02-04 at 23:49 +0100, Alexandre Belloni wrote:
> > > Stop removing the whole working directory as this is also removing
> > > eventual previously created partition images, leading to image creation
> > > failures.
> > >
> >
> > I'm surprised - I've never run into a problem like this.  Can you give
> > more details and/or a reproducer?
> >
>
> Sure, something like that in your wks will fail:
> part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4
> part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label 
> boot --active --align 4 --size 16
>
> The error being:
> Error: exec_cmd: dd if=/var/tmp/wic/build/rootfs_root.ext4
> of=/var/tmp/wic/build/test-201502050034-mmcblk.direct bs=512 seek=8
> count=294174 conv=notrunc returned '1' instead of 0
>
> Using bootimg-partition anywhere but in the first position will fail
> because the previously generated fs images (in my example
> rootfs_root.ext4) will be removed.
>

Acked-by: Maciej Borzecki <[email protected]>

--
Maciej Borzęcki
Senior Software Developer at Open-RnD Sp. z o.o., Poland
www.open-rnd.pl
mobile: +48 889 117 365, fax: +48 42 657 9079


Niniejsza wiadomość wraz z załącznikami może
zawierać chronione prawem lub poufne informacje i została
wysłana wyłącznie do wiadomości i użytku osób, do których
została zaadresowana. Jeśli wiadomość została otrzymana
przypadkowo zabrania się jej kopiowania lub rozsyłania do osób
trzecich. W takim przypadku uprasza się o natychmiastowe
zniszczenie wiadomości oraz poinformowanie nadawcy o
zaistniałej sytuacji za pomocą wiadomości zwrotnej.
Dziękujemy.

This message, including any attachments hereto,
may contain privileged or confidential information and is sent
solely for the attention and use of the intended addressee(s).
If you are not an intended addressee, you may neither use this
message nor copy or deliver it to anyone. In such case, you
should immediately destroy this message and kindly notify the
sender by reply email. Thank you.
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to