Re: moving archdetect functionality to libd-i
Colin Watson wrote:
> I've been playing around with a .deb of kbd-chooser for a project at
> work [1]. 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.
>
> The situation seems pretty similar to that of mapdevfs: we have the guts
> in libdebian-installer, and a stub program wrapping those guts. Plus, in
> this case, there's no size issue with moving things into libd-i because
> every image that contains libd-i also contains archdetect.
It even saves some kB, because it is one crt*.o instance set less
linked in.
Thiemo
Reply to: