Change History (7)
comment:2 by , 16 months ago
Maybe something like (in the udev page)
<para>Create a rule for setting the system time:</para> <screen><userinput remap="pre">mkdir -p /etc/udev/rules.d && cat > /etc/udev/rules.d/55-lfs.rules <<EOF # /etc/udev/rules.d/55-lfs.rules: Rule definitions for LFS. # Core kernel devices # This causes the system clock to be set as soon as /dev/rtc becomes available. SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start" KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start" # Comms devices KERNEL=="ippp[0-9]*", GROUP="dialout" KERNEL=="isdn[0-9]*", GROUP="dialout" KERNEL=="isdnctrl[0-9]*", GROUP="dialout" KERNEL=="dcbri[0-9]*", GROUP="dialout" EOF</userinput></screen>
and finally remove the "tar -xvf ../../&udev-lfs-version;.tar.xz" part
comment:3 by , 16 months ago
isdn is primarily for establishing a network connection over a telephone line. I have not done that since 1999. Unless we can find someone who still needs that, we should probably remove all references to "dialout" (group id 10).
I think that for configuring Cisco devices, there is still a need to do a terminal connection over a serial line with a program like minicom (not in LFS/BLFS), but that is not a 'dialout' connection.
comment:4 by , 16 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 16 months ago
Because there are some additional files in the udev-lfs tarball, I am going to leave 55-lfs.rules there, but will update the tarball to remove the cdrom rules and references to ISDN devices.
comment:6 by , 16 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commit 6de383a26215753a2b0a6d2dba6956ecfd786a90
Update udev-lfs tarball to remove obsolete cdrom rules and references to ISDN devices. Update to wheel-0.41.0 (Python Module). Update to tar-1.35. Update to systemd-254. Update to meson-1.2.0. Update to linux-6.4.7. Update to gcc-13.2.0. Update to file-5.45.
Some notes:
81-cdrom.rules
can be dropped at all. The job of it is already performed by50-udev-default.rules
(chgrp the device nodes to cdrom group) and60-cdrom_id.rules
(for callingcdrom_id
) in/usr/lib/udev/rules.d
.55-lfs.rules
:83-cdrom-symlinks.rules
: I don't quite understand it. Waiting for comments from others.And as the rules are small now, maybe we can included them in the book as
cat > ... << EOF
blocks instead of shipping a tarball.