add --noprefix to dracut invocation
--noprefix is the default, but fedora ships an /etc/dracut.conf that changes the prefix. Set --noprefix to override this. Discussed here: https://www.redhat.com/archives/anaconda-devel-list/2011-August/msg00234.html
This commit is contained in:
parent
adbd396314
commit
ea31f4f23b
@ -159,7 +159,7 @@ class TreeBuilder(object):
|
||||
'''Rebuild all the initrds in the tree. If backup is specified, each
|
||||
initrd will be renamed with backup as a suffix before rebuilding.
|
||||
If backup is empty, the existing initrd files will be overwritten.'''
|
||||
dracut = ["/sbin/dracut", "--nomdadmconf", "--nolvmconf"] + add_args
|
||||
dracut = ["/sbin/dracut", "--noprefix", "--nomdadmconf", "--nolvmconf"] + add_args
|
||||
if not backup:
|
||||
dracut.append("--force")
|
||||
# Hush some dracut warnings. TODO: bind-mount proc in place?
|
||||
|
Loading…
Reference in New Issue
Block a user