summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-11-01 15:06:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-16 10:37:57 +0000
commit30cdca66c55f829a70912469f128f7fa1c8511a8 (patch)
tree11df5c7c661c9895da87faafc60faadc06c30372
parent54e8fa5060814603fce2aa80f611edee4ee095f8 (diff)
downloadpoky-30cdca66c55f829a70912469f128f7fa1c8511a8.tar.gz
shadow: add nologin.8 to alternatives
This manpage is also shipped in util-linux-doc as an alternative, so it needs to be managed as an alternative here too. (From OE-Core rev: 0c1e8e0939b39dcf6ea753b41da5ec9bc6ebb82a) (From OE-Core rev: 4a916484adbf7ae38338279b83f8a64c2cee4f3e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/shadow/shadow.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 35a18f8ab0..f79565b359 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -180,11 +180,12 @@ ALTERNATIVE_${PN}-base = "newgrp groups login su"
180ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login" 180ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login"
181ALTERNATIVE_LINK_NAME[su] = "${base_bindir}/su" 181ALTERNATIVE_LINK_NAME[su] = "${base_bindir}/su"
182 182
183ALTERNATIVE_${PN}-doc = "passwd.5 getspnam.3 groups.1 su.1" 183ALTERNATIVE_${PN}-doc = "passwd.5 getspnam.3 groups.1 su.1 nologin.8"
184ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5" 184ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5"
185ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3" 185ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3"
186ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1" 186ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1"
187ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1" 187ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1"
188ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8"
188 189
189pkg_postinst_${PN} () { 190pkg_postinst_${PN} () {
190 if [ "x$D" != "x" ]; then 191 if [ "x$D" != "x" ]; then