From: tsunam Date: Mon, 21 Sep 2009 18:12:08 +0000 (-0700) Subject: Updating some multipath code from Gentoo bug #284589 X-Git-Tag: v3.4.10.907~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5539d255345057a79c832c3f79edcb571ff66828;p=genkernel.git Updating some multipath code from Gentoo bug #284589 --- diff --git a/ChangeLog b/ChangeLog index c2df1c4..c4aaee6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ # Distributed under the GPL v2 # $Id$ + 21 Sep 2009; gen_initramfs.sh: + Update to fix broken initramfs caused by multipath config in Gentoo bug #284589 + 05 Sep 2009; Andrew Gaffney defaults/initrd.scripts, defaults/linuxrc: Apply patch from Gentoo bug #220913 for tuxonice resume diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 2ad0deb..4654eef 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -166,7 +166,7 @@ append_multipath(){ then cp /etc/scsi_id.config "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy scsi_id.config' fi - cd "${TEMP/initramfs-multipath-temp/}" + cd "${TEMP}/initramfs-multipath-temp" find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" rm -r "${TEMP}/initramfs-multipath-temp/" }