Revisiting default initramfs compression
Michael Hudson-Doyle
michael.hudson at canonical.com
Wed Dec 8 20:21:35 UTC 2021
On Thu, 9 Dec 2021 at 08:52, Julian Andres Klode <julian.klode at canonical.com>
wrote:
> The most interesting solution would be to create the cpip archive
> dynamically by giving cpio a list of files over a pipe that we create
> dynamically in the hooks as we copy files in, then pipe that to zstd
> --adapt; then it would all work super nicely.
>
If we're going to spend significant effort, I think I'd prefer we try to
find a way to not recompress the modules when making the initrd at all, at
least for MODULES=most builds. We could just ship a zstd -19'ed
MODULES=most cpio archive in the kernel packaging and have four layers of
initrd (intel firmware, amd64 firmware, modules, everything else) but that
would bloat the kernel package rather a lot...
Cheers,
mwh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20211209/ac050fb4/attachment-0001.html>
More information about the ubuntu-devel
mailing list