]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix lib64 check
authorHarald Hoyer <harald@redhat.com>
Wed, 17 Feb 2010 16:02:04 +0000 (17:02 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 17 Feb 2010 16:02:04 +0000 (17:02 +0100)
on ppc we can have libc in /lib64/power6/

modules.d/01fips/install
modules.d/95udev-rules/install

index 426156ff39a358b74640eba585f18ec9fd75f183..53f54ded7335caf5d0f547edaf7c72c0b7185b67 100755 (executable)
@@ -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
 
index 2d378de4447e738f97c57c377f4a6387cf41f9ae..b903a4170bf0ed8f47460e81dac6ce4c8cbeb0c4 100755 (executable)
@@ -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*