Ignore:
Timestamp:
03/31/2021 10:41:41 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
61385ca
Parents:
eef83ea
git-author:
Thomas Trepl <thomas@…> (03/30/2021 08:47:28 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:41 AM)
Message:

Merge changes from trunk to multilib

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/systemd.xml

    reef83ea rceebda5  
    4747-->
    4848
    49     <para>First, apply a patch to fix some regressions:</para>
    50 
    51 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
    52 
    53     <para>Create a symlink to work around the xsltproc command not being installed:</para>
    54 
    55 <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
    56 
    57     <para>Set up the man pages:</para>
    58 
    59 <screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
     49    <!-- For linux-5.11's API headers changing the rfkill_event structure -->
     50    <para>First, apply a patch to fix some regressions and fix functionality
     51    with future versions of the kernel:</para>
     52
     53<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-2.patch</userinput></screen>
    6054
    6155    <para>Remove tests that cannot be built in chroot:</para>
     
    9690      -Dhomed=false                 \
    9791      -Duserdb=false                \
    98       -Dman=true                    \
     92      -Dman=false                   \
    9993      -Dmode=release                \
    10094      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
     
    192186
    193187      <varlistentry>
     188        <term><parameter>-Dman=false</parameter></term>
     189        <listitem>
     190          <para>Prevent the generation of man pages to avoid extra
     191          dependencies.  We will install pre-generated man pages for systemd
     192          from a tarball later.</para>
     193        </listitem>
     194      </varlistentry>
     195
     196      <varlistentry>
    194197        <term><parameter>-Dmode=release</parameter></term>
    195198        <listitem>
     
    209212<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
    210213
    211     <para>Remove an unnecessary symbolic link:</para>
    212 
    213 <screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
     214    <para>Install the man pages:</para>
     215
     216<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen>
    214217
    215218    <para>Remove a useless directory:</para>
Note: See TracChangeset for help on using the changeset viewer.