From bf255a41a5371f56b307a3f7bf787de086cbd577 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 31 Aug 2015 10:03:56 -0700 Subject: [PATCH] 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 --- src/pylorax/__init__.py | 2 +- src/sbin/livemedia-creator | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 09b4aff5..c1542de6 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -325,7 +325,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 diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index 279c55cc..6d6542d6 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -63,7 +63,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", "--debug"] + "--omit", "plymouth", "--no-hostonly", "--debug", "--no-early-microcode"] ROOT_PATH = "/mnt/sysimage/" RUNTIME = "images/install.img"