fix lib64 check

on ppc we can have libc in /lib64/power6/
master
Harald Hoyer 2010-02-17 17:02:04 +01:00
parent 8c8cd69d32
commit 4819ae98ac
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ inst_hook pre-trigger 01 "$moddir/fips.sh"
dracut_install sha512hmac rmmod insmod mount uname umount

libdir="lib"
if ldd $(find_binary sha512hmac) |grep -q /lib64/libc; then
if ldd $(find_binary sha512hmac) |grep -q /lib64/; then
libdir="lib64"
fi


View File

@ -45,7 +45,7 @@ pcmcia-check-broken-cis \
done


if ldd $(find_binary udevd) |grep -q /lib64/libc; then
if ldd $(find_binary udevd) |grep -q /lib64/; then
dracut_install /lib64/libnss_files*
else
dracut_install /lib/libnss_files*