Subject: bug#812: [devuan-dev] bug#812: Firmware is not found by kernel anymore as it is moved to /usr

From: Svante Signell <[email-masked]>
Date: Wed, 06 Dec 2023 17:55:30 +0100

On Tue, 2023-12-05 at 13:00 +0000, Mark Hindley wrote:
> Control: reassign -1 devuan-project
> Control: forcemerge 810 -1
> Control: affects -1 firmware-realtek
> 
> Klaus,
> 
> On Mon, Dec 04, 2023 at 09:57:17AM +0100, Klaus Ethgen wrote:
> > Package: firmware-realtek
> > Version: 20230625-1
> > Severity: critical
> > 
> > After update from 20230515-3, the kernel is no longer able to find the
> > firmware as debian moved it to /usr.
> 
> As you have identified, this is a result of Debian's implementation of merged
> /usr.
> 
> Reassigning and merging.

Hi Mark and Klaus,

Seems like the simple solution to firmware files moved from /lib to /usr/lib is
to modify the eudev (udev) rule to search both in /lib and /usr/lib. I have not
yet found out which program/rule does the actual installation of these firmware
files. Maybe you know?

Examples:
apt-file show firmware-realtek
firmware-realtek: /usr/lib/firmware/...

apt-file show firmware-linux-free
firmware-linux-free: /lib/firmware/...

apt-file show firmware-atheros
firmware-atheros: /usr/lib/firmware/...

apt-file show firmware-amd-graphics
firmware-amd-graphics: /usr/lib/firmware/...