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:
parent
a7698e3540
commit
c143d5b72d
@ -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)
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user