Changeset 1724


Ignore:
Timestamp:
Oct 28, 2007, 6:03:42 PM (12 years ago)
Author:
bruno
Message:

If udev then adds modprobe/insmod to rootfs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi

    r1723 r1724  
    10121012LocateDeps() {
    10131013    local incoming fname deps
    1014     incoming="$1"
     1014    incoming="$*"
    10151015    for fname in $incoming ; do
    10161016        if [ ! -e "$fname" ] ; then
     
    27702770    mkdir -p tmp
    27712771    [ -e "/dev/.devfsd" ] && echo "/dev/.devfsd found" > tmp/USE-DEVFS
     2772
     2773    # Management of udev (which includes modprobe in rules)
    27722774    ps auxww | grep -v grep | grep -q /udevd
    27732775    if [ $? -eq 0 ]; then
     
    27762778        cp --parents -Rdf /lib/udev /lib64/udev . 2> /dev/null
    27772779        if [ -x /sbin/udevd ]; then
    2778             LocateDeps /sbin/udevd > $MINDI_TMP/udev.lis
    2779             cp --parents -Rdf /sbin/udevd `sort -u $MINDI_TMP/udev.lis` .
     2780            LocateDeps /sbin/udevd /sbin/modprobe /sbin/insmod > $MINDI_TMP/udev.lis
     2781            cp --parents -Rdf /sbin/udevd /sbin/modprobe /sbin/insmod `sort -u $MINDI_TMP/udev.lis` .
    27802782            rm -f $MINDI_TMP/udev.lis
    27812783        else
    27822784            echo "udevd daemon not in standard place (/sbin)" 2>&1 | tee -a $LOGFILE
    2783             echo "mindi will use static devices" 2>&1 | tee -a $LOGFILE
     2785            echo "mindi will use static devices which may cause problems" 2>&1 | tee -a $LOGFILE
    27842786            rm -f tmp/USE-UDEV
    27852787        fi
Note: See TracChangeset for help on using the changeset viewer.