(sysv): Remove an udev rule specific to systemd

This commit is contained in:
Pierre Labastie 2021-10-29 15:01:35 +02:00
parent 51ba03e696
commit bbc76b21d1

View File

@ -245,7 +245,8 @@ make -C libdm install</userinput></screen>
Now, as the <systemitem class="username">root</systemitem> user: Now, as the <systemitem class="username">root</systemitem> user:
</para> </para>
<screen role="root" revision="sysv"><userinput>make install</userinput></screen> <screen role="root" revision="sysv"><userinput>make install
rm /usr/lib/udev/rules.d/69-dm-lvm.rules</userinput></screen>
<screen role="root" revision="systemd"><userinput>make install <screen role="root" revision="systemd"><userinput>make install
make install_systemd_units</userinput></screen> make install_systemd_units</userinput></screen>
@ -285,6 +286,13 @@ make install_systemd_units</userinput></screen>
event daemon. event daemon.
</para> </para>
<para revision="sysv">
<command>rm .../69-dm-lvm.rules</command>: Under certain circumstances,
this udev rule calls <command>systemd-run</command>, which is not
available on sysv. It performs actions that are done by another boot
script anyway, so it is not needed.
</para>
<para revision="systemd"> <para revision="systemd">
<command>make install_systemd_units</command>: This is needed to install <command>make install_systemd_units</command>: This is needed to install
a unit that activates logical volumes at boot. It is not installed a unit that activates logical volumes at boot. It is not installed