FS#77939 - [mkinitcpio] Regression - now errors out on file not found for brcm

Attached to Project: Arch Linux
Opened by Martin Rys (C0rn3j) - Tuesday, 21 March 2023, 22:19 GMT
Last edited by Toolybird (Toolybird) - Saturday, 25 March 2023, 23:18 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upgrading mkinitcpio, generating initramfs now errors on missing files that do seem to be present in the system.

==> ERROR: file not found: '/usr/lib/firmware/brcm/brcmfmac4356-sdio.vamrs,rock960.txt.xz
...

% sha256sum /usr/lib/firmware/brcm/brcmfmac4356-sdio.vamrs,rock960.txt.xz
ce8b2a9cafad002431626908f59ab9ccd232ed8f9a8a96b931bddb0bde09394e /usr/lib/firmware/brcm/brcmfmac4356-sdio.vamrs,rock960.txt.xz



Additional info:
* package version(s) - 35.1-1 broken, 34-2 works


Steps to reproduce:

Try to build initramfs for any kernel (broken at least on linux and linux-lts)
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 25 March 2023, 23:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  mkinitcpio 35.2-1
Comment by Mark Wagie (yochananmarqos) - Tuesday, 21 March 2023, 22:56 GMT
/usr/lib/firmware/brcm/ is owned by linux-firmware, what does this have to do with mkinitcpio?
Comment by Toolybird (Toolybird) - Wednesday, 22 March 2023, 03:14 GMT
> linux-firmware, what does this have to do with mkinitcpio?

Quite a bit, actually e.g: [1].

Cannot repro in a fresh VM, but that's not surprising coz I guess it needs to be run on a system that needs the referenced firmware.

You will likely get a faster response over at [2] (assuming you already have an Arch SSO account...I'm not sure of the status of  FS#77881 , which might be a blocker).

[1] https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/blob/v35.1/functions#L447
[2] https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio
Comment by nl6720 (nl6720) - Wednesday, 22 March 2023, 07:28 GMT Comment by nl6720 (nl6720) - Wednesday, 22 March 2023, 08:51 GMT

Loading...