From: Harald Hoyer Date: Fri, 13 Nov 2015 13:19:53 +0000 (+0100) Subject: dracut-init.sh: libdir paths need dracut-function.sh X-Git-Tag: 044~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=456f299ab8e3168d709c35cf7ec09d1683c4cec3;p=thirdparty%2Fdracut.git dracut-init.sh: libdir paths need dracut-function.sh --- diff --git a/dracut-init.sh b/dracut-init.sh index f22256c38..fc35d7b43 100644 --- a/dracut-init.sh +++ b/dracut-init.sh @@ -78,6 +78,8 @@ export srcmods export hookdirs } +. $dracutbasedir/dracut-functions.sh + # Detect lib paths if ! [[ $libdirs ]] ; then if [[ "$(ldd /bin/sh)" == */lib64/* ]] &>/dev/null \ @@ -94,8 +96,6 @@ if ! [[ $libdirs ]] ; then export libdirs fi -. $dracutbasedir/dracut-functions.sh - # helper function for check() in module-setup.sh # to check for required installed binaries # issues a standardized warning message