Browse Source

Update to systemd-245

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11793 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Douglas R. Reno 5 years ago
parent
commit
c06f49afdc
6 changed files with 54 additions and 18 deletions
  1. 10 0
      chapter01/changelog.xml
  2. 2 2
      chapter01/whatsnew.xml
  3. 5 0
      chapter06/dbus.xml
  4. 27 6
      chapter06/systemd.xml
  5. 3 3
      general.ent
  6. 7 7
      packages.ent

+ 10 - 0
chapter01/changelog.xml

@@ -42,6 +42,16 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
     -->
+    <listitem revision="systemd">
+      <para>2020-03-19</para>
+      <itemizedlist>
+        <listitem>
+          <para>[renodr] - Update to systemd-245. Fixes
+          <ulink url="&lfs-ticket-root;4593">#4593</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem revision="systemd">
       <para>2020-03-18</para>
       <itemizedlist>

+ 2 - 2
chapter01/whatsnew.xml

@@ -224,9 +224,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>-->

+ 5 - 0
chapter06/dbus.xml

@@ -96,6 +96,11 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</useri
 
 <screen><userinput remap="install">ln -sfv /etc/machine-id /var/lib/dbus</userinput></screen>
 
+    <para>Move the socket file to /run instead of the deprecated
+    /var/run:</para>
+
+ <screen><userinput remap="install">sed -i 's:/var/run:/run:' /lib/systemd/system/dbus.socket</userinput></screen>
+
   </sect2>
 
   <sect2 id="contents-dbus" role="content">

+ 27 - 6
chapter06/systemd.xml

@@ -63,7 +63,7 @@ done</userinput></screen>
 
     <para>Remove tests that cannot be built in chroot:</para>
 
-<screen><userinput remap="pre">sed '177,$ d' -i src/resolve/meson.build</userinput></screen>
+<screen><userinput remap="pre">sed '179,$ d' -i src/resolve/meson.build</userinput></screen>
 
     <para>Remove an unneeded group,
     <systemitem class="groupname">render</systemitem>, from the default udev
@@ -97,6 +97,8 @@ meson --prefix=/usr                \
       -Dumount-path=/bin/umount    \
       -Db_lto=false                \
       -Drpmmacrosdir=no            \
+      -Dhomed=false                \
+      -Duserdb=false               \
       ..</userinput></screen>
 
     <variablelist>
@@ -182,6 +184,15 @@ meson --prefix=/usr                \
           for use with systemd because LFS does not support RPM.</para>
         </listitem>
       </varlistentry>
+
+      <varlistentry>
+        <term><parameter>-D{userdb,homed}=false</parameter></term>
+        <listitem>
+          <para>Remove two daemons that have dependencies that do not fit
+          the scope of LFS.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Compile the package:</para>
@@ -216,13 +227,12 @@ meson --prefix=/usr                \
  
 <screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
 
-    <!--
     <para>Prevent systemd from resetting the maximum PID value which causes
     some problems with packages and units in BLFS:</para>
-     FCRON in particular
+    
+
+<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
 
-<screen><userinput remap="adjust">rm -f /etc/sysctl.d/50-pid-max.conf</userinput></screen>
-    -->
     <para>Cleanup symbolic links to Util-Linux libraries:</para>
 
 <screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen>
@@ -254,7 +264,7 @@ meson --prefix=/usr                \
         systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
         systemd-id128, systemd-inhibit, systemd-machine-id-setup,
         systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
-        systemd-resolve (symlink to resolvectl), systemd-run,
+        systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
         systemd-socket-activate, systemd-stdio-bridge, systemd-tmpfiles,
         systemd-tty-ask-password-agent, systemd-umount (symlink to
         systemd-mount), telinit (symlink to systemctl), timedatectl, and
@@ -672,6 +682,17 @@ meson --prefix=/usr                \
         </listitem>
       </varlistentry>
 
+      <varlistentry id="systemd-repart">
+        <term><command>systemd-repart</command></term>
+        <listitem>
+          <para>Used go grow and add partitions to a partition table when
+          systemd is used in an OS image (e.g. a container).</para>
+          <indexterm zone="ch-system-systemd systemd-repart">
+            <primary sortas="b-systemd-repart">systemd-repart</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="systemd-resolve">
         <term><command>systemd-resolve</command></term>
         <listitem>

+ 3 - 3
general.ent

@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20200318">
+<!ENTITY version         "SVN-20200319">
 <!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        "20200318-systemd">
+<!ENTITY versiond        "20200319-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "March 18th, 2020">
+<!ENTITY releasedate     "March 19th, 2020">
 
 <!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
 

+ 7 - 7
packages.ent

@@ -622,21 +622,21 @@
 <!ENTITY sysklogd-ch6-du "0.6 MB">
 <!ENTITY sysklogd-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY systemd-version  "244">
+<!ENTITY systemd-version  "245">
 <!--<!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     "8,252 KB">
+<!ENTITY systemd-size     "8,784 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      "413121fe918b252ae62310f6fc7c4b32">
+<!ENTITY systemd-md5      "04f02d9841ea5992a16f6b03c873da28">
 <!ENTITY systemd-home     "https://www.freedesktop.org/wiki/Software/systemd/">
-<!ENTITY systemd-man-size "508 KB">
+<!ENTITY systemd-man-size "512 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  "1839ad557eb376d22853cac54d00de77">
-<!ENTITY systemd-ch6-du   "238 MB">
-<!ENTITY systemd-ch6-sbu  "0.6 SBU">
+<!ENTITY systemd-man-md5  "ecf8cc4baa33b91ad4212d28e88f8edd">
+<!ENTITY systemd-ch6-du   "176 MB">
+<!ENTITY systemd-ch6-sbu  "1.9 SBU">
 
 <!ENTITY sysvinit-version "2.96">
 <!ENTITY sysvinit-size "120 KB">