FS#79022 - mkinitcpio - should rebuild initramfs when firmware changes

Attached to Project: Arch Linux
Opened by Gene (GeneC) - Sunday, 09 July 2023, 09:51 GMT
Last edited by Toolybird (Toolybird) - Sunday, 09 July 2023, 23:45 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Installing updated linux-firmware should rebuild the initrd(s). This doesn't happen currently.

Rationale:
Some firmwware is installed into the initrd itself.
So this will ensure any relevant new firmware is included in the initrd.

One way to achieve this is to add a line to the kernel hook file to rebuild initrd(s):

/usr/share/libalpm/hooks/90-mkinitcpio-install.hook
Add
Target = usr/lib/firmware/*


Additional info:
* package version(s)
mkinitcpio 36-1


This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 09 July 2023, 23:45 GMT
Reason for closing:  Upstream
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Sunday, 09 July 2023, 23:44 GMT
That hook is maintained "upstream" in the mkinitcpio Arch GitLab instance [1] which is the new home for mkinitcpio development and bug reports/feature requests. Please resubmit your issue there. Thanks :)

[1] https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio

Loading...