Remove nologin from shadow package when using package management
This commit is contained in:
parent
e6e0c85db7
commit
a9832566c9
1 changed files with 6 additions and 0 deletions
|
@ -194,6 +194,12 @@ esac
|
||||||
March 2013, they are the same pages. Check it sometimes... -->
|
March 2013, they are the same pages. Check it sometimes... -->
|
||||||
<xsl:if test="../@id = 'ch-system-attr'">
|
<xsl:if test="../@id = 'ch-system-attr'">
|
||||||
<xsl:text>rm -fv $PKG_DEST/usr/share/man/man2/*
|
<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:text>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:text>rm -fv $PKG_DEST/{,usr/}lib64
|
<xsl:text>rm -fv $PKG_DEST/{,usr/}lib64
|
||||||
|
|
Reference in a new issue