mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
systemd: use a better way to disable /usr/lib/pam.d
This commit is contained in:
parent
f435668903
commit
77e340bc4a
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user