site  contact  subhomenews

btrfs-progs compiled statically in OE

March 14, 2024 — BarryK

OpenEmbedded calls the package "btrfs-tools". I have compiled it linked statically with musl. Recipe:

It required that 'util-linux' had to be recompiled, to build libblkid.a and libuuid.a:

I know that the btrfs-progs git site has it available as a static binary; however, mine is smaller, and I want to use it in the initrd which is not compressed.   

Tags: oe