diff options
author | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-12-31 06:45:17 +0000 |
---|---|---|
committer | Jeremy Utley <jeremy@linuxfromscratch.org> | 2004-12-31 06:45:17 +0000 |
commit | 98fcc378d5213940ec51b75663afe3e68e5626f3 (patch) | |
tree | d120c105b94f2b2f2f41ae5cedc4c98ddf17c2c1 /chapter06/shadow.xml | |
parent | 008a51dd95b72c93b27ed8a07aad35e51ca811eb (diff) |
Added Archaic's sed to remove installation of the groups binary from shadow - see LFS-Dev for more info.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4472 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r-- | chapter06/shadow.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 34a386534..361b90e94 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -26,6 +26,11 @@ <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen> +<para>Remove the installation of the groups program, and it's man page:</para> + +<screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile +sed -i '/groups/d' man/Makefile</userinput></screen> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> @@ -61,10 +66,6 @@ ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen> <screen><userinput>mkdir /etc/default</userinput></screen> -<para>Remove a program:</para> - -<screen><userinput>rm /bin/groups</userinput></screen> - </sect2> |