From 8f493a63774a200a9be7f1543f85b4fa155ed26f Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Thu, 19 Dec 2024 14:43:05 -0600 Subject: [PATCH 1/4] systemd: Update the test suite failures list for 257. --- chapter08/systemd.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 1e17c60ce..acd90aef9 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -225,9 +225,14 @@ meson setup .. \ ninja test - One test named systemd:core / test-namespace - is known to fail in the LFS chroot environment. Some other tests may + after initializing the system with systemd. + This seems to pass now in chroot --> + + Three tests named systemd:test / test-fd-util, + systemd:test / test-mount-util, and + systemd:test / test-mountpoint-util, + are known to fail in the LFS chroot environment. Some other tests may fail because they depend on various kernel configuration options. Install the package: From 33b3a04e4e7c13112517e266a9367101f6823dab Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Thu, 19 Dec 2024 15:05:20 -0600 Subject: [PATCH 2/4] Revert "systemd: Update the test suite failures list for 257." This reverts commit 8f493a63774a200a9be7f1543f85b4fa155ed26f. When I was building LFS, I somehow forgot to mount /dev/sdb7 to /mnt/lfs on my system. I ended up chrooting into /mnt/lfs, and it was a directory, not a filesystem. This happens from time to time, not sure why I did it this time! The tests that I had marked as failed no longer fail, but at the same time, now test-namespace does. Let's undo this commit... --- chapter08/systemd.xml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index acd90aef9..1e17c60ce 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -225,14 +225,9 @@ meson setup .. \ ninja test - - Three tests named systemd:test / test-fd-util, - systemd:test / test-mount-util, and - systemd:test / test-mountpoint-util, - are known to fail in the LFS chroot environment. Some other tests may + after initializing the system with systemd. --> + One test named systemd:core / test-namespace + is known to fail in the LFS chroot environment. Some other tests may fail because they depend on various kernel configuration options. Install the package: From 86a50f243aa3dcb79447431677a99baae91c1bc4 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Fri, 20 Dec 2024 15:15:07 -0600 Subject: [PATCH 3/4] /etc/os-release: Add in the RELEASE_TYPE field. This field was introduced with systemd-257. For development books, we'll use "development" here, but when we do the next release we should change this to say "stable". --- chapter11/theend.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/chapter11/theend.xml b/chapter11/theend.xml index 2b5ef95f1..92e0aaad5 100644 --- a/chapter11/theend.xml +++ b/chapter11/theend.xml @@ -59,6 +59,7 @@ ID=lfs PRETTY_NAME="Linux From Scratch &version;" VERSION_CODENAME="<your name here>" HOME_URL="&lfs-root;lfs/" +RELEASE_TYPE="development" EOF Be sure to customize the fields 'DISTRIB_CODENAME' and From 6913a42bffc9be1495b1b24999fcccde7585123d Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Fri, 20 Dec 2024 15:17:54 -0600 Subject: [PATCH 4/4] Update the systemd man pages to 257. --- packages.ent | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages.ent b/packages.ent index 1d41cb4c2..7d5894a08 100644 --- a/packages.ent +++ b/packages.ent @@ -671,11 +671,11 @@ - - + + - +