|
Harald Hoyer |
bb31e7 |
From 875426f2fc1360401ddb5f97c67df031e54958d5 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
bb31e7 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
bb31e7 |
Date: Wed, 11 Nov 2015 11:38:56 +0100
|
|
Harald Hoyer |
bb31e7 |
Subject: [PATCH] dracut.sh: remove "_EARLY" from CONFIG_MICROCODE_* checks
|
|
Harald Hoyer |
bb31e7 |
|
|
Harald Hoyer |
bb31e7 |
EARLY is merged in the main driver
|
|
Harald Hoyer |
bb31e7 |
---
|
|
Harald Hoyer |
bb31e7 |
dracut.sh | 10 +++++-----
|
|
Harald Hoyer |
bb31e7 |
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
Harald Hoyer |
bb31e7 |
|
|
Harald Hoyer |
bb31e7 |
diff --git a/dracut.sh b/dracut.sh
|
|
Harald Hoyer |
bb31e7 |
index 2712e9e..9ba481b 100755
|
|
Harald Hoyer |
bb31e7 |
--- a/dracut.sh
|
|
Harald Hoyer |
bb31e7 |
+++ b/dracut.sh
|
|
Harald Hoyer |
bb31e7 |
@@ -1016,18 +1016,18 @@ fi
|
|
Harald Hoyer |
bb31e7 |
if [[ $early_microcode = yes ]]; then
|
|
Harald Hoyer |
bb31e7 |
if [[ $hostonly ]]; then
|
|
Harald Hoyer |
bb31e7 |
[[ $(get_cpu_vendor) == "AMD" ]] \
|
|
Harald Hoyer |
bb31e7 |
- && ! check_kernel_config CONFIG_MICROCODE_AMD_EARLY \
|
|
Harald Hoyer |
bb31e7 |
+ && ! check_kernel_config CONFIG_MICROCODE_AMD \
|
|
Harald Hoyer |
bb31e7 |
&& unset early_microcode
|
|
Harald Hoyer |
bb31e7 |
[[ $(get_cpu_vendor) == "Intel" ]] \
|
|
Harald Hoyer |
bb31e7 |
- && ! check_kernel_config CONFIG_MICROCODE_INTEL_EARLY \
|
|
Harald Hoyer |
bb31e7 |
+ && ! check_kernel_config CONFIG_MICROCODE_INTEL \
|
|
Harald Hoyer |
bb31e7 |
&& unset early_microcode
|
|
Harald Hoyer |
bb31e7 |
else
|
|
Harald Hoyer |
bb31e7 |
- ! check_kernel_config CONFIG_MICROCODE_AMD_EARLY \
|
|
Harald Hoyer |
bb31e7 |
- && ! check_kernel_config CONFIG_MICROCODE_INTEL_EARLY \
|
|
Harald Hoyer |
bb31e7 |
+ ! check_kernel_config CONFIG_MICROCODE_AMD \
|
|
Harald Hoyer |
bb31e7 |
+ && ! check_kernel_config CONFIG_MICROCODE_INTEL \
|
|
Harald Hoyer |
bb31e7 |
&& unset early_microcode
|
|
Harald Hoyer |
bb31e7 |
fi
|
|
Harald Hoyer |
bb31e7 |
[[ $early_microcode != yes ]] \
|
|
Harald Hoyer |
bb31e7 |
- && dwarn "Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]_EARLY!=y"
|
|
Harald Hoyer |
bb31e7 |
+ && dwarn "Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]!=y"
|
|
Harald Hoyer |
bb31e7 |
fi
|
|
Harald Hoyer |
bb31e7 |
|
|
Harald Hoyer |
bb31e7 |
# Need to be able to have non-root users read stuff (rpcbind etc)
|