Author: pierre
Date: Sat Nov 29 13:17:49 2014
New Revision: 3812
Log:
Remove nologin from shadow package when using package management
Modified:
jhalfs/trunk/LFS/lfs.xsl
Modified: jhalfs/trunk/LFS/lfs.xsl
==============================================================================
--- jhalfs/trunk/LFS/lfs.xsl Sat Nov 29 12:43:35 2014 (r3811)
+++ jhalfs/trunk/LFS/lfs.xsl Sat Nov 29 13:17:49 2014 (r3812)
@@ -196,6 +196,12 @@
<xsl:text>rm -fv $PKG_DEST/usr/share/man/man2/*
</xsl:text>
</xsl:if>
+<!-- nologin is installed by util-linux. remove it from shadow -->
+ <xsl:if test="../@id = 'ch-system-shadow'">
+ <xsl:text>rm -fv $PKG_DEST/usr/share/man/man8/nologin.8
+rm -fv $PKG_DEST/sbin/nologin
+</xsl:text>
+ </xsl:if>
<xsl:text>rm -fv $PKG_DEST/{,usr/}lib64
rm -fv $PKG_DEST/usr/{man,doc,info}
for dir in $PKG_DEST/usr/share/man/man{1..8}; do
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page