[yocto] How to extract files from wic.gz image?

Tom Rini trini at konsulko.com
Fri May 31 06:22:53 PDT 2019


On Fri, May 31, 2019 at 10:21:40PM +1000, JH wrote:
> Hi,
> 
> What command and tools to extract files from Yocto / bitbake image
> such as dev-image-20190528085324.rootfs.wic.gz?
> 
> I am using IMX UUU to install dev-image-20190528085324.rootfs.wic.gz
> to IMX, I was advised to extract the archive and use "uuu <script
> name>" or "uuu u-boot-dtb.imx" to get bootloader work first.

A wic image is just another way of saying it's a raw disk image.
Decompress it, losetup -P (generally useful, but not needed this time)
and dd out the contents you want.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190531/ad03ec2c/attachment.pgp>


More information about the yocto mailing list