[yocto] Wic can't find mkfs.btrfs

Timothy Froehlich tfroehlich at archsys.io
Tue Mar 19 13:15:58 PDT 2019


Ok, I think I'm along the path to figuring this out. Realized that
btrfs-tools-native:do_populate_sysroot needed to be explicitly run by
something.

On Tue, Mar 19, 2019 at 12:40 PM Timothy Froehlich <tfroehlich at archsys.io>
wrote:

> Been slogging through this one for a bit, would appreciate any helpful
> suggestions.
>
> I'm using mender.io's layer which includes a class that builds a full SD
> card image including multiple partitions. I'm trying to turn one of those
> partitions into a btrfs partition and my current error is "A native program
> mkfs.btrfs... was not found". Wic's source code comments suggest that it's
> looking for native utils in STAGING_DIR_NATIVE, which bitbake -e says is in
> work/<target>/<imgname>/<imgversion>/recipe-sysroot, and when I checked, it
> does indeed include mkfs.ext4/vfat but not btrfs. I haven't yet found the
> mechanism that copies these files into the location (thought occurs to me
> to check the image's logs itself) so I don't know what mechanism is failing
> to copy the mkfs.btrfs but is working for mkfs.ext*. Any pointers?
>
> --
> Tim Froehlich
> Embedded Linux Engineer
> tfroehlich at archsys.io
> 215-218-8955
>


-- 
Tim Froehlich
Embedded Linux Engineer
tfroehlich at archsys.io
215-218-8955
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190319/d01eecf5/attachment.html>


More information about the yocto mailing list