]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian: Fix mkinitfs on x86_64 systems
authorTheodore Ts'o <tytso@mit.edu>
Sun, 16 Nov 2008 15:35:41 +0000 (10:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 16 Nov 2008 15:35:41 +0000 (10:35 -0500)
On x86_64 systems, we need to filter out linux-vdso.so lines from the
output of the ldd program when determining the library dependencies.

Addresses-Debian-Bug: #503057

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/initrd-tools.e2fsprogs

index 726015930c58b2c60ca20c2f93804d3239606a9c..ed49db41dc6116e8ecccdbe4cc885613a3c274be 100644 (file)
@@ -20,7 +20,7 @@ esac
 
 PROGS="/sbin/tune2fs /usr/lib/e2initrd_helper"
 LIBS=`unset LD_LIBRARY_PATH LD_PRELOAD; ldd $PROGS | \
-    grep -v 'linux-gate.so' | sort -u | awk '{print $3}'` 
+    grep -vE 'linux-gate.so|linux-vdso.so' | sort -u | awk '{print $3}'`
 for i in $LIBS
 do
        if test -f /etc/ld.so.preload && grep -s ^$i\$ /etc/ld.so.preload; then