dracut has moved to /usr/bin

This commit is contained in:
Brian C. Lane 2011-12-20 10:39:05 -08:00 committed by Will Woods
parent 27dda6eae6
commit c089b479f1

View File

@ -162,7 +162,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 = ["/sbin/dracut", "--noprefix", "--nomdadmconf", "--nolvmconf"] + add_args dracut = ["dracut", "--noprefix", "--nomdadmconf", "--nolvmconf"] + add_args
if not backup: if not backup:
dracut.append("--force") dracut.append("--force")
# Hush some dracut warnings. TODO: bind-mount proc in place? # Hush some dracut warnings. TODO: bind-mount proc in place?