Add dracut convertfs module (#787893)
Fedora 17 changes top level directories like /bin, /lib, etc. to symlinks to the corresponding dirs in /usr/ dracut can convert old systems to the new layout using its convertfs module.
This commit is contained in:
parent
e9d34e3cbf
commit
a09806f607
@ -234,7 +234,7 @@ class Lorax(BaseLoraxClass):
|
||||
runtime=runtime, templatedir=templatedir)
|
||||
|
||||
logger.info("rebuilding initramfs images")
|
||||
dracut_args=["--xz", "--add", "livenet", "--omit", "plymouth"]
|
||||
dracut_args=["--xz", "--add", "livenet", "--add", "convertfs", "--omit", "plymouth"]
|
||||
treebuilder.rebuild_initrds(add_args=dracut_args)
|
||||
|
||||
logger.info("populating output tree and building boot images")
|
||||
|
@ -50,9 +50,9 @@ from pylorax.imgutils import PartitionMount, mksparse
|
||||
from pylorax.executils import execWithRedirect, execWithCapture
|
||||
|
||||
|
||||
# Default parameters for rebuilding initramfs, overrice with --dracut-args
|
||||
# Default parameters for rebuilding initramfs, override with --dracut-args
|
||||
DRACUT_DEFAULT = ["--xz", "--add", "livenet", "--add", "dmsquash-live",
|
||||
"--omit", "plymouth"]
|
||||
"--add", "convertfs", "--omit", "plymouth"]
|
||||
|
||||
|
||||
class LogRequestHandler(SocketServer.BaseRequestHandler):
|
||||
|
Loading…
Reference in New Issue
Block a user