aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2019-09-28 03:04:03 +0000
committerDouglas R. Reno <renodr@linuxfromscratch.org>2019-09-28 03:04:03 +0000
commit8a0d39eebe47adcbd5e02ffa73416b455f692966 (patch)
treebec539a8762b318de151cc19ad1d0830786633f2
parent49ce3296d8f47eb7859bca63d49648d1cf755f7a (diff)
Update to systemd-243. BLFS portion coming whenever utility power is restored here.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11678 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml9
-rw-r--r--chapter01/whatsnew.xml4
-rw-r--r--chapter03/patches.xml6
-rw-r--r--chapter06/systemd.xml13
-rw-r--r--chapter07/systemd-custom.xml4
-rw-r--r--general.ent6
-rw-r--r--packages.ent14
-rw-r--r--patches.ent6
8 files changed, 36 insertions, 26 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ec69d4748..818af52d5 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -42,6 +42,15 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem.
-->
+ <listitem revision="systemd">
+ <para>2019-09-27</para>
+ <itemizedlist>
+ <listitem>
+ <para>[renodr] - Update to systemd-243. Fixes
+ <ulink url="&lfs-ticket-root;4456">#4456</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
<listitem>
<para>2019-09-24</para>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index d8c929cb1..c768bd091 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -221,9 +221,9 @@
<!--<listitem revision="sysv">
<para>Sysklogd-&sysklogd-version;</para>
</listitem>-->
- <!--<listitem revision="systemd">
+ <listitem revision="systemd">
<para>Systemd-&systemd-version;</para>
- </listitem>-->
+ </listitem>
<listitem revision="sysv">
<para>SysVinit-&sysvinit-version;</para>
</listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 105b4139e..79fefcf61 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -118,10 +118,10 @@
</varlistentry>
<varlistentry revision="systemd">
- <term>Systemd networkd and rdrand patch - <token>&systemd-networkd-patch-size;</token>:</term>
+ <term>Systemd udev evdev fix - <token>&systemd-udev-patch-size;</token>:</term>
<listitem>
- <para>Download: <ulink url="&patches-root;&systemd-networkd-patch;"/></para>
- <para>MD5 sum: <literal>&systemd-networkd-patch-md5;</literal></para>
+ <para>Download: <ulink url="&patches-root;&systemd-udev-patch;"/></para>
+ <para>MD5 sum: <literal>&systemd-udev-patch-md5;</literal></para>
</listitem>
</varlistentry>
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index 9ba24ded5..8f6d1287e 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -40,10 +40,10 @@
<sect2 role="installation">
<title>Installation of systemd</title>
- <para>First, apply a patch to fix issues with systemd-networkd on Linux 5.2+
- kernels, as well as with AMD Ryzen CPUs:</para>
+ <para>First, apply a patch to fix issues with udev and evdev
+ device node assignment:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-networkd_and_rdrand_fixes-1.patch</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-udev_fix-1.patch</userinput></screen>
<para>Create a symlink to work around missing xsltproc:</para>
@@ -70,8 +70,6 @@ done</userinput></screen>
<screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen>
-<!-- EDITORS NOTE: At the next systemd release, see if the CFLAGS can be removed. -->
-
<para>Prepare systemd for compilation:</para>
<screen><userinput remap="configure">mkdir -p build
@@ -79,7 +77,6 @@ cd build
PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
LANG=en_US.UTF-8 \
-CFLAGS+="-Wno-format-overflow" \
meson --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -207,6 +204,10 @@ meson --prefix=/usr \
<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
+ <para>Setup the basic target structure:</para>
+
+<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
+
<para>Remove symbolic links to Util-Linux libraries:</para>
<screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>
diff --git a/chapter07/systemd-custom.xml b/chapter07/systemd-custom.xml
index 7849c7816..0f05cca6d 100644
--- a/chapter07/systemd-custom.xml
+++ b/chapter07/systemd-custom.xml
@@ -245,7 +245,7 @@ EOF</userinput></screen>
<para>
<emphasis>Enable system-wide process lingering</emphasis>:
You can set <parameter>KillUserProcesses=no</parameter> in
- <filename>/etc/logind.conf</filename> to enable process lingering
+ <filename>/etc/systemd/logind.conf</filename> to enable process lingering
globally for all users. This has the benefit of leaving the old
method available to all users at the expense of explicit control.
</para>
@@ -254,7 +254,7 @@ EOF</userinput></screen>
<para>
<emphasis>Disable at build-time</emphasis>: You can enable
lingering by default while building systemd by adding the switch
- <parameter>-Ddefault-kill-user-processes=no</parameter> to the
+ <parameter>-Ddefault-kill-user-processes=false</parameter> to the
<command>meson</command> command for systemd. This completely
disables the ability of systemd to kill user processes at session
end.
diff --git a/general.ent b/general.ent
index e91b9b9ad..c5f7bc452 100644
--- a/general.ent
+++ b/general.ent
@@ -1,13 +1,13 @@
-<!ENTITY version "SVN-20190924">
+<!ENTITY version "SVN-20190927">
<!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 "20190924-systemd">
+<!ENTITY versiond "20190927-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
-<!ENTITY releasedate "September 24th, 2019">
+<!ENTITY releasedate "September 27th, 2019">
<!ENTITY copyrightdate "1999-2019"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "9.0">
diff --git a/packages.ent b/packages.ent
index 5d686c2c5..241e2de8b 100644
--- a/packages.ent
+++ b/packages.ent
@@ -621,21 +621,21 @@
<!ENTITY sysklogd-ch6-du "0.6 MB">
<!ENTITY sysklogd-ch6-sbu "less than 0.1 SBU">
-<!ENTITY systemd-version "241">
+<!ENTITY systemd-version "243">
<!--<!ENTITY systemd-stable "6b4878d">-->
<!-- The above entity is used whenever we move to a stable backport branch. In the event of a critical problem or kernel
change that is incompatible, we will switch to the backport branch until the next stable release. -->
-<!ENTITY systemd-size "7,464 KB">
+<!ENTITY systemd-size "8,052 KB">
<!ENTITY systemd-url "&github;/systemd/systemd/archive/v&systemd-version;/systemd-&systemd-version;.tar.gz">
<!--<!ENTITY systemd-url "&anduin-sources;/systemd-&systemd-version;-&systemd-stable;.tar.xz">-->
-<!ENTITY systemd-md5 "c5953c24c850b44fcf714326e567dc37">
+<!ENTITY systemd-md5 "ca2403fa7dff73afd2e896b4cb25021b">
<!ENTITY systemd-home "https://www.freedesktop.org/wiki/Software/systemd/">
-<!ENTITY systemd-man-size "456 KB">
+<!ENTITY systemd-man-size "504 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 "6942e1a9032e19da6639f9705241d119">
-<!ENTITY systemd-ch6-du "227 MB">
-<!ENTITY systemd-ch6-sbu "0.4 SBU">
+<!ENTITY systemd-man-md5 "22278b3c8fa27323b5baafffb093f0f0">
+<!ENTITY systemd-ch6-du "228 MB">
+<!ENTITY systemd-ch6-sbu "1.8 SBU">
<!ENTITY sysvinit-version "2.96">
<!ENTITY sysvinit-size "120 KB">
diff --git a/patches.ent b/patches.ent
index ea376aa2f..6addb0fb1 100644
--- a/patches.ent
+++ b/patches.ent
@@ -57,7 +57,7 @@
<!ENTITY sysvinit-consolidated-patch-md5 "4900322141d493e74020c9cf437b2cdc">
<!ENTITY sysvinit-consolidated-patch-size "2.4 KB">
-<!ENTITY systemd-networkd-patch "systemd-&systemd-version;-networkd_and_rdrand_fixes-1.patch">
-<!ENTITY systemd-networkd-patch-md5 "bb26f26d7c3a17d1888ab3171366906b">
-<!ENTITY systemd-networkd-patch-size "8 KB">
+<!ENTITY systemd-udev-patch "systemd-&systemd-version;-udev_fix-1.patch">
+<!ENTITY systemd-udev-patch-md5 "91e4cd41dee57dc6ac9817b8f4f724a6">
+<!ENTITY systemd-udev-patch-size "12 KB">