dracut-init.sh: libdir paths need dracut-function.sh
parent
7527b90c88
commit
456f299ab8
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue