What does anaconda know?
Dave Jones
davej at redhat.com
Tue Oct 26 18:26:50 UTC 2004
On Tue, Oct 26, 2004 at 01:45:45PM -0400, Jeremy Katz wrote:
> On Tue, 2004-10-26 at 19:30 +0200, Ralf Ertzinger wrote:
> > Jeremy Katz <katzj at redhat.com> wrote:
> > > This is a never-ending battle. The proper place for such a
> > > determination is with the service itself.
> >
> > Hmmm. On the other hand I do not like the idea to stuff the
> > whole machine-type-detection logic into each and every package.
>
> Which is why you have a library (be it kudzu, hal, or whatever your
> hardware abstraction layer library of the week happens to be) and ensure
> that *it* can do the probing for you. Then you just have to have the
> package know what it cares about and see if there's any available.
In the case of x86 laptops, a simple 'is_laptop' script could be
hacked up pretty easily with dmidecode and grep.
Dave
More information about the fedora-devel-list
mailing list