<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 9 Dec 2021 at 08:52, Julian Andres Klode <<a href="mailto:julian.klode@canonical.com">julian.klode@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The most interesting solution would be to create the cpip archive<br>
dynamically by giving cpio a list of files over a pipe that we create<br>
dynamically in the hooks as we copy files in, then pipe that to zstd<br>
--adapt; then it would all work super nicely.<br></blockquote><div><br></div><div>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...</div><div><br></div><div>Cheers,</div><div>mwh</div></div></div>