kernel-firmware/mkinitrd_boot-amd_microcode.sh
Thomas Renninger f1685d8cbd - Add mkinitrd script to add AMD microcode to initrd.
This is needed because microcode driver is built in or gets loaded
  automatically via udev early. Therefore the microcode has to be available
  in initrd already.
  This must not be mixed up with early micorcode loading. This feature will
  not be implemented via mkinitrd. Dracut is doing early microcode loading.
- bnc#847158
- mkinitrd scripts:
    - mkinitrd_setup-amd_microcode.sh
      Adding microcode to the initrd
    - mkinitrd_boot-amd_microcode.sh
      Triggering the reload at boot
  on machines with AMD CPUs

OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=74
2013-12-11 11:52:20 +00:00

9 lines
153 B
Bash

#!/bin/bash
#%stage: boot
#%depends: udev
if [ -w /sys/devices/system/cpu/microcode/reload ];then
echo 1 >/sys/devices/system/cpu/microcode/reload
fi