Die messages for multipath added

cleanup-cruft
Joshua Jackson 16 years ago
parent 08b4c4a2fc
commit 6bcbbb1b45

@ -138,17 +138,29 @@ append_multipath(){
cp -a /lib/ld-* "${TEMP}/initramfs-multipath-temp/lib" \ cp -a /lib/ld-* "${TEMP}/initramfs-multipath-temp/lib" \
|| gen_die 'Could not copy files for MULTIPATH!' || gen_die 'Could not copy files for MULTIPATH!'
cp -a /lib/libc-* /lib/libc.* "${TEMP}/initramfs-multipath-temp/lib" \ 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" \ 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" \ 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" \ 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" \ 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" \ 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" \ 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" \ 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" \ 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" \ 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" \ 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" \ cp -a /bin/mountpoint "${TEMP}/initramfs-multipath-temp/bin" \
|| gen_die 'Could not copy files for MULTIPATH!'
if [ -x /sbin/multipath ] if [ -x /sbin/multipath ]
then then
cp /etc/multipath.conf "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy /etc/multipath.conf please check this' cp /etc/multipath.conf "${TEMP}/initramfs-multipath-temp/etc/" || gen_die 'could not copy /etc/multipath.conf please check this'

Loading…
Cancel
Save