]>
Commit | Line | Data |
---|---|---|
73b04029 AF |
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 | |
13 | else | |
14 | unset early_microcode | |
15 | fi | |
16 | else | |
17 | - ! check_kernel_config CONFIG_MICROCODE_AMD \ | |
18 | - && ! check_kernel_config CONFIG_MICROCODE_INTEL \ | |
19 | + ! check_kernel_config CONFIG_MICROCODE \ | |
20 | && unset early_microcode | |
21 | fi | |
22 | # Do not complain on non-x86 architectures as it makes no sense | |
23 | case $(uname -m) in | |
24 | x86_64 | i?86) | |
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" | |
28 | ;; | |
29 | *) ;; | |
30 | esac |