Add pollcdrom module to dracut

From Harald Hoyer <harald@redhat.com>:

pollcdrom is used to poll for the install medium. A lot of CDROM drives
are not polled by the kernel correctly, so we have to actively poll for
the medium.
This commit is contained in:
Brian C. Lane 2012-06-05 09:12:50 -07:00
parent a7698e3540
commit c143d5b72d
2 changed files with 3 additions and 3 deletions

View File

@ -274,7 +274,7 @@ class Lorax(BaseLoraxClass):
domacboot=domacboot, templatedir=templatedir)
logger.info("rebuilding initramfs images")
dracut_args=["--xz", "--add", "anaconda", "--omit", "plymouth",
dracut_args=["--xz", "--add", "anaconda pollcdrom", "--omit", "plymouth",
"--install", "/.buildstamp"]
treebuilder.rebuild_initrds(add_args=dracut_args)

View File

@ -61,8 +61,8 @@ except ImportError:
libvirt = None
# Default parameters for rebuilding initramfs, override with --dracut-args
DRACUT_DEFAULT = ["--xz", "--add", "livenet", "--add", "dmsquash-live",
"--add", "convertfs", "--omit", "plymouth"]
DRACUT_DEFAULT = ["--xz", "--add", "livenet dmsquash-live convertfs pollcdrom",
"--omit", "plymouth"]
class LogRequestHandler(SocketServer.BaseRequestHandler):