mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 11:49:20 +01: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 \
|
-Duserdb=false \
|
||||||
-Dman=false \
|
-Dman=false \
|
||||||
-Dmode=release \
|
-Dmode=release \
|
||||||
|
-Dpamconfdir=no \
|
||||||
-Ddocdir=/usr/share/doc/systemd-&systemd-version; \
|
-Ddocdir=/usr/share/doc/systemd-&systemd-version; \
|
||||||
..</userinput></screen>
|
..</userinput></screen>
|
||||||
|
|
||||||
@ -159,6 +160,13 @@ meson --prefix=/usr \
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
@ -175,10 +183,6 @@ meson --prefix=/usr \
|
|||||||
component in the path. -->
|
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>
|
<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
|
<para>Create the <filename>/etc/machine-id</filename> file needed by
|
||||||
<command>systemd-journald</command>:</para>
|
<command>systemd-journald</command>:</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user