[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] dracut has moved to /usr/bin

On 12/20/2011 01:39 PM, Brian C. Lane wrote:
From: "Brian C. Lane"<bcl redhat com>

  src/pylorax/treebuilder.py |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py
index 2dda313..8f4d239 100644
--- a/src/pylorax/treebuilder.py
+++ b/src/pylorax/treebuilder.py
@@ -172,7 +172,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", "--noprefix", "--nomdadmconf", "--nolvmconf"] + add_args
+        dracut = ["dracut", "--noprefix", "--nomdadmconf", "--nolvmconf"] + add_args
          if not backup:
          # Hush some dracut warnings. TODO: bind-mount proc in place?

Wheel of filesystem spin spin spin, where the executable lands, we will never win.

David Cantrell <dcantrell redhat com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]