site  contact  subhomenews

gnupg1 static compile in OE

April 05, 2023 — BarryK

Back around mid-2018, I investigated Flatpaks, and as part of that, used the 'gpg' utility, version 1.4.23, to generate a signed-key-pair in the initrd. Posted about it here:

The latest OpenEmbedded/Yocto project, 'oe-qky-kirkstone', was not setup for compiling with musl. In 2018, I had OE setup to compile with musl, so as to create small statically-linked utilities, such as 'busybox' and 'gpg'.
I have now setup 'oe-qky-kirkstone' for musl, see commit:

And compiled the 'gpg' utility:

Next up, plan to bring back generation of the signed-key-pair in the initrd, as long as it doesn't slow down bootup noticeably.     

Tags: easy