Thursday 13 July 2023

Re: Reducing initramfs size and speed up the generation

On Thu, Jul 13, 2023, Julian Andres Klode wrote:
> On Thu, Jul 13, 2023 at 08:32:48AM +0100, TJ wrote:
> > Is there a specific reason why the focus is on trying to shoe-horn
> > everything possible into the initrd.img and then compress rather than winnow
> > out the files an installed system will never need to find the root
> > file-system?
>
> Basically the rule is that if you unplug the disk from your system and
> plug it into another it should still boot.
>
> You can also consider that an upgrade problem for PCs. When you replace
> the mainboard with a different one, the install should continue working.

I should point out that I have a tool that can alleviate the issue of
duplication for amdgpu firmware files. It's almost ready; it just needs
some polish and integration (it requires a very slightly patched xz
encoder which I wanted to avoid but I've given up on improving that
without additional help).

Basically you don't care much that you have firmware for 20 GPU families
since the firmware files are very similar and will compress very well
provided they appear in an acceptable order in the archive. I'll try to
get that ready for everyone to use in the coming weeks.

--
Adrien

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel