SpiralLinux / SpiralLinux-project

SpiralLinux project
https://spirallinux.github.io/
131 stars 5 forks source link

Remove raspi-firmware #315

Closed mlcarson closed 9 months ago

mlcarson commented 9 months ago

On a new install of the nvidia-driver, there was a z50-raspi-firmware file in the /etc/initramfs/postupdate.d directory which prevented the update-initramfs from finishing properly because it was searching for firmware which didn't exist. This was on an AMD64 (Ryzen 5700G) system. Deleting the z50-raspi-firmware script fixed the problem.

geckolinux commented 9 months ago

Appreciate the tip, I'll see if I can remove that firmware package from the next set of ISOs.

mlcarson commented 9 months ago

Just to be clear, the firmware didn't exist. That's why the script failed. The script itself shouldn't be there as a post update script when the target device is not a raspberry pi.

geckolinux commented 9 months ago

Oops, sorry, so it's a script and not a package. But from what I can tell the z50-raspi-firmware script is provided by the raspi-firmware package. So by either uninstalling that package during the ISO creation process or including an APT rule to prohibit its installation it looks like this problem could be avoided, correct?

Also, from this (unrelated) bug report I understand that they're getting ready for the next Debian point release very soon, and I suspect they'll probably fix this issue too.

mlcarson commented 9 months ago

That's what I suspect but I am no expert. I just happened to be doing a new deployment today and tried the SpiralLinux Plasma version and encountered it. It's my only system with an Nvidia card and it was a clean install so figured I'd report the issue.

geckolinux commented 9 months ago

Fixed in this release: https://github.com/SpiralLinux/SpiralLinux-project/releases/tag/12.231008