Ignore:
Timestamp:
05/29/2022 04:29:20 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
4ad57d43
Parents:
f435668
git-author:
Xi Ruoyao <xry111@…> (05/29/2022 02:34:42 AM)
git-committer:
Xi Ruoyao <xry111@…> (05/29/2022 04:29:20 AM)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    rf435668 r77e340bc  
    6666      -Dman=false                   \
    6767      -Dmode=release                \
     68      -Dpamconfdir=no               \
    6869      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    6970      ..</userinput></screen>
     
    160161      </varlistentry>
    161162
     163      <varlistentry>
     164        <term><parameter>-Dpamconfdir=no</parameter></term>
     165        <listitem>
     166          <para>Prevent the installation of a PAM configuration file not
     167          functional on LFS.</para>
     168        </listitem>
     169      </varlistentry>
    162170    </variablelist>
    163171
     
    175183         component in the path.  -->
    176184<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen>
    177 
    178     <para>Remove a useless directory:</para>
    179 
    180 <screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen>
    181185
    182186    <para>Create the <filename>/etc/machine-id</filename> file needed by
Note: See TracChangeset for help on using the changeset viewer.