[oe-users] grub; general configuration files
Michael 'Mickey' Lauer
mickey at vanille-media.de
Tue Apr 3 22:33:02 UTC 2007
Joe Pfeiffer wrote:
> Hmmm... I'm actually interested in exactly the opposite problem. I'm
> following Marcin's suggestion that I create a ts5500-config package,
> and put ts5500 specific configuration files there. These files will,
> of course, replace the configuration files created by other packages
> (I'm particularly thinking of pcmciautils here, as the default
> /etc/pcmcia/config.opts comes straight from upstream). I want to be
> sure my configuration file is put into the image second.
Ah. This gets messy. The only way to control the order in which ipkg
installs packages is by manipulating dependencies. Every packagement
system will cry when files are provided by multiple packages. To solve
this, there are better (update-)alternatives out there. We have a
similar (yet unsolved) problem with multiple Gtk theme files providing
/etc/gtk-2.0/gtkrc. The proper way to deal with these kinds of issues
is to prevent them. Don't override files, better use RCONFLICT /
RREPLACES, or update-alternatives, or postinstall magic, or a better
(read: more fine granular) mapping of files to packages.
Regards,
:M:
--
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
More information about the Openembedded-users
mailing list