All of lore.kernel.org
 help / color / mirror / Atom feed
* Custom handling of ipk upgrade conflicts..
@ 2009-11-24  9:12 Rob Kramer
  2009-11-24 11:11 ` Graham Gower
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Kramer @ 2009-11-24  9:12 UTC (permalink / raw)
  To: openembedded-devel

Hi all,

I'm wondering how I could deal with conditionally installing some files in a 
ipk package, such as configuration files. For example, to not install some 
file if it already exists, or to merge it in some customized way. The 
CONFFILES directive is too interactive for my use, and doesn't allow custom 
handling of conflicts.

Does someone know of an example of a recipe that does a similar thing, 
perhaps using ipkg preinstall scripts etc?

Cheers!

    Rob




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

* Re: Custom handling of ipk upgrade conflicts..
  2009-11-24  9:12 Custom handling of ipk upgrade conflicts Rob Kramer
@ 2009-11-24 11:11 ` Graham Gower
  2009-11-25  6:36   ` Rob Kramer
  0 siblings, 1 reply; 3+ messages in thread
From: Graham Gower @ 2009-11-24 11:11 UTC (permalink / raw)
  To: openembedded-devel

It sounds like something that a preinst script would be suited to.

Could you elaborate on the custom merging that you wish to do?

-Graham



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

* Re: Custom handling of ipk upgrade conflicts..
  2009-11-24 11:11 ` Graham Gower
@ 2009-11-25  6:36   ` Rob Kramer
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Kramer @ 2009-11-25  6:36 UTC (permalink / raw)
  To: openembedded-devel

Graham Gower wrote:
> It sounds like something that a preinst script would be suited to.
> 
> Could you elaborate on the custom merging that you wish to do?

For example, it could merge setting entries in a config file with a new file 
from the ipk package. Or decide not to install the file at all, if there 
already is a file that is 'good enough' (i.e. passes some custom testing).

Cheers,

    Rob





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

end of thread, other threads:[~2009-11-25  6:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24  9:12 Custom handling of ipk upgrade conflicts Rob Kramer
2009-11-24 11:11 ` Graham Gower
2009-11-25  6:36   ` Rob Kramer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.