Remove nologin from shadow package when using package management

This commit is contained in:
Pierre Labastie 2014-11-29 21:17:49 +00:00
parent e6e0c85db7
commit a9832566c9

View file

@ -194,6 +194,12 @@ esac
March 2013, they are the same pages. Check it sometimes... -->
<xsl:if test="../@id = 'ch-system-attr'">
<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