Control: affects -1 firmware-nvidia-graphics

On Friday, 19 July 2024 17:56:30 CEST Chris Hofstaedtler wrote:
> Control: retitle -1 initramfs-tools: duplicates nvidia firmware files
> 
> On Fri, Jul 19, 2024 at 04:43:47PM +0200, Diederik de Haas wrote:
> > > In any case, the upgrade should work for any user, including when
> > > all these packages are needed.
> > 
> > The real problem seems to be the size of /boot/ ...
> 
> Not really. 

It's nice that we can *postpone* that problem a while longer.

> A large part of the problem is that initramfs explodes
> the size of the nvidia firmware.
> 
> On the root file system, in /usr/lib/firmware, the nvidia firmware
> files are 66MB (uncompressed!).
> However, the initrd.img grows from 64M to 250M (compressed!) when
> firmware-nvidia-graphics is installed. There is something seriously
> wrong here.
> 
> One of the things I've noticed:
> 
> /usr/lib/firmware/nvidia/tu104/gsp is supposed to be a symlink to
> /usr/lib/firmware/nvidia/tu102/gsp. However, in initrd.img, this is
> a copy of the directory; accounting for 25M on its own.
> 
> No wonder the initrd is way too large.

Nice find! Adding firmware-nvidia-graphics as affects (which hopefully
will warn users of that package of this problem)

> There are probably more cases where the symlinks are not preserved.
> This needs to be fixed in initramfs (or whatever hook script copies
> the firmware files).

There was a relatively recent upload of initramfs-tools 0.143 to 
*Experimental* and I'm curious if that would help in this case.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to