Bug#1059858: debian-cd: Missing firmware packages due to usr-move

Steve McIntyre <[email protected]>
Newsgroups gmane.linux.debian.devel.cd
Message-ID <20240102173005.GK503324__16856.7387898051$1704216811$gmane$org@tack.einval.com>
control: tag -1 pending

 Tue, Jan 02, 2024 at 06:22:21PM +0100, Helmut Grohne wrote:
>Hi Emanuele,
>
>On Tue, Jan 02, 2024 at 03:03:49PM +0100, Emanuele Rocca wrote:
>> quite a few firmware packages are missing from today's debian-installer
>> ISOs. Among the missing ones: firmware-atheros, firmware-realtek, and
>> many others. Some firmware packages such as firmware-ath9k-htc and
>> firmware-linux-free are instead present.
>> 
>> Packages correctly included in the ISOs ship firmware files under /lib,
>> while those not included use /usr/lib. For example the following is
>> included:
>> 
>>  firmware-linux-free: /lib/firmware/av7110/bootcode.bin
>> 
>> While missing packages install firmware files under /usr/lib:
>> 
>>  firmware-atheros: /usr/lib/firmware/wil6210.brd
>> 
>> It seems likely that tools/generate_firmware_task needs to be patched to
>> take usr-move into account.
>
>Yes, this very much looks like /usr-merge breakage and I fully agree
>with the pointers you give. Just reading generate_firmware_task, the
>contains_firmware sub immediately jumps into my eyes as the grep will
>miss moved firmware packages. It should probably become
>
>    grep ' \\./\\(usr/\\)\\?lib/firmware/'
>
>(with the double escaping for the target context already applied).
>
>I happen to not know how to test this though. Quite possibly, this is
>not the only issue. Are you able to drive this forward from here?

Already fixed in git, along with another usr-merge issue I found. The
next regular build should be fine.

Hmm, why didn't this get tagged as "pending" already when I pushed??
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.