Changeset 1720


Ignore:
Timestamp:
Oct 28, 2007, 1:04:56 PM (12 years ago)
Author:
bruno
Message:

Intermediate step for tests: udevd is dynamically linked so we will need to support dyn linked ninaries earlier at restore time, which leads to the usage of a dyn linked busybox (good thing in itself, but implies lots of rework and checks)

Location:
branches/2.2.5/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1718 r1720  
    27692769        cp --parents -Rdf /etc/udev . 2> /dev/null
    27702770        cp --parents -Rdf /lib/udev /lib64/udev . 2> /dev/null
     2771        if [ -x /sbin/udevd ]; then
     2772            LocateDeps /sbin/udevd > $MINDI_TMP/udev.lis
     2773            cp -a /sbin/udevd sbin
     2774        else
     2775            echo "udevd daemon not in standard place (/sbin)" 2>&1 | tee -a $LOGFILE
     2776            echo "mindi will use static devices" 2>&1 | tee -a $LOGFILE
     2777            rm -f tmp/USE-UDEV
     2778        fi
    27712779    fi
    27722780    for w in cdrom floppy groovy-stuff ; do
     
    31343142            MindiExit 0
    31353143        fi
     3144    elif [ "$1" = "--locatedeps" ] ; then
     3145        [ ! "$2" ] && Die "Please specify the binary to look at"
     3146        LocateDeps $2
     3147        # Avoids logfile content for mondo
     3148        export MONDO_SHARE=""
     3149        MindiExit $?
    31363150    elif [ "$1" = "--makemountlist" ] ; then
    31373151        [ ! "$2" ] && Die "Please specify the output file"
  • branches/2.2.5/mindi/rootfs/sbin/init

    r1719 r1720  
    278278    mount -n -t devpts -o mode=620 none /dev/pts
    279279    mount -n -t tmpfs  none /dev/shm
    280     udevd --daemon
     280    /sbin/udevd --daemon
    281281}
    282282
     
    492492rm -f /foozero
    493493
    494 echo 0 > /proc/sys/kernel/exec-shield 2>> /dev/null
     494if [ -f /proc/sys/kernel/exec-shield ]; then
     495    echo 0 > /proc/sys/kernel/exec-shield 2>> /dev/null
     496fi
    495497
    496498if [ -e "/tmp/USE-UDEV" ] ; then
    497499    RunUdevd
    498 fi
    499 ExtractDevTarballs
     500else
     501    ExtractDevTarballs
     502fi
    500503LaunchTerminals
    501504
Note: See TracChangeset for help on using the changeset viewer.