[OE-core] Creating 'wic' image

Christopher Larson clarson at kergoth.com
Mon Nov 14 15:51:47 UTC 2016


On Mon, Nov 14, 2016 at 8:23 AM, Mike Looijmans <mike.looijmans at topic.nl>
wrote:

> In order to make life easier for people, I was looking into creating
> images with the "wic" tool.
>
> There's just one big piece of documentation lacking: What's the format it
> wants my rootfs and boot files?
> http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html
>
> Basically I want an SD card with a FAT boot partition and an ext4 rootfs,
> and "sdimage-bootpart" is pretty close to that.
>
> Without "wic", I build a tar of the rootfs and copy the boot files using a
> bit of shell scripting.
>
> Adding "wic" to IMAGE_FSTYPES just results in an error that I should set
> WKS_FILE but I have no clue as to what file that should point to.
>
> Running wic manually just results in more missing variables that I can't
> find what to specify in them...
>

WKS_FILE is how you tell it to use sdimage-bootpart.wks. IMAGE_BOOT_FILES
Is how to add extra files to the fat boot partiiton.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161114/0b030fdd/attachment-0002.html>


More information about the Openembedded-core mailing list