]> code.ossystems Code Review - openembedded-core.git/commit
sysklogd: Re-enable alternatives for syslogd.8 man page
authorMark Hatle <mark.hatle@windriver.com>
Thu, 27 Sep 2018 18:17:46 +0000 (14:17 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Sep 2018 22:41:55 +0000 (23:41 +0100)
commit55ba9dc1f8698e23d6f59937c1494a91057b165d
tree96c5b085b8270f63cb2ea04a3d52f5cc842efe60
parent9ec5a8a0f86510f7aae572dfb79e8bda73d4e0fc
sysklogd: Re-enable alternatives for syslogd.8 man page

Other recipes, such as meta-networking inetutils may also provide a man page
for syslogd.8.  Use the alternatives mechanism to select the man page to
display.

This is a partial revert of commit: 988aad01b20c18a8850db0ad6dc547525d94116c

The syslogd tool itself is provided by both recipes in their respective runtime
packages.  In the inet case, it is inetutils-syslogd, which has an appropriate
RCONFLICTS with the syslogd version.  Only one or the other will be installed.
This is the conflict resolution the original commit of
"988aad01b20c18a8850db0ad6dc547525d94116c" was referring to.

HOWEVER, both syslogd and inetutils each only have a singular 'doc' package.
(As do most packages it seems.)  Since this is the case, if both syslogd and
inetutils (not syslogd part) is requested for a configuration -- AND ---
doc-pkgs are configured in, you get an error of conflicting files.

Now does the documentation match whichever package was installed, maybe not...
but this isn't a big deal as it turns out, since most syslogd share a common set
of arguments and those are the things a run-time user would query from the man
pages.

The only alternative is to start spliting up the docs into their relevant
subpackages, as we have the runtime items.  But this then complicates the
doc-pkgs processing and related...

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/sysklogd/sysklogd.inc