Changeset 3061 for branches/3.0/mindi


Ignore:
Timestamp:
Nov 11, 2012, 3:21:03 AM (7 years ago)
Author:
bruno
Message:

r5042@localhost: bruno | 2012-11-11 00:39:19 +0100

  • Try to fix support for Fedora 17+ which have /lib as a symlink to /usr/lib (#656)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3059 r3061  
    24902490    cd "$mountpoint"
    24912491
    2492     # AL04Oct08: Check whether /lib64 is a link and if so explicitly create one in rootfs
     2492    # AL04Oct08: Check whether /lib64 or /lib is a link and if so explicitly create one in rootfs
    24932493    if [ -h "/lib64" ]; then
    24942494        mkdir -p lib || LogIt "ERROR: Unable to create lib in $mountpoint."
    24952495        ln -s lib lib64 || LogIt "ERROR: /lib64 is a symbolic link, but I couldn't create it in $mountpoint."
     2496    fi
     2497    if [ -h "/lib" ]; then
     2498        mkdir -p usr/lib || LogIt "ERROR: Unable to create usr/lib in $mountpoint."
     2499        mv lib/* usr/lib
     2500        ln -s usr/lib lib || LogIt "ERROR: /lib is a symbolic link, but I couldn't create it in $mountpoint."
    24962501    fi
    24972502    # Check whether /sbin and /bin are a link and if so explicitly create one in rootfs (Fedora 17 crazyness)
Note: See TracChangeset for help on using the changeset viewer.