diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2017-03-16 10:20:56 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-17 11:55:25 +0000 |
commit | d08cfe3d3de01c529dda1a60f42870dd3132c256 (patch) | |
tree | adc2b9000ca824ae9d45601d859dc8500727df2e /meta/recipes-extended | |
parent | 412d6b31b23b30f71b8acf2ecd37463f770cd8be (diff) | |
download | openembedded-core-contrib-d08cfe3d3de01c529dda1a60f42870dd3132c256.tar.gz |
sysklogd: use update-alternatives for more manpages
To fix:
file /usr/share/man/man8/syslogd.8 conflicts between attempted installs
of inetutils-doc-1.9.4-r0.core2_64 and sysklogd-doc-1.5.1-r0.core2_64
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/sysklogd/sysklogd.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc index f9af0a4833d..78b8d7a9852 100644 --- a/meta/recipes-extended/sysklogd/sysklogd.inc +++ b/meta/recipes-extended/sysklogd/sysklogd.inc @@ -64,6 +64,9 @@ ALTERNATIVE_PRIORITY = "${@bb.utils.contains('DISTRO_FEATURES','systemd','10','1 ALTERNATIVE_${PN} = "syslogd klogd syslog-conf \ ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','syslog-init','',d)}" +ALTERNATIVE_${PN}-doc = "syslogd.8" +ALTERNATIVE_LINK_NAME[syslogd.8] = "${mandir}/man8/syslogd.8" + ALTERNATIVE_LINK_NAME[syslogd] = "${base_sbindir}/syslogd" ALTERNATIVE_LINK_NAME[klogd] = "${base_sbindir}/klogd" ALTERNATIVE_LINK_NAME[syslog-init] = "${sysconfdir}/init.d/syslog" |