aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/systemd.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index 192e0035c..867b6fdcf 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -43,10 +43,15 @@
<para>Create a symlink to work around missing xsltproc:</para>
<screen><userinput remap="pre">ln -sf /tools/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 '179,223d' -i src/resolve/meson.build</userinput></screen>
+
<para>Prepare systemd for compilation:</para>
<screen><userinput remap="configure">mkdir -p build
@@ -60,6 +65,7 @@ meson --prefix=/usr \
-Dbuildtype=release \
-Ddefault-dnssec=no \
-Dfirstboot=false \
+ -Dinstall-tests=false \
-Dkill-path=/bin/kill \
-Dkmod-path=/bin/kmod \
-Dldconfig=false \
@@ -104,6 +110,13 @@ meson --prefix=/usr \
</varlistentry>
<varlistentry>
+ <term><parameter>-Dinstall-tests=false</parameter></term>
+ <listitem>
+ <para>This switch prevents installation of the compiled tests.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>-Dldconfig=no</parameter></term>
<listitem>
<para>This switch prevents installation of a systemd