From: tsunam Date: Mon, 21 Sep 2009 18:27:02 +0000 (-0700) Subject: Should have all the proper libraries now for multipath for Gentoo bug #284592 X-Git-Tag: v3.4.10.907~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=494f9c1d7b251534d5376591ca1f320b4420fa7e;p=genkernel.git Should have all the proper libraries now for multipath for Gentoo bug #284592 --- diff --git a/ChangeLog b/ChangeLog index c4aaee6..1847e21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ # Distributed under the GPL v2 # $Id$ + 21 Sep 2009; gen_initramfs.sh: + Fix broken libraries for multipath per Gentoo bug #284592 + 21 Sep 2009; gen_initramfs.sh: Update to fix broken initramfs caused by multipath config in Gentoo bug #284589 diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 4654eef..3aa5d1b 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -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