Changeset 3324


Ignore:
Timestamp:
Dec 2, 2014, 1:15:04 PM (4 years ago)
Author:
bruno
Message:
  • Fix #741: adapt busybox and init location for pre-fedora 18 distros (missing links) !
  • Fix start-* script as well
Location:
branches/3.2/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3323 r3324  
    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
     2682
    26782683    # Copy an additional ProLiant tool for OBDR support
    26792684    if [ -f $MINDI_TMP/OBDR ]; then
     
    27572762        cd "$mountpoint"
    27582763        # kernel expects init in cpio filesystem
    2759         ln -sf sbin/init init
     2764        ln -sf usr/sbin/init init
    27602765        # create cpio image file and unmount loop filesystem
    27612766        find . -print | cpio -o -H newc | gzip -9 > $rdz_fname 2> /dev/null
  • branches/3.2/mindi/rootfs/etc/init.d/rcS

    r3310 r3324  
    966966if [ "`grep -i pxe /proc/cmdline`" ] || [ "`grep -i net /proc/cmdline`" ]; then
    967967    # We need to get here exported variables from start-netfs
    968     . /sbin/start-netfs
     968    . /usr/sbin/start-netfs
    969969fi
    970970
     
    980980    sed -i "s/backup-media-type.*/backup-media-type netfs/" /tmp/mondorestore.cfg
    981981elif [ "`grep -i usb= /proc/cmdline`" ] || [ "`grep -i usb /tmp/mondorestore.cfg 2>/dev/null | grep media-type`" ]; then
    982     . /sbin/start-usb
     982    . /usr/sbin/start-usb
    983983
    984984    # Simulate a local CD
     
    989989    HandleCDROM
    990990    ExtractDataDisksAndLoadModules
    991     # We need to get here exported variables from start-netfs
    992     . /sbin/start-netfs
    993991fi
    994992res=$?
Note: See TracChangeset for help on using the changeset viewer.