1 diff -Naur dracut-056.prg/dracut.sh dracut-056/dracut.sh
2 --- dracut-056.prg/dracut.sh 2022-02-18 12:32:53.000000000 +0100
3 +++ dracut-056/dracut.sh 2023-12-19 23:30:27.720703043 +0100
4 @@ -1385,22 +1385,21 @@
5 if [[ $early_microcode == yes ]]; then
6 if [[ $hostonly ]]; then
7 if [[ $(get_cpu_vendor) == "AMD" ]]; then
8 - check_kernel_config CONFIG_MICROCODE_AMD || unset early_microcode
9 + check_kernel_config CONFIG_MICROCODE || unset early_microcode
10 elif [[ $(get_cpu_vendor) == "Intel" ]]; then
11 - check_kernel_config CONFIG_MICROCODE_INTEL || unset early_microcode
12 + check_kernel_config CONFIG_MICROCODE || unset early_microcode
17 - ! check_kernel_config CONFIG_MICROCODE_AMD \
18 - && ! check_kernel_config CONFIG_MICROCODE_INTEL \
19 + ! check_kernel_config CONFIG_MICROCODE \
20 && unset early_microcode
22 # Do not complain on non-x86 architectures as it makes no sense
25 [[ $early_microcode != yes ]] \
26 - && dwarn "Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]!=y"
27 + && dwarn "Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE!=y"