Apply patch from robbat2 to fix whitespace breakage in multipath code

cleanup-cruft
Andrew Gaffney 16 years ago
parent 1e147a3654
commit 81b4ff2516

@ -2,6 +2,9 @@
# Copyright 1999-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS) # Copyright 1999-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
# Distributed under the GPL v2 # Distributed under the GPL v2
06 Mar 2009; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
Apply patch from robbat2 to fix whitespace breakage in multipath code
06 Mar 2009; Andrew Gaffney <agaffney@gentoo.org> gen_determineargs.sh, 06 Mar 2009; Andrew Gaffney <agaffney@gentoo.org> gen_determineargs.sh,
genkernel.conf: genkernel.conf:
Apply patch from robbat2 to finish wiring up multipath support Apply patch from robbat2 to finish wiring up multipath support

@ -169,7 +169,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/"
} }
@ -585,7 +585,7 @@ create_initramfs() {
append_data 'evms' "${EVMS}" append_data 'evms' "${EVMS}"
append_data 'mdadm' "${MDADM}" append_data 'mdadm' "${MDADM}"
append_data 'luks' "${LUKS}" append_data 'luks' "${LUKS}"
append_data 'multipath" "${MULTIPATH}" append_data 'multipath' "${MULTIPATH}"
if [ "${NORAMDISKMODULES}" -eq '0' ] if [ "${NORAMDISKMODULES}" -eq '0' ]
then then

Loading…
Cancel
Save