Index: appendices/dependencies.xml
===================================================================
--- appendices/dependencies.xml	(revision ecf55d8e08cef0dc8e59236269208c4ad775d8d1)
+++ appendices/dependencies.xml	(revision aea9d3b7add3465b32c1e112090ddaf5b8576eac)
@@ -2451,5 +2451,5 @@
         <seglistitem>
          <seg>Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Expat, Gawk,
-         GCC, Glibc, Gperf, Grep, Intltool, Libcap,
+         GCC, Glibc, Gperf, Grep, Intltool, Jinja2, Libcap,
          Meson, Sed, and Util-linux</seg>
         </seglistitem>
Index: chapter08/jinja2.xml
===================================================================
--- chapter08/jinja2.xml	(revision aea9d3b7add3465b32c1e112090ddaf5b8576eac)
+++ chapter08/jinja2.xml	(revision aea9d3b7add3465b32c1e112090ddaf5b8576eac)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-jinja2" role="wrap" revision="systemd">
+  <?dbhtml filename="jinja2.html"?>
+
+  <sect1info condition="script">
+    <productname>jinja2</productname>
+    <productnumber>&jinja2-version;</productnumber>
+    <address>&jinja2-url;</address>
+  </sect1info>
+
+  <title>Jinja2-&jinja2-version;</title>
+
+  <indexterm zone="ch-system-jinja2">
+    <primary sortas="a-jinja2">Jinja2</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+    <para>Jinja2 is a Python module that implements a simple pythonic template
+    lanuage.</para>
+
+    <segmentedlist>
+      <segtitle>&buildtime;</segtitle>
+      <segtitle>&diskspace;</segtitle>
+      <seglistitem>
+        <seg>&jinja2-fin-sbu;</seg>
+        <seg>&jinja2-fin-du;</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Jinja2</title>
+
+    <para>Install the package:</para>
+
+<screen><userinput remap="install">python3 setup.py install --optimize=1</userinput></screen>
+
+  </sect2>
+
+  <sect2 id="contents-jinja2" role="content">
+    <title>Contents of Jinja2</title>
+
+    <segmentedlist>
+      <segtitle>Installed directories</segtitle>
+
+      <seglistitem>
+        <seg>/usr/lib/python&python-minor;/site-packages/Jinja2-&jinja2-version;-py&python-minor;.egg</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+</sect1>
+
Index: chapter08/markupsafe.xml
===================================================================
--- chapter08/markupsafe.xml	(revision aea9d3b7add3465b32c1e112090ddaf5b8576eac)
+++ chapter08/markupsafe.xml	(revision aea9d3b7add3465b32c1e112090ddaf5b8576eac)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../general.ent">
+  %general-entities;
+]>
+
+<sect1 id="ch-system-markupsafe" role="wrap" revision="systemd">
+  <?dbhtml filename="markupsafe.html"?>
+
+  <sect1info condition="script">
+    <productname>markupsafe</productname>
+    <productnumber>&markupsafe-version;</productnumber>
+    <address>&markupsafe-url;</address>
+  </sect1info>
+
+  <title>MarkupSafe-&markupsafe-version;</title>
+
+  <indexterm zone="ch-system-markupsafe">
+    <primary sortas="a-markupsafe">MarkupSafe</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title/>
+
+    <para>MarkupSafe is a Python module that implements a XML/HTML/XHTML Markup
+    safe string.</para>
+
+    <segmentedlist>
+      <segtitle>&buildtime;</segtitle>
+      <segtitle>&diskspace;</segtitle>
+      <seglistitem>
+        <seg>&markupsafe-fin-sbu;</seg>
+        <seg>&markupsafe-fin-du;</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of MarkupSafe</title>
+
+    <para>Compile MarkupSafe with the following command:</para>
+
+<screen><userinput remap="make">python3 setup.py build</userinput></screen>
+
+    <para>This package does not come with a test suite.</para>
+
+    <para>Install the package:</para>
+
+<screen><userinput remap="install">python3 setup.py install --optimize=1</userinput></screen>
+
+  </sect2>
+
+  <sect2 id="contents-markupsafe" role="content">
+    <title>Contents of MarkupSafe</title>
+
+    <segmentedlist>
+      <segtitle>Installed directory</segtitle>
+
+      <seglistitem>
+        <seg>/usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;-py&python-minor;.egg</seg>
+      </seglistitem>
+    </segmentedlist>
+
+  </sect2>
+
+</sect1>
+
Index: chapter08/meson.xml
===================================================================
--- chapter08/meson.xml	(revision ecf55d8e08cef0dc8e59236269208c4ad775d8d1)
+++ chapter08/meson.xml	(revision aea9d3b7add3465b32c1e112090ddaf5b8576eac)
@@ -95,4 +95,7 @@
       <seglistitem>
         <seg>meson</seg>
+        <!-- We are using DESTDIR installation here, so the directory layout
+          is different than other Python modules in LFS
+          (Jinja2 & MarkupSafe). -->
         <seg>/usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg-info and /usr/lib/python&python-minor;/site-packages/mesonbuild</seg>
       </seglistitem>
Index: prologue/why.xml
===================================================================
--- prologue/why.xml	(revision ecf55d8e08cef0dc8e59236269208c4ad775d8d1)
+++ prologue/why.xml	(revision aea9d3b7add3465b32c1e112090ddaf5b8576eac)
@@ -296,4 +296,11 @@
       </listitem>
 
+      <listitem revision="systemd">
+        <para>Jinja2</para>
+
+        <para>This package is a Python module for text templating.
+        It's required to build Systemd.</para>
+      </listitem>
+
       <listitem>
         <para>Kbd</para>
@@ -387,4 +394,11 @@
       </listitem>
 
+      <listitem revision="systemd">
+        <para>MarkupSafe</para>
+
+        <para>This package is a Python module for processing strings in
+        HTML/XHTML/XML safely.  Jinja2 requires this pacakge.</para>
+      </listitem>
+
       <listitem>
         <para>Man-DB</para>
@@ -409,5 +423,6 @@
         of software. The main goal for Meson is to minimize the amount of time
         that software developers need to spend configuring their build
-        system.</para>
+        system.  It's required to build Systemd, as well as many BLFS
+        packages.</para>
 
       </listitem>
@@ -432,5 +447,6 @@
         <para>This package contains a small build system with a focus on speed.
         It is designed to have its input files generated by a higher-level build
-        system, and to run builds as fast as possible.</para>
+        system, and to run builds as fast as possible.
+        This package is required by Meson.</para>
 
       </listitem>
