Re: Tracking sarge (Failed to create initrd image)
Petr Salinger <Petr.Salinger@t-systems.cz> writes:
>> The linux-gate.so library is the 32bit emulation layer of the kernels
>> 32bit support. I don't know why it has to show up like this but that
>> is how it is.
>
> This virtual ELF library is also in standard i386 2.6.x kernel.
Even in 32bit kernels? That would make this a major issue.
> Some information can be also found in
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=209145
>
>
> Fix for initrd-tools should be easy:
>
> --- /usr/sbin/mkinitrd.std 2005-01-23 19:38:08.000000000 +0100
> +++ /usr/sbin/mkinitrd 2005-02-15 18:46:16.000000000 +0100
> @@ -821,7 +821,7 @@
> else
> x=$(
> LD_LIBRARY_PATH=$INITRD_LD_LIBRARY_PATH \
> - ldd "$i"
> + ldd "$i" | grep -v linux-gate.so
> )
> fi
> err=$?
>
> Petr
In my bugreport I added the grep a few lines further down on the echo
"$x" so even 2.4.x x86_64 kernels get the grep. :)
MfG
Goswin
Reply to: