aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2018-09-30 01:14:36 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2018-09-30 01:14:36 +0000
commitcc09c074d6c216d901a7b497089cf0fbc97f0548 (patch)
tree2c102c42aba258c989cbf0e5af4dd2c907c38678
parent6c672426f85596f90903645f78d510d52f2846a5 (diff)
Restore build of Util-Linux in chapter5 to avoid reciprocal dependency for Systemd.
Moved installation of Util-Linux and E2fsprogs after Procps to satisfy build order in the Systemd book. This has no effect on the SysV book. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11473 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml15
-rw-r--r--chapter05/chapter05.xml2
-rw-r--r--chapter05/util-linux.xml2
-rw-r--r--chapter06/chapter06.xml7
-rw-r--r--chapter06/systemd.xml8
-rw-r--r--general.ent6
6 files changed, 32 insertions, 8 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ac0aa8d8b..a666aff0a 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -44,6 +44,21 @@
-->
<listitem>
+ <para>2018-09-30</para>
+ <itemizedlist>
+ <listitem revision="systemd">
+ <para>[dj] - Restore build of Util-Linux in chapter5 to avoid
+ reciprocal dependency for Systemd.</para>
+ </listitem>
+ <listitem>
+ <para>[dj] - Moved installation of Util-Linux and E2fsprogs after
+ Procps to satisfy build order in the Systemd book. This has no effect
+ on the SysV book.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2018-09-20</para>
<itemizedlist>
<listitem>
diff --git a/chapter05/chapter05.xml b/chapter05/chapter05.xml
index 1951fde7e..8fe5a0870 100644
--- a/chapter05/chapter05.xml
+++ b/chapter05/chapter05.xml
@@ -43,7 +43,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tar.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texinfo.xml"/>
-<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>-->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xz.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="stripping.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="changingowner.xml"/>
diff --git a/chapter05/util-linux.xml b/chapter05/util-linux.xml
index db0bc3261..5cda1f60b 100644
--- a/chapter05/util-linux.xml
+++ b/chapter05/util-linux.xml
@@ -5,7 +5,7 @@
%general-entities;
]>
-<sect1 id="ch-tools-util-linux" role="wrap">
+<sect1 id="ch-tools-util-linux" role="wrap" revision="systemd">
<?dbhtml filename="util-linux.html"?>
<sect1info condition="script">
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index 79212653c..d6025c52a 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -78,8 +78,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libpipeline.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="patch.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="man-db.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tar.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texinfo.xml"/>
@@ -88,8 +86,11 @@
<!-- systemd only -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/>
- <!-- props needs libsystemd -->
+
+ <!-- these packages libsystemd on systemd builds -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="procps.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/>
<!-- sysv only -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysklogd.xml"/>
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index e5d89b833..0db60770f 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -44,6 +44,13 @@
<screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen>
+ <para>Because we have not yet installed the final version of Util-Linux,
+ create links to the libraries in the approprite location:</para>
+
+<screen><userinput remap="pre">for file in /tools/lib64/lib{blkid,mount,uuid}*; do
+ ln -sf $file /usr/lib/
+done</userinput></screen>
+
<para>Set up the man pages:</para>
<screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
@@ -67,6 +74,7 @@
<screen><userinput remap="configure">mkdir -p build
cd build
+PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib64/pkgconfig" \
LANG=en_US.UTF-8 \
meson --prefix=/usr \
--sysconfdir=/etc \
diff --git a/general.ent b/general.ent
index 293f0639f..f2c6d7f60 100644
--- a/general.ent
+++ b/general.ent
@@ -1,13 +1,13 @@
-<!ENTITY version "SVN-20180920">
+<!ENTITY version "SVN-20180930">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
-<!ENTITY versiond "20180920-systemd">
+<!ENTITY versiond "20180930-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
-<!ENTITY releasedate "September 20, 2018">
+<!ENTITY releasedate "September 30, 2018">
<!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "8.3">