Changeset c7ee38f for bootscripts/lfs
- Timestamp:
- 07/16/2023 02:04:12 AM (15 months ago)
- Branches:
- 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- a289860
- Parents:
- 1053282
- Location:
- bootscripts/lfs/init.d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/udev
r1053282 rc7ee38f 50 50 # Now traverse /sys in order to "coldplug" devices that have 51 51 # already been discovered 52 / sbin/udevadm trigger --action=add --type=subsystems53 / sbin/udevadm trigger --action=add --type=devices54 / sbin/udevadm trigger --action=change --type=devices52 /bin/udevadm trigger --action=add --type=subsystems 53 /bin/udevadm trigger --action=add --type=devices 54 /bin/udevadm trigger --action=change --type=devices 55 55 56 56 # Now wait for udevd to process the uevents we triggered 57 57 if ! is_true "$OMIT_UDEV_SETTLE"; then 58 / sbin/udevadm settle58 /bin/udevadm settle 59 59 fi 60 60 -
bootscripts/lfs/init.d/udev_retry
r1053282 rc7ee38f 35 35 log_info_msg "Retrying failed uevents, if any..." 36 36 37 # As of udev-186, the --run option is no longer valid38 #rundir=$(/sbin/udevadm info --run)39 37 rundir=/run/udev 40 38 # From Debian: "copy the rules generated before / was mounted … … 53 51 while read line ; do 54 52 for subsystem in $line ; do 55 / sbin/udevadm trigger --subsystem-match=$subsystem --action=add53 /bin/udevadm trigger --subsystem-match=$subsystem --action=add 56 54 done 57 55 done … … 59 57 # Now wait for udevd to process the uevents we triggered 60 58 if ! is_true "$OMIT_UDEV_RETRY_SETTLE"; then 61 / sbin/udevadm settle59 /bin/udevadm settle 62 60 fi 63 61
Note:
See TracChangeset
for help on using the changeset viewer.