Changeset 3041 for branches/3.0/mindi


Ignore:
Timestamp:
Oct 6, 2012, 5:45:20 AM (7 years ago)
Author:
bruno
Message:
  • Adds support for symlink for /sbin and /bin to support Fedora 17+ crazyness :-(
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mindi/mindi

    r3039 r3041  
    24832483        mkdir -p lib || LogIt "ERROR: Unable to create lib in $mountpoint."
    24842484        ln -s lib lib64 || LogIt "ERROR: /lib64 is a symbolic link, but I couldn't create it in $mountpoint."
     2485    fi
     2486    # Check whether /sbin and /bin are a link and if so explicitly create one in rootfs (Fedora 17 crazyness)
     2487    if [ -h "/sbin" ]; then
     2488        mv sbin/* usr/sbin
     2489        ln -s /usr/sbin sbin || LogIt "ERROR: /sbin is a symbolic link, but I couldn't create it in $mountpoint."
     2490    fi
     2491    if [ -h "/bin" ]; then
     2492        mv bin/* usr/bin
     2493        ln -s /usr/bin bin || LogIt "ERROR: /bin is a symbolic link, but I couldn't create it in $mountpoint."
    24852494    fi
    24862495
Note: See TracChangeset for help on using the changeset viewer.