Browse Source

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
Douglas R. Reno 5 years ago
parent
commit
8a0d39eebe
8 changed files with 36 additions and 26 deletions
  1. 9 0
      chapter01/changelog.xml
  2. 2 2
      chapter01/whatsnew.xml
  3. 3 3
      chapter03/patches.xml
  4. 7 6
      chapter06/systemd.xml
  5. 2 2
      chapter07/systemd-custom.xml
  6. 3 3
      general.ent
  7. 7 7
      packages.ent
  8. 3 3
      patches.ent

+ 9 - 0
chapter01/changelog.xml

@@ -42,6 +42,15 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
     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>
     <listitem>
       <para>2019-09-24</para>
       <para>2019-09-24</para>

+ 2 - 2
chapter01/whatsnew.xml

@@ -221,9 +221,9 @@
     <!--<listitem revision="sysv">
     <!--<listitem revision="sysv">
       <para>Sysklogd-&sysklogd-version;</para>
       <para>Sysklogd-&sysklogd-version;</para>
     </listitem>-->
     </listitem>-->
-    <!--<listitem revision="systemd">
+    <listitem revision="systemd">
       <para>Systemd-&systemd-version;</para>
       <para>Systemd-&systemd-version;</para>
-    </listitem>-->
+    </listitem>
     <listitem revision="sysv">
     <listitem revision="sysv">
       <para>SysVinit-&sysvinit-version;</para>
       <para>SysVinit-&sysvinit-version;</para>
     </listitem>
     </listitem>

+ 3 - 3
chapter03/patches.xml

@@ -118,10 +118,10 @@
     </varlistentry>
     </varlistentry>
 
 
     <varlistentry revision="systemd">
     <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>
       <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>
       </listitem>
     </varlistentry>
     </varlistentry>
 
 

+ 7 - 6
chapter06/systemd.xml

@@ -40,10 +40,10 @@
   <sect2 role="installation">
   <sect2 role="installation">
     <title>Installation of systemd</title>
     <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>
     <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>
 <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>
     <para>Prepare systemd for compilation:</para>
 
 
 <screen><userinput remap="configure">mkdir -p build
 <screen><userinput remap="configure">mkdir -p build
@@ -79,7 +77,6 @@ cd       build
 
 
 PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
 PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
 LANG=en_US.UTF-8                   \
 LANG=en_US.UTF-8                   \
-CFLAGS+="-Wno-format-overflow"     \
 meson --prefix=/usr                \
 meson --prefix=/usr                \
       --sysconfdir=/etc            \
       --sysconfdir=/etc            \
       --localstatedir=/var         \
       --localstatedir=/var         \
@@ -207,6 +204,10 @@ meson --prefix=/usr                \
 
 
 <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
 <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>
     <para>Remove symbolic links to Util-Linux libraries:</para>
 
 
 <screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>
 <screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>

+ 2 - 2
chapter07/systemd-custom.xml

@@ -245,7 +245,7 @@ EOF</userinput></screen>
         <para>
         <para>
           <emphasis>Enable system-wide process lingering</emphasis>:
           <emphasis>Enable system-wide process lingering</emphasis>:
           You can set <parameter>KillUserProcesses=no</parameter> in
           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
           globally for all users. This has the benefit of leaving the old
           method available to all users at the expense of explicit control.
           method available to all users at the expense of explicit control.
         </para>
         </para>
@@ -254,7 +254,7 @@ EOF</userinput></screen>
         <para>
         <para>
           <emphasis>Disable at build-time</emphasis>: You can enable
           <emphasis>Disable at build-time</emphasis>: You can enable
           lingering by default while building systemd by adding the switch
           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
           <command>meson</command> command for systemd. This completely
           disables the ability of systemd to kill user processes at session
           disables the ability of systemd to kill user processes at session
           end.
           end.

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20190924">
+<!ENTITY version         "SVN-20190927">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
 
-<!ENTITY versiond        "20190924-systemd">
+<!ENTITY versiond        "20190927-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-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 copyrightdate   "1999-2019"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "9.0">
 <!ENTITY milestone       "9.0">

+ 7 - 7
packages.ent

@@ -621,21 +621,21 @@
 <!ENTITY sysklogd-ch6-du "0.6 MB">
 <!ENTITY sysklogd-ch6-du "0.6 MB">
 <!ENTITY sysklogd-ch6-sbu "less than 0.1 SBU">
 <!ENTITY sysklogd-ch6-sbu "less than 0.1 SBU">
 
 
-<!ENTITY systemd-version  "241">
+<!ENTITY systemd-version  "243">
 <!--<!ENTITY systemd-stable   "6b4878d">-->
 <!--<!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
 <!-- 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. -->
      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      "&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-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-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;-&systemd-stable;.tar.xz">-->
 <!ENTITY systemd-man-url  "&anduin-sources;/systemd-man-pages-&systemd-version;.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-version "2.96">
 <!ENTITY sysvinit-size "120 KB">
 <!ENTITY sysvinit-size "120 KB">

+ 3 - 3
patches.ent

@@ -57,7 +57,7 @@
 <!ENTITY sysvinit-consolidated-patch-md5 "4900322141d493e74020c9cf437b2cdc">
 <!ENTITY sysvinit-consolidated-patch-md5 "4900322141d493e74020c9cf437b2cdc">
 <!ENTITY sysvinit-consolidated-patch-size "2.4 KB">
 <!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">