Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

Emanuele Rocca

unread,
Jan 2, 2024, 9:10:04 AMJan 2
to
Package: debian-cd
Version: 3.2.1
Severity: important

Dear Maintainer,

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.

Thanks,
Emanuele

Helmut Grohne

unread,
Jan 2, 2024, 12:30:04 PMJan 2
to
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?

Helmut

Steve McIntyre

unread,
Jan 2, 2024, 12:40:04 PMJan 2
to
control: tag -1 pending
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??

--
Steve McIntyre, Cambridge, UK. st...@einval.com
Google-bait: https://www.debian.org/CD/free-linux-cd
Debian does NOT ship free CDs. Please do NOT contact the mailing
lists asking us to send them to you.

Debian Bug Tracking System

unread,
Jan 2, 2024, 12:40:04 PMJan 2
to
Processing control commands:

> tag -1 pending
Bug #1059858 [debian-cd] debian-cd: Missing firmware packages due to usr-move
Added tag(s) pending.

--
1059858: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059858
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

Emanuele Rocca

unread,
Jan 3, 2024, 5:10:04 AMJan 3
to
Hi Steve and Helmut,

On 2024-01-02 05:30, Steve McIntyre wrote:
> Already fixed in git, along with another usr-merge issue I found. The
> next regular build should be fine.

It is. Thank you!

$ curl -s https://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/arm64/list-cd/debian-testing-arm64-netinst.list.gz | zgrep firmware-atheros
firmware-atheros_20230625-2_all.deb
0 new messages