Package: initrd-tools Version: 0.1.77 As noted by Erik the ldd of glibc 2.3.3 provides a new output format breaking mkinitrd: # mkinitrd -o /boot/initrd.img-2.6.11 2.6.11 cpio: /lib/ld-linux-x86-64.so.2 (0x0000002a95556000): No such file or directory Seems that this new output format has already been included for libc6 2.3.2.ds1-20.0.0.2.gcc4 on amd64 (gcc-3.4). Attached you can find a patch. Regards Harri
--- /u/harri/initrd-tools/initrd-tools-0.1.77/mkinitrd 2005-01-23 19:37:41.000000000 +0100
+++ mkinitrd 2005-03-06 16:57:41.933283835 +0100
@@ -1181,7 +1181,16 @@
add_command $i
done
exec 3>&-
- < tmp2 sed 's/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/'
+ < tmp2 awk '
+ /[[:blank:]]*.*=>[[:blank:]]*\/[^[:blank:]]*.*/ {
+ print $3;
+ next;
+ };
+ /[[:blank:]]*\/[^[:blank:]]*.*/ {
+ print $1;
+ next;
+ };
+ '
echo /dev/console
echo /dev/null
Attachment:
signature.asc
Description: OpenPGP digital signature