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:
Brian C. Lane 2012-02-07 11:32:14 -08:00
parent e9d34e3cbf
commit a09806f607
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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):