From 9c1372564c9447c608b86cb997dc1e76113f0edc Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 5 Feb 2014 10:28:41 -0800 Subject: [PATCH] Remove floppy and scsi_debug from initrd (#1060691) ppc64 can't PXE boot a initrd that is > 32M. This removes 2 drivers from initrd creation to reduce the size. Resolves: rhbz#1060691 --- src/pylorax/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index bb52d552..5b977300 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -293,7 +293,8 @@ class Lorax(BaseLoraxClass): templatedir=templatedir) logger.info("rebuilding initramfs images") - dracut_args = ["--xz", "--install", "/.buildstamp"] + dracut_args = ["--xz", "--install", "/.buildstamp", + "--omit-drivers", "floppy scsi_debug"] anaconda_args = dracut_args + ["--add", "anaconda pollcdrom"] treebuilder.rebuild_initrds(add_args=anaconda_args)