mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
udev no longer symlinks for udevcontrol, udevsettle and udevtrigger. Modify init script to use udevadm [action]
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4840 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -38,10 +38,10 @@ kill_udevd > "/dev/null" 2>&1
|
|||||||
/sbin/udevadm control env STARTUP=1
|
/sbin/udevadm control env STARTUP=1
|
||||||
if [ "$not_first_boot" != "" ];then
|
if [ "$not_first_boot" != "" ];then
|
||||||
/sbin/udevadm trigger --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus --subsystem-nomatch=graphics --subsystem-nomatch=backlight --subsystem-nomatch=video4linux --subsystem-nomatch=platform
|
/sbin/udevadm trigger --subsystem-nomatch=tty --subsystem-nomatch=mem --subsystem-nomatch=vc --subsystem-nomatch=vtconsole --subsystem-nomatch=misc --subsystem-nomatch=dcon --subsystem-nomatch=pci_bus --subsystem-nomatch=graphics --subsystem-nomatch=backlight --subsystem-nomatch=video4linux --subsystem-nomatch=platform
|
||||||
(/sbin/udevsettle --timeout=3; /sbin/udevcontrol env STARTUP=)&
|
(/sbin/udevadm settle --timeout=3; /sbin/udevadm control env STARTUP=)&
|
||||||
else
|
else
|
||||||
/sbin/udevadm trigger
|
/sbin/udevadm trigger
|
||||||
/sbin/udevsettle
|
/sbin/udevadm settle
|
||||||
(cd /; tar cf /etc/dev.tar /dev)
|
(cd /; tar cf /etc/dev.tar /dev)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
|
|||||||
the hotplug package and requires a kernel not older than 2.6.12."
|
the hotplug package and requires a kernel not older than 2.6.12."
|
||||||
RPROVIDES_${PN} = "hotplug"
|
RPROVIDES_${PN} = "hotplug"
|
||||||
|
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
||||||
file://noasmlinkage.patch;patch=1 \
|
file://noasmlinkage.patch;patch=1 \
|
||||||
file://flags.patch;patch=1 \
|
file://flags.patch;patch=1 \
|
||||||
|
|||||||
Reference in New Issue
Block a user