Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: Alexander Kanavin <alexander.kanavin@linux.intel.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] man-db: create man db index file
Date: Tue, 5 Jun 2018 10:27:36 +0800	[thread overview]
Message-ID: <27a69d94-e215-9c26-3886-5322f1f4e8f4@windriver.com> (raw)
In-Reply-To: <3518da0e-6a89-1288-d6ab-89a8537467f1@linux.intel.com>

On 2018年06月04日 19:42, Alexander Kanavin wrote:
> On 06/04/2018 01:58 PM, Kai Kang wrote:
>
>> +pkg_postinst_ontarget_${PN} () {
>> +        ${bindir}/mandb -q
>> +}
>> +
>
> man-db is only the tools for manpages, but not the actual pages. So 
> this will not work as expected when installing or removing packages 
> that contain manpages. It should be added to classes/manpages.bbclass 
> instead, with a RDEPENDS += "man-db". You can also fix 
> man-pages_4.14.bb to inherit the class at the same time.
>
> Oh, and you can also take qemu into use, so that this works also for 
> read only rootfs, and doesn't add to first boot time, like this:
> https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=akanavin/package-version-updates&id=b42a7a733c7a6b51118ccb3fe6e33c35ac12b4ae 
>
>
> Alex
>
Hi Alex,

Thanks a lot. I'll try it.

-- 
Regards,
Neil | Kai Kang



      reply	other threads:[~2018-06-05  2:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04 10:58 [PATCH] man-db: create man db index file Kai Kang
2018-06-04 11:42 ` Alexander Kanavin
2018-06-05  2:27   ` Kang Kai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27a69d94-e215-9c26-3886-5322f1f4e8f4@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox