[jhalfs] 02/03: Don't invalidate {user,group}add
| 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 plabs/lfs-user in repository jhalfs. commit 2d565a0333a8e8560f4bf073641dbc559cecf2eb Author: Pierre Labastie <[email protected]> AuthorDate: Thu Dec 26 09:12:14 2024 +0100 Don't invalidate {user,group}add Now that an lfs user is always created by book instructions, we don't need to replace those commands with a nop. --- LFS/master.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index c18ceee..dcd82e3 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -146,12 +146,7 @@ chapter_targets() { # # /var/lib may already exist and be owned by root if blfs tools # have been installed. cat << EOF - @if [ -f luser-id ]; then \\ - function useradd() { true; }; \\ - function groupadd() { true; }; \\ - export -f useradd groupadd; \\ - fi; \\ - export LFS=\$(MOUNT_PT) && \\ + @export LFS=\$(MOUNT_PT) && \\ \$(CMDSDIR)/`dirname $file`/\$@ >> \$(LOGDIR)/\$@ 2>&1; \\ \$(PRT_DU) >>logs/\$@ @chown \$(LUSER):\$(LGROUP) envars -- 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