mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
systemd: simplify systemd man page installation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12155 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
06addba1bf
commit
35e0479cb7
@ -42,6 +42,16 @@
|
||||
<listitem revision="sysv"> or <listitem revision="systemd"> as
|
||||
appropriate for the entry or if needed the entire day's listitem.
|
||||
-->
|
||||
<listitem revision="systemd">
|
||||
<para>2021-03-05</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[xry111] - Simplify the installation of systemd man pages.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem revision="systemd">
|
||||
<para>2021-03-04</para>
|
||||
<itemizedlist>
|
||||
|
@ -52,14 +52,6 @@
|
||||
|
||||
<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-2.patch</userinput></screen>
|
||||
|
||||
<para>Create a symlink to work around the xsltproc command not being installed:</para>
|
||||
|
||||
<screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
|
||||
|
||||
<para>Set up the man pages:</para>
|
||||
|
||||
<screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
|
||||
|
||||
<para>Remove tests that cannot be built in chroot:</para>
|
||||
|
||||
<screen><userinput remap="pre">sed '181,$ d' -i src/resolve/meson.build</userinput></screen>
|
||||
@ -97,7 +89,7 @@ meson --prefix=/usr \
|
||||
-Drpmmacrosdir=no \
|
||||
-Dhomed=false \
|
||||
-Duserdb=false \
|
||||
-Dman=true \
|
||||
-Dman=false \
|
||||
-Dmode=release \
|
||||
-Ddocdir=/usr/share/doc/systemd-&systemd-version; \
|
||||
..</userinput></screen>
|
||||
@ -192,6 +184,15 @@ meson --prefix=/usr \
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>-Dman=false</parameter></term>
|
||||
<listitem>
|
||||
<para>Prevent the generation of man pages to avoid extra
|
||||
dependencies. We will install pre-generated man pages for systemd
|
||||
from a tarball later.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>-Dmode=release</parameter></term>
|
||||
<listitem>
|
||||
@ -210,9 +211,9 @@ meson --prefix=/usr \
|
||||
|
||||
<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
|
||||
|
||||
<para>Remove an unnecessary symbolic link:</para>
|
||||
<para>Install the man pages:</para>
|
||||
|
||||
<screen><userinput remap="install">rm -f /usr/bin/xsltproc</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>
|
||||
|
||||
|
@ -630,10 +630,11 @@
|
||||
<!--<!ENTITY systemd-url "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">-->
|
||||
<!ENTITY systemd-md5 "b0d6e603b814908acc69db29bbfb023c">
|
||||
<!ENTITY systemd-home "https://www.freedesktop.org/wiki/Software/systemd/">
|
||||
<!ENTITY systemd-man-version "247-2">
|
||||
<!ENTITY systemd-man-size "612 KB">
|
||||
<!--<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;-&systemd-stable;.tar.xz">-->
|
||||
<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-version;.tar.xz">
|
||||
<!ENTITY systemd-man-md5 "438c98be200e1c3b308e58a3399d4465">
|
||||
<!ENTITY systemd-man-url "&anduin-sources;/systemd-man-pages-&systemd-man-version;.tar.xz">
|
||||
<!ENTITY systemd-man-md5 "7d8a53105b7a205f2863e360d9a23f95">
|
||||
<!ENTITY systemd-fin-du "264 MB">
|
||||
<!ENTITY systemd-fin-sbu "1.8 SBU">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user