Updating some multipath code from Gentoo bug #284589

cleanup-cruft
tsunam 16 years ago
parent 588ef85661
commit 5539d25534

@ -3,6 +3,9 @@
# Distributed under the GPL v2 # Distributed under the GPL v2
# $Id$ # $Id$
21 Sep 2009; <tsunam@gentoo.org> gen_initramfs.sh:
Update to fix broken initramfs caused by multipath config in Gentoo bug #284589
05 Sep 2009; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts, 05 Sep 2009; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts,
defaults/linuxrc: defaults/linuxrc:
Apply patch from Gentoo bug #220913 for tuxonice resume Apply patch from Gentoo bug #220913 for tuxonice resume

@ -166,7 +166,7 @@ append_multipath(){
then then
cp /etc/scsi_id.config "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy scsi_id.config' cp /etc/scsi_id.config "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy scsi_id.config'
fi fi
cd "${TEMP/initramfs-multipath-temp/}" cd "${TEMP}/initramfs-multipath-temp"
find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}"
rm -r "${TEMP}/initramfs-multipath-temp/" rm -r "${TEMP}/initramfs-multipath-temp/"
} }

Loading…
Cancel
Save