Blame 0170-dracut-init.sh-libdir-paths-need-dracut-function.sh.patch
|
Harald Hoyer |
bb31e7 |
From 456f299ab8e3168d709c35cf7ec09d1683c4cec3 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
bb31e7 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
bb31e7 |
Date: Fri, 13 Nov 2015 14:19:53 +0100
|
|
Harald Hoyer |
bb31e7 |
Subject: [PATCH] dracut-init.sh: libdir paths need dracut-function.sh
|
|
Harald Hoyer |
bb31e7 |
|
|
Harald Hoyer |
bb31e7 |
---
|
|
Harald Hoyer |
bb31e7 |
dracut-init.sh | 4 ++--
|
|
Harald Hoyer |
bb31e7 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
bb31e7 |
|
|
Harald Hoyer |
bb31e7 |
diff --git a/dracut-init.sh b/dracut-init.sh
|
|
Harald Hoyer |
bb31e7 |
index f22256c..fc35d7b 100644
|
|
Harald Hoyer |
bb31e7 |
--- a/dracut-init.sh
|
|
Harald Hoyer |
bb31e7 |
+++ b/dracut-init.sh
|
|
Harald Hoyer |
bb31e7 |
@@ -78,6 +78,8 @@ export srcmods
|
|
Harald Hoyer |
bb31e7 |
export hookdirs
|
|
Harald Hoyer |
bb31e7 |
}
|
|
Harald Hoyer |
bb31e7 |
|
|
Harald Hoyer |
bb31e7 |
+. $dracutbasedir/dracut-functions.sh
|
|
Harald Hoyer |
bb31e7 |
+
|
|
Harald Hoyer |
bb31e7 |
# Detect lib paths
|
|
Harald Hoyer |
bb31e7 |
if ! [[ $libdirs ]] ; then
|
|
Harald Hoyer |
bb31e7 |
if [[ "$(ldd /bin/sh)" == */lib64/* ]] &>/dev/null \
|
|
Harald Hoyer |
bb31e7 |
@@ -94,8 +96,6 @@ if ! [[ $libdirs ]] ; then
|
|
Harald Hoyer |
bb31e7 |
export libdirs
|
|
Harald Hoyer |
bb31e7 |
fi
|
|
Harald Hoyer |
bb31e7 |
|
|
Harald Hoyer |
bb31e7 |
-. $dracutbasedir/dracut-functions.sh
|
|
Harald Hoyer |
bb31e7 |
-
|
|
Harald Hoyer |
bb31e7 |
# helper function for check() in module-setup.sh
|
|
Harald Hoyer |
bb31e7 |
# to check for required installed binaries
|
|
Harald Hoyer |
bb31e7 |
# issues a standardized warning message
|