Should have all the proper libraries now for multipath for Gentoo bug #284592
authortsunam <tsunam@willow.dionex.com>
Mon, 21 Sep 2009 18:27:02 +0000 (11:27 -0700)
committertsunam <tsunam@willow.dionex.com>
Mon, 21 Sep 2009 18:27:02 +0000 (11:27 -0700)
ChangeLog
gen_initramfs.sh

index c4aaee624e5882360898585536649c62a1c5713d..1847e21f740d0b947eb6134cba7caec6de3af3b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 # Distributed under the GPL v2
 # $Id$
 
+  21 Sep 2009; <tsunam@gentoo.org> gen_initramfs.sh:
+  Fix broken libraries for multipath per Gentoo bug #284592
+
   21 Sep 2009; <tsunam@gentoo.org> gen_initramfs.sh:
   Update to fix broken initramfs caused by multipath config in Gentoo bug #284589
 
index 4654eefa8b1a8b896126341a25afdd0224955f0d..3aa5d1b019f65fd092d766ba874ba5c653f86ac6 100755 (executable)
@@ -138,12 +138,18 @@ append_multipath(){
        mkdir -p "${TEMP}/initramfs-multipath-temp/lib/"
 
        # Copy files to /lib
-       for i in /lib/{ld-*,libc-*,libc.*,libdl-*,libdl.*,libsysfs*so*,libdevmapper*so*}
+       for i in /lib/{ld-*,libc-*,libc.*,libdl-*,libdl.*,libsysfs*so*,libdevmapper*so*,libpthread*,librt*,libreadline*,libncurses*}
        do
                cp -a "${i}" "${TEMP}/initramfs-multipath-temp/lib" \
                        || gen_die "Could not copy file ${i} for MULTIPATH"
        done
 
+       for i in /usr/lib/{libaio*}
+       do
+                cp -a "${i}" "${TEMP}/initramfs-multipath-temp/lib" \
+                       || gen_die "Could not copy file ${i} for MULTIPATH"
+       done
+
        # Copy files to /sbin
        for i in /sbin/{multipath,kpartx,mpath_prio_*,devmap_name,dmsetup} /lib64/udev/scsi_id
        do