[oe-commits] [meta-openembedded] 63/70: ifenslave: make option '-h' work
git at git.openembedded.org
git at git.openembedded.org
Wed Nov 16 09:59:55 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit e3dbe723009214741b9feae26f20c578d6b7da6e
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Mon Nov 14 12:56:27 2016 +0800
ifenslave: make option '-h' work
When pass option '-h' or '--help' to ifenslave, it calls 'exec man 8
ifenslave' to show help information. But the manual page is missing and
then outputs nothing.
Install the manual page and split it to ifenslave rather than
ifenslave-doc to make option '-h' of ifenslave work.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb b/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb
index 7473b0d..5028921 100644
--- a/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb
+++ b/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb
@@ -17,4 +17,10 @@ do_install() {
install -m 0755 -D ${S}/debian/ifenslave.if-pre-up ${D}${sysconfdir}/network/if-pre-up.d/ifenslave
install -m 0755 -D ${S}/debian/ifenslave.if-post-down ${D}${sysconfdir}/network/if-post-down.d/ifenslave
install -m 0755 -D ${S}/debian/ifenslave.if-up ${D}${sysconfdir}/network/if-up.d/ifenslave
+ install -m 0644 -D ${S}/debian/ifenslave.8 ${D}${mandir}/man8/ifenslave.8
}
+
+FILES_${PN}-doc_remove = "${mandir}"
+FILES_${PN} += "${mandir}/man8/ifenslave.8"
+
+RDEPENDS_${PN} = "man"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list