[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#426395: patch



Here is the patch that I am using on my slug to keep it bootable.
Not perfect, but works ok.

The best explanation so far for why this issue only affects old-abi arm:
http://lists.debian.org/debian-glibc/2007/05/msg00499.html
Based on that, it doesn't seem that this is an issue that will be fixed
in glibc.

-- 
see shy jo
diff -ur old/initramfs-tools-0.88/debian/changelog initramfs-tools-0.89/debian/changelog
--- old/initramfs-tools-0.88/debian/changelog	2007-05-26 18:52:55.000000000 -0400
+++ initramfs-tools-0.89/debian/changelog	2007-06-05 16:59:52.000000000 -0400
@@ -1,3 +1,10 @@
+initramfs-tools (0.89) UNRELEASED; urgency=low
+
+  * Include libgcc_s.so.1 on arm since glibc always tries to load it on that
+    architecture. Closes: #426395
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 05 Jun 2007 16:57:00 -0400
+
 initramfs-tools (0.88) unstable; urgency=low
 
   [ maximilian attems ]
diff -ur old/initramfs-tools-0.88/mkinitramfs initramfs-tools-0.89/mkinitramfs
--- old/initramfs-tools-0.88/mkinitramfs	2007-05-02 04:14:07.000000000 -0400
+++ initramfs-tools-0.89/mkinitramfs	2007-06-05 17:06:50.000000000 -0400
@@ -252,6 +252,11 @@
 mkdir -p "${DESTDIR}/etc/modprobe.d"
 cp -a /etc/modprobe.d/* "${DESTDIR}/etc/modprobe.d"
 
+# workaround: libgcc always needed on old-abi arm
+if [ "$DPKG_ARCH" = arm ] || [ "$DPKG_ARCH" = armeb ]; then
+	cp -a /lib/libgcc_s.so.1 "${DESTDIR}/lib"
+fi
+
 run_scripts /usr/share/initramfs-tools/hooks
 run_scripts "${CONFDIR}"/hooks
 

Attachment: signature.asc
Description: Digital signature


Reply to: