From 5539d255345057a79c832c3f79edcb571ff66828 Mon Sep 17 00:00:00 2001 From: tsunam Date: Mon, 21 Sep 2009 11:12:08 -0700 Subject: [PATCH] Updating some multipath code from Gentoo bug #284589 --- ChangeLog | 3 +++ gen_initramfs.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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/" } -- 2.26.2