Bug#345949: initramfs-tools: mkinitramfs does not copy klibc library

2006-01-04 Thread Maximilian Attems
On Wed, Jan 04, 2006 at 03:19:47PM +0100, Maximilian Attems wrote:
 
 indeed sorry for the trouble.
 why on earth did my test work, anyway fix will be uploaded soonest.
 

as quick workaround install libklibc-dev,
then current initramfs-tools work too.

--
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#345949: initramfs-tools: mkinitramfs does not copy klibc library

2006-01-04 Thread Arjan Oosting
Package: initramfs-tools
Version: 0.47.1
Severity: grave
Justification: renders package unusable


Hi, 

After upgrade my system and installing a new kernel my system would fail while 
booting because the initramfs image was missing the klibc library. 
The last version of libklibc has moved the library from /usr/lib/klibc/lib to
/lib and mkinitramfs does not look there.
Attached is a patch which fixes this.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-3-test
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox   1:1.01-4   Tiny utilities for small and embed
ii  cpio  2.6-10 GNU cpio -- a program to manage ar
ii  klibc-utils   1.1.14-2   small statically-linked utilities 
ii  udev  0.079-1/dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information
--- initramfs-tools-0.47/mkinitramfs2005-12-31 14:19:44.0 +0100
+++ initramfs-tools-0.47.1/mkinitramfs  2006-01-04 14:20:24.0 +0100
@@ -159,7 +159,11 @@
 # symlinks.
 
 ln -s /usr/lib/klibc/bin/* ${DESTDIR}/bin
-ln -s /usr/lib/klibc/lib/klibc-*.so ${DESTDIR}/lib
+if [ -e /lib/klibc-*.so ] ; then
+ln -s /lib/klibc-*.so ${DESTDIR}/lib
+else
+ln -s /usr/lib/klibc/lib/klibc-*.so ${DESTDIR}/lib
+fi
 copy_exec /usr/share/initramfs-tools/init /init
 cp -a /usr/share/initramfs-tools/scripts/* ${DESTDIR}/scripts
 for f in $(cd ${CONFDIR}/scripts  \


Bug#345949: initramfs-tools: mkinitramfs does not copy klibc library

2006-01-04 Thread Maximilian Attems
tags 345949 pending
stop

On Wed, Jan 04, 2006 at 02:41:45PM +0100, Arjan Oosting wrote:
 
 Hi, 
 
 After upgrade my system and installing a new kernel my system would fail 
 while 
 booting because the initramfs image was missing the klibc library. 
 The last version of libklibc has moved the library from /usr/lib/klibc/lib to
 /lib and mkinitramfs does not look there.
 Attached is a patch which fixes this.

indeed sorry for the trouble.
why on earth did my test work, anyway fix will be uploaded soonest.

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]