Changeset 3163 in MondoRescue


Ignore:
Timestamp:
Jul 24, 2013, 6:40:07 PM (11 years ago)
Author:
Bruno Cornec
Message:
  • Also copy the multipath dynamic libraries in order to have a working multipath at restore time (RHEL 6.4 and later) (Dimitri Bellini)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3162 r3163  
    24862486    cd "$mountpoint"
    24872487
    2488     # AL04Oct08: Check whether /lib64 or /lib is a link and if so explicitly create one in rootfs
     2488    # Check whether /lib64 or /lib is a link and if so explicitly create one in rootfs
    24892489    if [ -h "/lib64" ]; then
    24902490        mkdir -p lib || LogIt "ERROR: Unable to create lib in $mountpoint."
     
    27222722
    27232723    # Copy FW in case some drivers needs it
    2724     if [ -d "/lib/firmware" ]; then
    2725         cp -rp /lib/firmware $mountpoint/lib
    2726     fi
     2724    for d in "/lib" "/usr/lib"; do
     2725        if [ -d "$d/firmware" ]; then
     2726            cp -rp "$d/firmware" "$mountpoint/$d"
     2727        fi
     2728    done
     2729
     2730    # Copy multipath dynamic libraries in case multipath is used (RHEL 6.4 and later)
     2731    for d in "/lib" "/usr/lib" "/lib64" "/usr/lib64"; do
     2732        if [ -d "$d/multipath" ]; then
     2733            cp -rp "$d/multipath" "$mountpoint/$d"
     2734        fi
     2735    done
    27272736
    27282737    # Copy an additional ProLiant tool for OBDR support
Note: See TracChangeset for help on using the changeset viewer.