Here is an improved version of this patch. /sbin/plymouthd is guaranteed to exist if it passed the check, and it would be of the correct architecture. From 6d1b465555ac4511b9bda90b7d72c29060c66955 Mon Sep 17 00:00:00 2001 From: Warren Togami <wtogami@xxxxxxxxxx> Date: Wed, 20 May 2009 20:35:08 -0400 Subject: [PATCH] Check /sbin/plymouthd for arch instead of /proc/$$/exe. /sbin/plymouthd is guaranteed to be there and be the correct arch. --- .../50plymouth-pre0.7/plymouth-populate-initrd | 2 +- modules.d/50plymouth/plymouth-populate-initrd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/50plymouth-pre0.7/plymouth-populate-initrd b/modules.d/50plymouth-pre0.7/plymouth-populate-initrd index e195ddc..1802b25 100755 --- a/modules.d/50plymouth-pre0.7/plymouth-populate-initrd +++ b/modules.d/50plymouth-pre0.7/plymouth-populate-initrd @@ -1,5 +1,5 @@ #!/bin/bash -if ldd /proc/$$/exe |grep -q lib64; then +if ldd /sbin/plymouthd |grep -q lib64; then LIBDIR="/usr/lib64" else LIBDIR="/usr/lib" diff --git a/modules.d/50plymouth/plymouth-populate-initrd b/modules.d/50plymouth/plymouth-populate-initrd index df6e7c5..f3c67f1 100755 --- a/modules.d/50plymouth/plymouth-populate-initrd +++ b/modules.d/50plymouth/plymouth-populate-initrd @@ -1,5 +1,5 @@ #!/bin/bash -if ldd /proc/$$/exe |grep -q lib64; then +if ldd /sbin/plymouthd |grep -q lib64; then LIBDIR="/usr/lib64" else LIBDIR="/usr/lib" -- 1.6.2.2 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html