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
This commit is contained in:
parent
16fe80f6b1
commit
88863a63d7
@ -292,7 +292,8 @@ class Lorax(BaseLoraxClass):
|
|||||||
templatedir=templatedir)
|
templatedir=templatedir)
|
||||||
|
|
||||||
logger.info("rebuilding initramfs images")
|
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"]
|
anaconda_args = dracut_args + ["--add", "anaconda pollcdrom"]
|
||||||
treebuilder.rebuild_initrds(add_args=anaconda_args)
|
treebuilder.rebuild_initrds(add_args=anaconda_args)
|
||||||
|
Loading…
Reference in New Issue
Block a user