Changeset ceebda5 for chapter08/systemd.xml
- Timestamp:
- 03/31/2021 10:41:41 AM (3 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/systemd.xml
reef83ea rceebda5 47 47 --> 48 48 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> 60 54 61 55 <para>Remove tests that cannot be built in chroot:</para> … … 96 90 -Dhomed=false \ 97 91 -Duserdb=false \ 98 -Dman= true\92 -Dman=false \ 99 93 -Dmode=release \ 100 94 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ … … 192 186 193 187 <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> 194 197 <term><parameter>-Dmode=release</parameter></term> 195 198 <listitem> … … 209 212 <screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen> 210 213 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> 214 217 215 218 <para>Remove a useless directory:</para>
Note:
See TracChangeset
for help on using the changeset viewer.