mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 05:49:23 +00:00
udev: fix action used during startup
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
committed by
Koen Kooi
parent
4ab0bd1935
commit
c1da9cf13b
@@ -65,10 +65,10 @@ echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
|
|||||||
|
|
||||||
/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 --action=add
|
||||||
(/sbin/udevadm settle --timeout=8; /sbin/udevadm control --env STARTUP=)&
|
(/sbin/udevadm settle --timeout=8; /sbin/udevadm control --env STARTUP=)&
|
||||||
else
|
else
|
||||||
/sbin/udevadm trigger
|
/sbin/udevadm trigger --action=add
|
||||||
/sbin/udevadm settle
|
/sbin/udevadm settle
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ SRC_URI += " \
|
|||||||
file://udev-compat-wrapper-patch \
|
file://udev-compat-wrapper-patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
inherit update-rc.d autotools
|
inherit update-rc.d autotools
|
||||||
|
|
||||||
EXTRA_OECONF += " --with-udev-prefix= \
|
EXTRA_OECONF += " --with-udev-prefix= \
|
||||||
|
|||||||
Reference in New Issue
Block a user