Blame 0006-dracut-functions.sh-fixup-for-34a1ec6-for-non-local-.patch
|
Harald Hoyer |
eeb1c2 |
From 2f0f1b0bbc0aae6b5f54c64d911eb6b09030798d Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
eeb1c2 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
eeb1c2 |
Date: Wed, 29 Oct 2014 13:39:28 +0100
|
|
Harald Hoyer |
eeb1c2 |
Subject: [PATCH] dracut-functions.sh: fixup for 34a1ec6 for non-local mode
|
|
Harald Hoyer |
eeb1c2 |
|
|
Harald Hoyer |
eeb1c2 |
---
|
|
Harald Hoyer |
eeb1c2 |
dracut-functions.sh | 4 +++-
|
|
Harald Hoyer |
eeb1c2 |
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
Harald Hoyer |
eeb1c2 |
|
|
Harald Hoyer |
eeb1c2 |
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
Harald Hoyer |
eeb1c2 |
index 3ad8d81..b43b766 100755
|
|
Harald Hoyer |
eeb1c2 |
--- a/dracut-functions.sh
|
|
Harald Hoyer |
eeb1c2 |
+++ b/dracut-functions.sh
|
|
Harald Hoyer |
eeb1c2 |
@@ -741,7 +741,9 @@ 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/install/dracut-install ]]; then
|
|
Harald Hoyer |
eeb1c2 |
+if ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/dracut-install ]]; then
|
|
Harald Hoyer |
eeb1c2 |
+ DRACUT_INSTALL=$dracutbasedir/dracut-install
|
|
Harald Hoyer |
eeb1c2 |
+elif ! [[ $DRACUT_INSTALL ]] && [[ -x $dracutbasedir/install/dracut-install ]]; then
|
|
Harald Hoyer |
eeb1c2 |
DRACUT_INSTALL=$dracutbasedir/install/dracut-install
|
|
Harald Hoyer |
eeb1c2 |
fi
|
|
Harald Hoyer |
eeb1c2 |
|