mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 03:11:57 +00:00
udev: Remove two udev rules requiring a full systemd installation
Or they'll produce some error messages saying "cannot execute systemd-sysctl or systemd-vconsole-setup".
This commit is contained in:
parent
870d24c5cb
commit
f24a041cd4
@ -51,6 +51,10 @@
|
||||
<screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
|
||||
-e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
|
||||
|
||||
<para>Remove one udev rule requiring a full Systemd installation:</para>
|
||||
|
||||
<screen><userinput remap="pre">sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in</userinput></screen>
|
||||
|
||||
<para>Prepare Udev for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">mkdir -p build
|
||||
@ -112,6 +116,11 @@ meson setup \
|
||||
build.ninja | awk '{ print $2 }') \
|
||||
$(realpath libudev.so --relative-to .)</userinput></screen>
|
||||
|
||||
<para>Remove one udev rule file requiring a full Systemd
|
||||
installation:</para>
|
||||
|
||||
<screen><userinput remap="make">rm rules.d/90-vconsole.rules</userinput></screen>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
||||
<screen><userinput remap="install">install -vm755 -d {/usr/lib,/etc}/udev/{hwdb,rules}.d
|
||||
|
Loading…
Reference in New Issue
Block a user