FS#65792 - [intel-ucode] use pacman hook to copy ucode image to /boot

Attached to Project: Arch Linux
Opened by tinywrkb (tinywrkb) - Wednesday, 11 March 2020, 17:34 GMT
Last edited by freswa (frederik) - Monday, 11 May 2020, 23:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Here's a scenario:
* /boot is VFAT EFI partition
* rootfs is btrfs subvolume
* The user downgrades the system by checking out a snapshot, copying the kernel (/usr/lib/modules/KERVER/vmlinuz), and rebuilding initramfs.
* There's a discrepancy between /boot/intel-ucode.img version and pacman db.

Solution: package should install intel-ucode.img to /usr (maybe /usr/lib/intel-ucode/intel-ucode.img) and a proper pacman hook will copy the image into /boot.
Now when downgrading the system, the user has the right intel-ucode.img in the subvolume snapshot which can be copied into /boot.

This task depends upon

Closed by  freswa (frederik)
Monday, 11 May 2020, 23:17 GMT
Reason for closing:  No response
Additional comments about closing:  Closed upon tinywrkb's request

Loading...