From ce203670071d5d4ee277f84eb8a4e1934f8def63 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 1 Feb 2025 20:12:49 +0800 Subject: [PATCH 1/2] stages: "Changing Ownership" shouldn't be executed resuming an interrupted build Before we added "--from lfs", it'll break a half-baken LFS system. After we added "--from lfs", it has no effect. --- chapter02/stages.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chapter02/stages.xml b/chapter02/stages.xml index 287aa43f4..f3215035d 100644 --- a/chapter02/stages.xml +++ b/chapter02/stages.xml @@ -68,7 +68,8 @@ - A few operations, from Changing Ownership to + A few operations, from Preparing Virtual Kernel File + Systems to Entering the Chroot Environment, must be done as the root user, with the LFS environment variable set for the &root; user. From aef7c6efd65de51752da917b697caa7ee4d5b825 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 1 Feb 2025 23:48:59 +0800 Subject: [PATCH 2/2] acl: Run the test suite There's only one test failure due to the temporary coreutils, thus I don't think it's a reason strong enough to skip the entire test suite. --- chapter08/acl.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/chapter08/acl.xml b/chapter08/acl.xml index adef493f1..63892d68e 100644 --- a/chapter08/acl.xml +++ b/chapter08/acl.xml @@ -53,10 +53,13 @@ make The Acl tests must be run on a filesystem that supports access - controls, but not until the Coreutils package has been built, - using the Acl libraries. If desired, return to this package - and run make check after the Coreutils - package has been built. + controls. To test the results, issue: + +make check + + One test named test/cp.test is known to + fail because Coreutils is not built with + the Acl support yet. Install the package: