From 2a3b23ba269a125c0ae4bafb67f0f785cfbf2ebc Mon Sep 17 00:00:00 2001 From: renodr Date: Sat, 28 Sep 2019 03:04:03 +0000 Subject: [PATCH] Update to systemd-243. BLFS portion coming whenever utility power is restored here. git-svn-id: svn://svn.linuxfromscratch.org/LFS/trunk@11678 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- BOOK/chapter01/changelog.xml | 9 +++++++++ BOOK/chapter01/whatsnew.xml | 4 ++-- BOOK/chapter03/patches.xml | 6 +++--- BOOK/chapter06/systemd.xml | 13 +++++++------ BOOK/chapter07/systemd-custom.xml | 4 ++-- BOOK/general.ent | 6 +++--- BOOK/packages.ent | 14 +++++++------- BOOK/patches.ent | 6 +++--- 8 files changed, 36 insertions(+), 26 deletions(-) diff --git a/BOOK/chapter01/changelog.xml b/BOOK/chapter01/changelog.xml index ec69d4748..818af52d5 100644 --- a/BOOK/chapter01/changelog.xml +++ b/BOOK/chapter01/changelog.xml @@ -42,6 +42,15 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2019-09-27 + + + [renodr] - Update to systemd-243. Fixes + #4456. + + + 2019-09-24 diff --git a/BOOK/chapter01/whatsnew.xml b/BOOK/chapter01/whatsnew.xml index d8c929cb1..c768bd091 100644 --- a/BOOK/chapter01/whatsnew.xml +++ b/BOOK/chapter01/whatsnew.xml @@ -221,9 +221,9 @@ - + SysVinit-&sysvinit-version; diff --git a/BOOK/chapter03/patches.xml b/BOOK/chapter03/patches.xml index 105b4139e..79fefcf61 100644 --- a/BOOK/chapter03/patches.xml +++ b/BOOK/chapter03/patches.xml @@ -118,10 +118,10 @@ - Systemd networkd and rdrand patch - &systemd-networkd-patch-size;: + Systemd udev evdev fix - &systemd-udev-patch-size;: - Download: - MD5 sum: &systemd-networkd-patch-md5; + Download: + MD5 sum: &systemd-udev-patch-md5; diff --git a/BOOK/chapter06/systemd.xml b/BOOK/chapter06/systemd.xml index 9ba24ded5..8f6d1287e 100644 --- a/BOOK/chapter06/systemd.xml +++ b/BOOK/chapter06/systemd.xml @@ -40,10 +40,10 @@ Installation of systemd - First, apply a patch to fix issues with systemd-networkd on Linux 5.2+ - kernels, as well as with AMD Ryzen CPUs: + First, apply a patch to fix issues with udev and evdev + device node assignment: -patch -Np1 -i ../systemd-&systemd-version;-networkd_and_rdrand_fixes-1.patch +patch -Np1 -i ../systemd-&systemd-version;-udev_fix-1.patch Create a symlink to work around missing xsltproc: @@ -70,8 +70,6 @@ done sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in - - Prepare systemd for compilation: 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 \ systemd-machine-id-setup + Setup the basic target structure: + +systemctl preset-all + Remove symbolic links to Util-Linux libraries: rm -fv /usr/lib/lib{blkid,uuid,mount}.so* diff --git a/BOOK/chapter07/systemd-custom.xml b/BOOK/chapter07/systemd-custom.xml index 7849c7816..0f05cca6d 100644 --- a/BOOK/chapter07/systemd-custom.xml +++ b/BOOK/chapter07/systemd-custom.xml @@ -245,7 +245,7 @@ EOF Enable system-wide process lingering: You can set KillUserProcesses=no in - /etc/logind.conf to enable process lingering + /etc/systemd/logind.conf 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. @@ -254,7 +254,7 @@ EOF Disable at build-time: You can enable lingering by default while building systemd by adding the switch - -Ddefault-kill-user-processes=no to the + -Ddefault-kill-user-processes=false to the meson command for systemd. This completely disables the ability of systemd to kill user processes at session end. diff --git a/BOOK/general.ent b/BOOK/general.ent index e91b9b9ad..c5f7bc452 100644 --- a/BOOK/general.ent +++ b/BOOK/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/BOOK/packages.ent b/BOOK/packages.ent index 5d686c2c5..241e2de8b 100644 --- a/BOOK/packages.ent +++ b/BOOK/packages.ent @@ -621,21 +621,21 @@ - + - + - + - + - - - + + + diff --git a/BOOK/patches.ent b/BOOK/patches.ent index ea376aa2f..6addb0fb1 100644 --- a/BOOK/patches.ent +++ b/BOOK/patches.ent @@ -57,7 +57,7 @@ - - - + + + -- 2.11.4.GIT