[jhalfs] 01/03: Put lfs user removal after mk_SUDO

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

commit bea551c017716c169a274880fc897c38cf3c3787
Author: Pierre Labastie <[email protected]>
AuthorDate: Wed Dec 11 14:03:52 2024 +0100

    Put lfs user removal after mk_SUDO
    
    Since --from-lfs is used when chown'ing files, and this is done
    during the mk_SUDO target, the lfs user should still exist during
    this target. Right now, we remove the --from-lfs stanzas
    from the scriptlet, but it is much better to move lfs user removal.
    This commit does this, and the next commit will revert the
    --from-lfs removal.
---
 LFS/master.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/LFS/master.sh b/LFS/master.sh
index e3334d0..39ea38e 100644
--- a/LFS/master.sh
+++ b/LFS/master.sh
@@ -374,12 +374,12 @@ mk_SETUP:
 mk_LUSER: mk_SETUP
 	@\$(call echo_SULUSER_request)
 	@\$(SU_LUSER) "make -C \$(MOUNT_PT)/\$(SCRIPT_ROOT) BREAKPOINT=\$(BREAKPOINT) LUSER"
-	@sudo make restore-luser
 	@touch \$@
 
 mk_SUDO: mk_LUSER
 	@sudo rm -f envars
 	@sudo make BREAKPOINT=\$(BREAKPOINT) SUDO
+	@sudo make restore-luser
 	@touch \$@
 
 mk_CHROOT: mk_SUDO devices

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.