Ignore:
Timestamp:
03/31/2021 10:41:35 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
15fd2f2
Parents:
b2c61c6
git-author:
Thomas Trepl <thomas@…> (07/27/2019 11:23:07 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:35 AM)
Message:

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11644 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/systemd.xml

    rb2c61c6 rbe00729f  
    4040  <sect2 role="installation">
    4141    <title>Installation of systemd</title>
    42     <!--
    43     <para>Apply a patch to fix two critical security vulnerabilities:</para>
    44 
    45 <screen><userinput remap="pre">patch -Np1 -i ../systemd-240-security_fixes-2.patch</userinput></screen>
    46     -->
    4742
    4843    <para>Create a symlink to work around missing xsltproc:</para>
     
    7166<screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen>
    7267
     68<!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. -->
     69
    7370    <para>Prepare systemd for compilation:</para>
    7471
    75     <screen><userinput remap="configure">mkdir -p build
     72<screen><userinput remap="configure">mkdir -p build
    7673cd       build
    7774
    7875PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
    7976LANG=en_US.UTF-8                   \
     77CFLAGS+="-Wno-format-overflow"     \
    8078meson --prefix=/usr                \
    8179      --sysconfdir=/etc            \
     
    8684      -Dfirstboot=false            \
    8785      -Dinstall-tests=false        \
    88       -Dkill-path=/bin/kill        \
    8986      -Dkmod-path=/bin/kmod        \
    9087      -Dldconfig=false             \
     
    9794      -Dumount-path=/bin/umount    \
    9895      -Db_lto=false                \
     96      -Drpmmacrosdir=no            \
    9997      ..</userinput></screen>
    10098
     
    175173      </varlistentry>
    176174
     175      <varlistentry>
     176        <term><parameter>-Drpmmacrosdir=no</parameter></term>
     177        <listitem>
     178          <para>This switch disables installation of RPM Macros
     179          for use with systemd because LFS does not support RPM.</para>
     180        </listitem>
     181      </varlistentry>
    177182    </variablelist>
    178183
     
    189194<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
    190195
    191     <para>Remove an unnecessary directory and file:</para>
    192 
    193 <screen><userinput remap="install">rm -rfv /usr/lib/rpm
    194 rm -f /usr/bin/xsltproc</userinput></screen>
     196    <para>Remove an unnecessary symbolic link:</para>
     197
     198<screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
    195199
    196200    <para>Create the <filename>/etc/machine-id</filename> file needed by
     
    198202
    199203<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
     204
     205    <para>Remove symbolic links to Util-Linux libraries:</para>
     206
     207<screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>
    200208
    201209    <para>Prevent systemd from creating <filename>/run/nologin</filename>
Note: See TracChangeset for help on using the changeset viewer.