From 47dfc81bdcc4728375daca019c4b8e529bc9fefd Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 9 Mar 2021 21:58:44 +0100 Subject: [PATCH] Account for the change in umount command in LFS The command for unmounting the kernel vfs is now umount -Rv $LFS So we have first to use that command in teardown (change in kernfs.xsl). Second, since the command tries to umount $LFS, but the Makefile is on $LFS, it fails. Ignore the error in the Makefile (change in master.sh) --- LFS/master.sh | 2 +- common/kernfs.xsl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index 3535829..0715396 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -299,7 +299,7 @@ build_Makefile() { # -e 's|\$\$LFS|$(MOUNT_PT)|g'` teardown=`cat ../kernfs-scripts/teardown.sh | \ sed -e 's|^| |' \ - -e 's|umount|sudo &|' \ + -e 's|umount|-sudo &|' \ -e 's|\$LFS|$(MOUNT_PT)|'` teardownat=`cat ../kernfs-scripts/teardown.sh | \ sed -e 's|^| |' \ diff --git a/common/kernfs.xsl b/common/kernfs.xsl index e9584ea..8500a75 100644 --- a/common/kernfs.xsl +++ b/common/kernfs.xsl @@ -11,7 +11,8 @@ + contains(string(),'readlink') or + contains(string(),'-Rv')]"/>