Changeset 3326


Ignore:
Timestamp:
Dec 3, 2014, 12:02:02 AM (5 years ago)
Author:
bruno
Message:
  • Creates all links under /bin from /usr/bin when not already existing to allow older distros to find their binaries without issue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3324 r3326  
    26762676    done
    26772677
    2678     # Ensure that with mindi-busybox 1.21, busybox also exists under /bin
    2679     if [ ! -e $mountpoint/bin/busybox ]; then
    2680         (cd $mountpoint/bin ; ln -sf ../usr/bin/busybox .)
    2681     fi
     2678    # Ensure that with mindi-busybox 1.21, the links also exists under /bin for older distro which need it for their scripts
     2679    (cd $mountpoint/usr/bin ; for i in `ls`; do if [ ! -e $mountpoint/bin/$i ]; then (cd $mountpoint/bin ; ln -sf ../usr/bin/$i .); fi; done)
    26822680
    26832681    # Copy an additional ProLiant tool for OBDR support
Note: See TracChangeset for help on using the changeset viewer.