diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-11-11 18:07:05 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-11-11 18:07:05 +0800 |
commit | f6bf77de74bb81eff72cef18f75b9335b94dcdd5 (patch) | |
tree | 05afdc4eefab7bb6ca8ba57014eed678d52218be | |
parent | d11686c6f0d1ef2d7c739e06ef151155b19e3469 (diff) |
udev: Remove four udev rules belonging to logind
They are not really useful without logind. BLFS elogind package will
provide them too, so we should remove them and avoid a package manager
conflict.
-rw-r--r-- | chapter08/udev.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chapter08/udev.xml b/chapter08/udev.xml index 35bb12f46..acc23172f 100644 --- a/chapter08/udev.xml +++ b/chapter08/udev.xml @@ -117,9 +117,12 @@ meson setup \ $(realpath libudev.so --relative-to .)</userinput></screen> <para>Remove one udev rule file requiring a full Systemd - installation:</para> + installation and four udev rule files for the login manager (if you need + a login manager, install the BLFS elogind package after finishing LFS; + the elogind package will install these udev rules as well):</para> -<screen><userinput remap="make">rm rules.d/90-vconsole.rules</userinput></screen> +<screen><userinput remap="make">rm rules.d/{70-uaccess,71-seat,73-seat-late,90-vconsole}.rules +rm ../rules.d/70-power-switch.rules</userinput></screen> <para>Install the package:</para> |