Project

General

Profile

suggestion: add parted and mtools to docker-pocky

Added by Nathan Wright 6 months ago

You need them if you want to use the wic tool to inspect wic files that have fat partitions.

I attach to a running container as root and install them myself right now. It wouldn't hurt to have them in the image to begin with.


Replies (2)

RE: suggestion: add parted and mtools to docker-pocky - Added by Joshua Bourgeot 6 months ago

Hi Nathan,

The Docker-poky script uses the Crops poky docker image (https://hub.docker.com/r/crops/poky), so we don't have control over what's installed on the image.

However, Yocto does build those tools as part of the build process, so you can pass these tools to wic. You can see how this is done in this script: sources/meta-mitysom/recipes-bsp/sd-images/rename-gp-wic-images/rename-gp-wic-images.sh.

Let me know if this helps,
Joshua Bourgeot

RE: suggestion: add parted and mtools to docker-pocky - Added by Nathan Wright 6 months ago

Thanks! Specifying -n to identify where the tools are does work.

    (1-2/2)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)