Changeset f6fe500 for bootscripts
- Timestamp:
- 05/11/2014 03:02:47 PM (10 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 6206f72
- Parents:
- 799daaa
- Location:
- bootscripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/Makefile
r799daaa rf6fe500 29 29 install -d -m ${DIRMODE} ${SBIN} 30 30 ln -sfn services ${LIBDIR}/lsb 31 ln -sfn rc.d/init.d ${ETCDIR}/init.d-sysv 32 ln -sfn init.d-sysv ${ETCDIR}/init.d 31 ln -sfn rc.d/init.d ${ETCDIR}/init.d 33 32 34 33 files: create-dirs -
bootscripts/lfs/init.d/udev
r799daaa rf6fe500 50 50 # Start the udev daemon to continually watch for, and act on, 51 51 # uevents 52 / lib/systemd/systemd-udevd --daemon52 /sbin/udevd --daemon 53 53 54 54 # Now traverse /sys in order to "coldplug" devices that have 55 55 # already been discovered 56 / bin/udevadm trigger --action=add --type=subsystems57 / bin/udevadm trigger --action=add --type=devices58 / bin/udevadm trigger --action=change --type=devices56 /sbin/udevadm trigger --action=add --type=subsystems 57 /sbin/udevadm trigger --action=add --type=devices 58 /sbin/udevadm trigger --action=change --type=devices 59 59 60 60 # Now wait for udevd to process the uevents we triggered 61 61 if ! is_true "$OMIT_UDEV_SETTLE"; then 62 / bin/udevadm settle62 /sbin/udevadm settle 63 63 fi 64 64 -
bootscripts/lfs/init.d/udev_retry
r799daaa rf6fe500 36 36 37 37 # As of udev-186, the --run option is no longer valid 38 #rundir=$(/ bin/udevadm info --run)38 #rundir=$(/sbin/udevadm info --run) 39 39 rundir=/run/udev 40 40 # From Debian: "copy the rules generated before / was mounted … … 53 53 while read line ; do 54 54 for subsystem in $line ; do 55 / bin/udevadm trigger --subsystem-match=$subsystem --action=add55 /sbin/udevadm trigger --subsystem-match=$subsystem --action=add 56 56 done 57 57 done … … 59 59 # Now wait for udevd to process the uevents we triggered 60 60 if ! is_true "$OMIT_UDEV_RETRY_SETTLE"; then 61 / bin/udevadm settle61 /sbin/udevadm settle 62 62 fi 63 63
Note:
See TracChangeset
for help on using the changeset viewer.