Ignore:
Timestamp:
Mar 17, 2010, 3:55:16 AM (9 years ago)
Author:
bruno
Message:

r3735@localhost: bruno | 2010-03-14 19:50:12 +0100

  • Avoids remaining error messages at restore time in new mindi
  • Adapt group file to include latest one needed by udev
  • Explicitely add a dep on libnss_files.so.2 needed for uid resolution at restore time
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/rootfs/sbin/init

    r2592 r2594  
    9191    openvt -l /bin/sh /sbin/wait-for-petris
    9292    openvt -l /usr/bin/tail -f $LOGFILE
    93     # May avoid shell error messages
    94     # chmod 666 /dev/tty* /dev/console
    9593    # By default first serial line is configured as tty
    9694    # Required to have a correct serial console support (MP on ia64 or VSP with iLO2 e.g.)
     
    313311        /sbin/udevadm settle --timeout=10
    314312    fi
    315     # It seems we need to have more static devs on some distro were
    316     # udev as some other requirements to be covered later on.
     313    # It seems we need to have more static devs on some distro where
     314    # udev has some other requirements to be covered later on.
    317315    # So in the mean time:
    318316    for d in `ls /dev.static`; do
     
    321319        fi
    322320    done
    323     rm -rf /dev.static
    324321    echo $PKLVL > /proc/sys/kernel/printk
    325322}
     
    680677    if [ -e "$MINDI_CACHE/USE-UDEV" ] ; then
    681678        if [ -x /sbin/udevadm ]; then
    682             /sbin/udevadm trigger --retry-failed
     679            udaver=`/sbin/udevadm --version`
     680            if [ $udaver -lt 146 ]; then
     681                /sbin/udevadm trigger --retry-failed
     682            else
     683                # After version 146 option --retry-failed doesn't exist anymore
     684                /sbin/udevadm trigger
     685            fi
    683686        fi
    684687    fi
Note: See TracChangeset for help on using the changeset viewer.