[OE-core] Running wic on target?

Ed Bartosh ed.bartosh at linux.intel.com
Thu Aug 31 07:38:10 UTC 2017


On Thu, Aug 31, 2017 at 09:17:03AM +0200, Mike Looijmans wrote:
> I noticed that the "wic" recipes appear to focus on the host only.
> 
> Would it be possible to run "wic" on target?
> 
> For example, it would be really convenient to be able to program the eMMC
> using wic and auto-expanding the root or data partition to cover the whole
> device.
> 

Wic depends on too many things that are not present on target image.
pseudo and bitbake are two hardest cases. Making wic less dependent on
them would end up in much more complex code than wic has currently.

However, 'wic write [--expand]' functionality can be copied to simple script
relatively easy as it only depends on bunch of tools like parted, sfdisk,
resize2fs etc. I'd suggest to keep this functionality in wic as it's
handy to use wic to flash target media. This would create a bit of
overlap in functionality but it worth it from my point of view.

--
Regards,
Ed



More information about the Openembedded-core mailing list