From f6bf77de74bb81eff72cef18f75b9335b94dcdd5 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 11 Nov 2023 18:07:05 +0800 Subject: [PATCH] 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. --- chapter08/udev.xml | 7 +++++-- 1 file 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 .) Remove one udev rule file requiring a full Systemd - installation: + 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): -rm rules.d/90-vconsole.rules +rm rules.d/{70-uaccess,71-seat,73-seat-late,90-vconsole}.rules +rm ../rules.d/70-power-switch.rules Install the package: