mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Runtime dependencies generation
@ 2011-11-16 20:20 Benoît BURNICHON
  2011-11-17  5:07 ` Robert Schwebel
  0 siblings, 1 reply; 4+ messages in thread
From: Benoît BURNICHON @ 2011-11-16 20:20 UTC (permalink / raw)
  To: ptxdist

Hi all,

I have a package which I know depends on some options

This package is not compiled and just need to be installed (it contains only scripts)
In the KConfig file, I set up lines like:

        depends on BUSYBOX
        depends on COREUTILS_OD       || BUSYBOX_HEXDUMP
        depends on COREUTILS_READLINK || BUSYBOX_READLINK
        depends on COREUTILS_SORT     || BUSYBOX_SORT
        depends on COREUTILS_STAT     || (BUSYBOX_STAT && BUSYBOX_FEATURE_STAT_FORMAT)
        depends on DIFFUTILS_DIFF     || BUSYBOX_DIFF

Everything is fine for package generation. But, when I asks ipkg to tell me on what depends my package with:

$ ipkg whatdepends mypackage

I end up with no dependencies

I know that there are no compilation dependencies, but how can I tell ptxdist that the depends line should contain a specific runtime package dependency. Also, when such a dependency is enforced, one could set up a specific rule for the version needed (in my case, I'd like to add 'busybox > 1.17.1-4')

I would like to be able to install the package on the target without manually verifying that all the required packages are on it. Instead, I want to perform an 'ipkg update', 'ipkg upgrade', then 'ipkg install mypackage'.

Has anyone already faced this need?

Ben



________________________________

Ce courriel et toutes les pièces jointes sont confidentiels et peuvent être couverts par un privilège ou une protection légale. Il est établi à l’attention exclusive de ses destinataires. Toute utilisation de ce courriel non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse préalable.
This email and any attachment are confidential and may be legally privileged or otherwise protected from disclosure. It is intended only for the stated addressee(s) and access to it by any other person(s) is unauthorized. Any use, dissemination or disclosure not in accordance with its purpose, either in whole or in part, is prohibited without our prior formal approval.
-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-20 12:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-16 20:20 [ptxdist] Runtime dependencies generation Benoît BURNICHON
2011-11-17  5:07 ` Robert Schwebel
2011-11-17 10:34   ` Benoît BURNICHON
2011-11-20 12:49     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox