Changeset 3070 in MondoRescue for branches/3.0/mindi


Ignore:
Timestamp:
Nov 15, 2012, 3:41:36 AM (11 years ago)
Author:
Bruno Cornec
Message:

r5062@localhost: bruno | 2012-11-15 00:57:32 +0100

  • STill trying to improve Fedora 17 setup by not creating the target dir of root symlinks as they are created by tar when tools are copied into the bigdir target
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3066 r3070  
    24962496        mkdir -p usr/lib || LogIt "ERROR: Unable to create usr/lib in $mountpoint."
    24972497        mv lib/* usr/lib
    2498         ln -s usr/lib lib || LogIt "ERROR: /lib is a symbolic link, but I couldn't create it in $mountpoint."
     2498        rmdir lib
    24992499    fi
    25002500    # Check whether /sbin and /bin are a link and if so explicitly create one in rootfs (Fedora 17 crazyness)
    25012501    if [ -h "/sbin" ]; then
     2502        mkdir -p usr/sbin || LogIt "ERROR: Unable to create usr/sbin in $mountpoint."
    25022503        mv sbin/* usr/sbin
    2503         ln -s /usr/sbin sbin || LogIt "ERROR: /sbin is a symbolic link, but I couldn't create it in $mountpoint."
     2504        rmdir sbin
    25042505    fi
    25052506    if [ -h "/bin" ]; then
     2507        mkdir -p usr/bin || LogIt "ERROR: Unable to create usr/bin in $mountpoint."
    25062508        mv bin/* usr/bin
    2507         ln -s /usr/bin bin || LogIt "ERROR: /bin is a symbolic link, but I couldn't create it in $mountpoint."
     2509        rmdir bin
    25082510    fi
    25092511
Note: See TracChangeset for help on using the changeset viewer.