From d63e5687c7bf6b054c6ed2fc4790e4970b023219 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Thu, 16 Mar 2017 10:29:52 -0400 Subject: [PATCH] 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 Signed-off-by: Martin Jansa --- meta-oe/recipes-support/eject/eject_2.1.5.bb | 2 ++ 1 file changed, 2 insertions(+) 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"