Don't include early microcode in initramfs (#1258498)

The system the image boots on will likely not match the host where lorax
was run, and in some cases this can cause systems to hang.

Resolves: rhbz#1258498
This commit is contained in:
Brian C. Lane 2015-08-31 10:03:56 -07:00
parent c5e842b58a
commit 62cfefd718
2 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ class Lorax(BaseLoraxClass):
workdir=self.workdir)
logger.info("rebuilding initramfs images")
dracut_args = ["--xz", "--install", "/.buildstamp"]
dracut_args = ["--xz", "--install", "/.buildstamp", "--no-early-microcode"]
anaconda_args = dracut_args + ["--add", "anaconda pollcdrom"]
# ppc64 cannot boot an initrd > 32MiB so remove some drivers

View File

@ -66,7 +66,7 @@ except ImportError:
# Default parameters for rebuilding initramfs, override with --dracut-args
DRACUT_DEFAULT = ["--xz", "--add", "livenet dmsquash-live convertfs pollcdrom",
"--omit", "plymouth", "--no-hostonly"]
"--omit", "plymouth", "--no-hostonly", "--no-early-microcode"]
ROOT_PATH = "/mnt/sysimage/"
RUNTIME = "images/install.img"