ppc64 can't PXE boot a initrd that is > 32M. This removes 2 drivers from initrd creation to reduce the size. --- 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 285448a..894e15b 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -292,7 +292,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)
On Wed, 2014-02-05 at 11:28 -0800, Brian C. Lane wrote:
ppc64 can't PXE boot a initrd that is > 32M. This removes 2 drivers from initrd creation to reduce the size.
Will scsi_debug be provided by the stage2 image? It's occasionally useful for doing things like making fake multipath setups.
David
On Thu, Feb 06, 2014 at 08:19:03AM +0100, David Lehman wrote:
On Wed, 2014-02-05 at 11:28 -0800, Brian C. Lane wrote:
ppc64 can't PXE boot a initrd that is > 32M. This removes 2 drivers from initrd creation to reduce the size.
Will scsi_debug be provided by the stage2 image? It's occasionally useful for doing things like making fake multipath setups.
Yes, this is strictly for the lorax produced initrd.
anaconda-patches@lists.fedorahosted.org