From 6bcbbb1b45edfe845fc6af0a58a2cd1b3bbfd5c5 Mon Sep 17 00:00:00 2001 From: Joshua Jackson Date: Tue, 24 Feb 2009 17:11:01 -0800 Subject: [PATCH] Die messages for multipath added --- gen_initramfs.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 01a8b70..40c6641 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -138,17 +138,29 @@ append_multipath(){ cp -a /lib/ld-* "${TEMP}/initramfs-multipath-temp/lib" \ || gen_die 'Could not copy files for MULTIPATH!' cp -a /lib/libc-* /lib/libc.* "${TEMP}/initramfs-multipath-temp/lib" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /lib/libdl-* /lib/libdl.* "${TEMP}/initramfs-multipath-temp/lib" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /lib/libsysfs*so* "${TEMP}/initramfs-multipath-temp/lib" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /lib/libdevmapper*so* "${TEMP}/initramfs-multipath-temp/lib" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /sbin/multipath "${TEMP}/initramfs-multipath-temp/sbin" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /sbin/kpartx "${TEMP}/initramfs-multipath-temp/sbin" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /sbin/mpath_prio_* "${TEMP}/initramfs-multipath-temp/sbin" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /lib64/udev/scsi_id "${TEMP}/initramfs-multipath-temp/sbin" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /sbin/devmap_name "${TEMP}/initramfs-multipath-temp/sbin" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /sbin/dmsetup "${TEMP}/initramfs-multipath-temp/sbin" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /sbin/dmsetup "${TEMP}/initramfs-multipath-temp/sbin" \ + || gen_die 'Could not copy files for MULTIPATH!' cp -a /bin/mountpoint "${TEMP}/initramfs-multipath-temp/bin" \ + || gen_die 'Could not copy files for MULTIPATH!' if [ -x /sbin/multipath ] then cp /etc/multipath.conf "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy /etc/multipath.conf please check this' -- 2.26.2