File 0606-ucode-properly-include-early-only-ucode.patch of Package dracut.28355

From 2e8648ac1d801c6c35913aa3ffa8198bbb174a70 Mon Sep 17 00:00:00 2001
From: Daniel Molkentin <>
Date: Thu, 28 Mar 2019 13:46:35 +0100
Subject: [PATCH] ucode: properly include early only ucode

Intel has notified us that some microcode updates are not safe
to be applied during runtime. To accomodate for that, microcode
files shipped by SUSE and openSUSE have an '.early' postfix such
that triggering


from a booted system cannot pick up the ucode by accident, while
still allowing the code to be picked up during initrd time.

This change is needed to make this scheme work also in a hostonly

Currently, this affects only 06-4f-01, which is now 06-4f-01.early.

If a distro does not change the filename, the behavior does not

Reference: osc#1098915
--- | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ b/
index 7947dd7d..765d15cb 100755
--- a/
+++ b/
@@ -1672,6 +1672,7 @@ if [[ $early_microcode = yes ]]; then
                 if [[ $hostonly ]]; then
                     [[ $_src ]] || break
+                    [[ -r $_fwdir/$_fw/$_src ]] || _src="${_src}.early"
                     [[ -r $_fwdir/$_fw/$_src ]] || break

openSUSE Build Service is sponsored by