Re: [arch-dev-public] Mkinitcpio replacement with Dracut

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux