On 02/11/2016 07:03 AM, Jon Szymaniak wrote:
I ran into this problem as well, but with parted. My hack was to use dd to write the correct type ID into the image's MBR after I finished creating the partitions on the image file.
Thanks Jon Szymaniak,
I was also thinking about a similar solution, the reason wic has this limitation is probably because it uses parted under the hood and parted doesn't allow you to set the partition id to an arbitrary value. A safer way to do this might be with the help of fdisk as it allows you to change partition's system id using the 't' sub command in interactive mode. But I am looking for a way to do this using existing options in wic.

Regards,
Fahad Usman.
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to