systemd: use a better way to disable /usr/lib/pam.d

This commit is contained in:
Xi Ruoyao 2022-05-29 10:34:42 +08:00
parent f435668903
commit 77e340bc4a
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -65,6 +65,7 @@ meson --prefix=/usr \
-Duserdb=false \
-Dman=false \
-Dmode=release \
-Dpamconfdir=no \
-Ddocdir=/usr/share/doc/systemd-&systemd-version; \
..</userinput></screen>
@ -159,6 +160,13 @@ meson --prefix=/usr \
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>-Dpamconfdir=no</parameter></term>
<listitem>
<para>Prevent the installation of a PAM configuration file not
functional on LFS.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>
@ -175,10 +183,6 @@ meson --prefix=/usr \
component in the path. -->
<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen>
<para>Remove a useless directory:</para>
<screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen>
<para>Create the <filename>/etc/machine-id</filename> file needed by
<command>systemd-journald</command>:</para>