]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-init.sh: libdir paths need dracut-function.sh
authorHarald Hoyer <harald@redhat.com>
Fri, 13 Nov 2015 13:19:53 +0000 (14:19 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 13 Nov 2015 13:20:54 +0000 (14:20 +0100)
dracut-init.sh

index f22256c38ee8b09e4c413021fbc15cc6c5115976..fc35d7b4383799bb6b08477d098a679d83864bbf 100644 (file)
@@ -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