]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut: Do not create early_cpio if no suitable microcode exist in hostonly case
authorThomas Renninger <trenn@suse.de>
Fri, 27 Sep 2013 18:10:38 +0000 (20:10 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 2 Oct 2013 10:47:11 +0000 (12:47 +0200)
commitd8b04dc1840047a7533d19f577f30f19d42e2d33
tree4369ac272c017b70a544c609ddca2ff08282835b
parentb5b608e44ade93bee54d274f5edc6aad6dc45288
dracut: Do not create early_cpio if no suitable microcode exist in hostonly case

Intel microcodes only exist for very specific family/model/stepping CPUs.
If no microcode gets added, there is no need to create an empty
(only directories) cpio later that gets glued to the initrd.

This also fixes:

*** Constructing GenuineIntel.bin ****
cat: /lib/firmware/intel-ucode/06-3c-03: No such file or directory

in hostonly mode if there is no suitable microcode for the CPU.

Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
dracut.sh