From c06f49afdc987358617a3d6b70e8ad9161206aef Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Fri, 20 Mar 2020 02:02:42 +0000 Subject: [PATCH] Update to systemd-245 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11793 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++++++ chapter01/whatsnew.xml | 4 ++-- chapter06/dbus.xml | 5 +++++ chapter06/systemd.xml | 33 +++++++++++++++++++++++++++------ general.ent | 6 +++--- packages.ent | 14 +++++++------- 6 files changed, 54 insertions(+), 18 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 90bb3097d..8fc5d7860 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,16 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2020-03-19 + + + [renodr] - Update to systemd-245. Fixes + #4593. + + + + 2020-03-18 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 41331235a..afe05afe6 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -224,9 +224,9 @@ - + diff --git a/chapter06/dbus.xml b/chapter06/dbus.xml index 7d148d5ce..bb4bffc76 100644 --- a/chapter06/dbus.xml +++ b/chapter06/dbus.xml @@ -96,6 +96,11 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.soln -sfv /etc/machine-id /var/lib/dbus + Move the socket file to /run instead of the deprecated + /var/run: + + sed -i 's:/var/run:/run:' /lib/systemd/system/dbus.socket + diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml index 82b280dcd..386535ab2 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -63,7 +63,7 @@ done Remove tests that cannot be built in chroot: -sed '177,$ d' -i src/resolve/meson.build +sed '179,$ d' -i src/resolve/meson.build Remove an unneeded group, render, from the default udev @@ -97,6 +97,8 @@ meson --prefix=/usr \ -Dumount-path=/bin/umount \ -Db_lto=false \ -Drpmmacrosdir=no \ + -Dhomed=false \ + -Duserdb=false \ .. @@ -182,6 +184,15 @@ meson --prefix=/usr \ for use with systemd because LFS does not support RPM. + + + -D{userdb,homed}=false + + Remove two daemons that have dependencies that do not fit + the scope of LFS. + + + Compile the package: @@ -216,13 +227,12 @@ meson --prefix=/usr \ systemctl disable systemd-time-wait-sync.service - Cleanup symbolic links to Util-Linux libraries: rm -fv /usr/lib/lib{blkid,uuid,mount}.so* @@ -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 \ + + systemd-repart + + Used go grow and add partitions to a partition table when + systemd is used in an OS image (e.g. a container). + + systemd-repart + + + + systemd-resolve diff --git a/general.ent b/general.ent index f6d4ad829..f8ae867aa 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/packages.ent b/packages.ent index 32fa81778..2070f16de 100644 --- a/packages.ent +++ b/packages.ent @@ -622,21 +622,21 @@ - + - + - + - + - - - + + +