[arch-general] [arch-dev-public] Mkinitcpio replacement with Dracut

Jonas Witschel diabonas at gmx.de
Wed May 22 12:25:00 UTC 2019


On 2019-05-22 14:00, Giovanni Harting via arch-general wrote:
> AMD's microcode is in linux-firmware: /usr/lib/firmware/amd-ucode/

Dracut indeed looks in /usr/lib/firmware/{amd,intel}-ucode/ for
microcode updates to include in the initramfs. When using a host-only
initramfs, only the relevant files are included, otherwise the image is
supposed to contain the updates for both AMD and Intel.

Unfortunately this process currently only works for AMD, but not for
Intel, since Arch Linux doesn't package the necessary files standalone:
they are downloaded by intel-ucode and used to produce a CPIO image, but
not added to /usr/lib/firmware/intel-ucode/ separately. If dracut
becomes the default initramfs generator, this should be changed so that
microcode updates work out of the box with dracut.

Cheers,
Jonas

[1]
https://github.com/dracutdevs/dracut/blob/8365177644bee107dcb66a71c8a7509900c9ece4/dracut.sh#L1678
[2]
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/intel-ucode&id=205127aa79bcd2a06f88c80d38e8bf8aac60bb43#n20

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20190522/5bca09fa/attachment.sig>


More information about the arch-general mailing list