[2/2] shadow: add nologin.8 to alternatives

Message ID 1478012813-7913-2-git-send-email-ross.burton@intel.com
State Accepted
Commit 0c1e8e0939b39dcf6ea753b41da5ec9bc6ebb82a
Headers show

Commit Message

Ross Burton Nov. 1, 2016, 3:06 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-extended/shadow/shadow.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Paul Eggleton Nov. 2, 2016, 2:50 a.m. | #1
Hi Ross,

On Tue, 01 Nov 2016 15:06:53 Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@intel.com>


Missing commit message. Probably the most important thing to include would be 
which other recipe packages the same named binary.

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Nov. 2, 2016, 10:58 a.m. | #2
On 2 November 2016 at 02:50, Paul Eggleton <paul.eggleton@linux.intel.com>
wrote:

> Missing commit message. Probably the most important thing to include would

> be

> which other recipe packages the same named binary.

>


Fixed in git, thanks.  I meant to go back and fill this in...

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 35a18f8..f79565b 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"
 ALTERNATIVE_LINK_NAME[login] = "${base_bindir}/login"
 ALTERNATIVE_LINK_NAME[su] = "${base_bindir}/su"
 
-ALTERNATIVE_${PN}-doc = "passwd.5 getspnam.3 groups.1 su.1"
+ALTERNATIVE_${PN}-doc = "passwd.5 getspnam.3 groups.1 su.1 nologin.8"
 ALTERNATIVE_LINK_NAME[passwd.5] = "${mandir}/man5/passwd.5"
 ALTERNATIVE_LINK_NAME[getspnam.3] = "${mandir}/man3/getspnam.3"
 ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1"
 ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1"
+ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8"
 
 pkg_postinst_${PN} () {
 	if [ "x$D" != "x" ]; then