aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/eject
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2017-03-16 10:29:52 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-22 13:31:45 +0100
commitd63e5687c7bf6b054c6ed2fc4790e4970b023219 (patch)
treed63722500580dd60c7214cc9216579a84cbb5af4 /meta-oe/recipes-support/eject
parent8fbbc45d22cd259a18df89c2688c9092edeb60eb (diff)
downloadmeta-openembedded-contrib-d63e5687c7bf6b054c6ed2fc4790e4970b023219.tar.gz
eject: use update-alternatives for manpage
To fix: file /usr/share/man/man1/eject.1 conflicts between attempted installs of util-linux-doc-2.29.1-r0.core2_64 and eject-doc-2.1.5-r1.core2_64 Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/eject')
-rw-r--r--meta-oe/recipes-support/eject/eject_2.1.5.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/eject/eject_2.1.5.bb b/meta-oe/recipes-support/eject/eject_2.1.5.bb
index 0440f0c370..49a3d74f6f 100644
--- a/meta-oe/recipes-support/eject/eject_2.1.5.bb
+++ b/meta-oe/recipes-support/eject/eject_2.1.5.bb
@@ -33,3 +33,5 @@ ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject"
ALTERNATIVE_PRIORITY[volname] = "100"
ALTERNATIVE_PRIORITY[eject] = "100"
+ALTERNATIVE_${PN}-doc = "eject.1"
+ALTERNATIVE_LINK_NAME[eject.1] = "${mandir}/man1/eject.1"