don't use --prefix with dracut anymore
systemd in F18 doesn't work with --prefix anymore, so drop it. (patch from haraldh - thanks Harald!)
This commit is contained in:
parent
b7fe01db89
commit
8e71bb045a
@ -195,8 +195,7 @@ class TreeBuilder(object):
|
|||||||
'''Rebuild all the initrds in the tree. If backup is specified, each
|
'''Rebuild all the initrds in the tree. If backup is specified, each
|
||||||
initrd will be renamed with backup as a suffix before rebuilding.
|
initrd will be renamed with backup as a suffix before rebuilding.
|
||||||
If backup is empty, the existing initrd files will be overwritten.'''
|
If backup is empty, the existing initrd files will be overwritten.'''
|
||||||
dracut = ["dracut", "--prefix=/run/initramfs",
|
dracut = ["dracut", "--nomdadmconf", "--nolvmconf"] + add_args
|
||||||
"--nomdadmconf", "--nolvmconf"] + add_args
|
|
||||||
if not backup:
|
if not backup:
|
||||||
dracut.append("--force")
|
dracut.append("--force")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user