dracut-init.sh: libdir paths need dracut-function.sh

master
Harald Hoyer 2015-11-13 14:19:53 +01:00
parent 7527b90c88
commit 456f299ab8
1 changed files with 2 additions and 2 deletions

View File

@ -78,6 +78,8 @@ export srcmods
export hookdirs export hookdirs
} }


. $dracutbasedir/dracut-functions.sh

# Detect lib paths # Detect lib paths
if ! [[ $libdirs ]] ; then if ! [[ $libdirs ]] ; then
if [[ "$(ldd /bin/sh)" == */lib64/* ]] &>/dev/null \ if [[ "$(ldd /bin/sh)" == */lib64/* ]] &>/dev/null \
@ -94,8 +96,6 @@ if ! [[ $libdirs ]] ; then
export libdirs export libdirs
fi fi


. $dracutbasedir/dracut-functions.sh

# helper function for check() in module-setup.sh # helper function for check() in module-setup.sh
# to check for required installed binaries # to check for required installed binaries
# issues a standardized warning message # issues a standardized warning message