Blame 0005-Fix-location-of-dracut-install-for-local-mode.patch

Harald Hoyer eeb1c2
From 972d6b44ba54e44c01801614fb57e128604b4a12 Mon Sep 17 00:00:00 2001
Harald Hoyer eeb1c2
From: Stefan Reimer <it@startux.de>
Harald Hoyer eeb1c2
Date: Tue, 28 Oct 2014 17:58:22 -0700
Harald Hoyer eeb1c2
Subject: [PATCH] Fix location of dracut-install for local mode
Harald Hoyer eeb1c2
Harald Hoyer eeb1c2
---
Harald Hoyer eeb1c2
 dracut-functions.sh | 4 ++--
Harald Hoyer eeb1c2
 1 file changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer eeb1c2
Harald Hoyer eeb1c2
diff --git a/dracut-functions.sh b/dracut-functions.sh
Harald Hoyer eeb1c2
index 1bcc3b4..3ad8d81 100755
Harald Hoyer eeb1c2
--- a/dracut-functions.sh
Harald Hoyer eeb1c2
+++ b/dracut-functions.sh
Harald Hoyer eeb1c2
@@ -741,8 +741,8 @@ if ! [[ $DRACUT_INSTALL ]]; then
Harald Hoyer eeb1c2
     DRACUT_INSTALL=$(find_binary dracut-install)
Harald Hoyer eeb1c2
 fi
Harald Hoyer eeb1c2
 
Harald Hoyer eeb1c2
-if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then
Harald Hoyer eeb1c2
-    DRACUT_INSTALL=$dracutbasedir/dracut-install
Harald Hoyer eeb1c2
+if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/install/dracut-install ]]; then
Harald Hoyer eeb1c2
+    DRACUT_INSTALL=$dracutbasedir/install/dracut-install
Harald Hoyer eeb1c2
 fi
Harald Hoyer eeb1c2
 
Harald Hoyer eeb1c2
 if ! [[ -x $DRACUT_INSTALL ]]; then