From: "Brian C. Lane" <bcl(a)redhat.com>
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 e7dd0d5..cc5a7e7 100644
--- a/src/pylorax/__init__.py
+++ b/src/pylorax/__init__.py
@@ -307,7 +307,7 @@ def run(self, ybo, product, version, release, variant="",
bugurl="",
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 5080bd6..4e1b5a6 100755
--- a/src/sbin/livemedia-creator
+++ b/src/sbin/livemedia-creator
@@ -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"
--
To view this commit on github, visit
https://github.com/rhinstaller/lorax/commit/faa2c83796ee846b66f742a502eee...