Re: moving archdetect functionality to libd-i
On Mon, Jul 04, 2005 at 06:51:02PM +0200, Petter Reinholdtsen wrote:
> [Colin Watson]
> > I've been playing around with a .deb of kbd-chooser for a project at
> > work . kbd-chooser calls out to archdetect to figure out the
> > subarchitecture, and modifies its behaviour based on that, so I need to
> > have an archdetect equivalent in the installed system. I don't like the
> > idea of creating yet another .deb just for this, though.
> I might be slow, but I didn't quite get the problem you are trying to
> solve. Why can't archdetect stay in ddetect?
Because then I have to create an archdetect.deb in addition to a
kbd-chooser.deb, and (given the individually small but cumulative cost
of additional packages) this seems wasteful to me when it could just as
easily be a library call. After all, the guts of archdetect are already
implemented in C, so when calling them from C one might as well not have
to go through another process.
Colin Watson [email@example.com]