mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Jürgen Beisert" <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Dennis.Herbrich@hytera.de
Subject: Re: [ptxdist] How to add docs to target without going insane
Date: Mon, 19 Aug 2013 15:18:48 +0200	[thread overview]
Message-ID: <201308191518.48691.jbe@pengutronix.de> (raw)
In-Reply-To: <OFCEF257ED.60017F6D-ONC1257BC8.003BC04E-C1257BC8.003C0F58@hytera.de>

Hi Dennis,

On Thursday 15 August 2013 12:56:00 Dennis.Herbrich@hytera.de wrote:
> Greetings to the list!
>
> We're creating a not-quite-embedded Linux with the help of the current
> ptxdist version, and it annoys me to no end to not have the manpages
> of all those nifty diagnostic tools available on the target. I have to
> admit I do not know all the tcpdump switches by heart, and neither do
> the poor sods who else attempt to diagnose problems on the target,
> and an internet connection isn't always available.
>
> Long story short: How do I elegantly package all included documentation
> for all installed packages for deployment on the target?
> I don't care if the docs are included in their respective package, or
> in one huge "manpages.ipk".
>
> I do not see myself effectively replacing EVERY upstream rule file, as
> that would be an obvious maintenance nightmare (unless that patch
> torrent would be accepted upstream ;)), and picking stuff from
> the build-target directories seems too much guesswork for my taste.
> The app's "make install" still knows best what to install where.

Package's "install" stage should also install the man pages (only if enabled, 
for most packages we try to avoid it, because it takes too much time and 
nobody uses the man pages on the target).
Take a look into the 
corresponding "platform-<platform>/packages/<package>[/usr]/share/man" 
directories. If there are man pages installed you can adapt the package's rule 
file to also include these files into the IPKG/OPKG and target's filesystem. 
Refer the 'install_copy' and/or 'install_tree' macros how to do so.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2013-08-19 13:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15 10:56 Dennis.Herbrich
2013-08-19 13:18 ` Jürgen Beisert [this message]
2013-08-20 18:59   ` Uwe Kleine-König

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=201308191518.48691.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=Dennis.Herbrich@hytera.de \
    --cc=ptxdist@pengutronix.de \
    /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