[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

combination of --data-path and display options (was: Bug#209240: NMU proposal for discover (i18n issues))



Am Die, den 18.11.2003 schrieb Branden Robinson um 16:43:

> For example, it turns out a "di-discover" tool wasn't needed after all;
> it was possible to pass arguments to the existing discover utility to
> get output in the format desired by the d-i team.
> 
>   * discover/discover/Makefile.in
>     discover/discover/didiscover.c
>       Remove didiscover.c.  The effects of
>         didiscover --data-path --data-vendor
>         didiscover --data-path --data-model
>       are achieved with
>         discover -t --no-model
>         discover -t --no-vendor
> 
The hardware detection part of debian-installer needs output strings in
the form of "kernel-module:Vendor Info Model Info" 
(e.g.:"ide-cd:Linux ATAPI CD-ROM driver"). To get these lines the
didiscover utility was added. 
I'm unable to produce these lines with the commands you recommend. As I
understand the discover manpage you can either add display options or a
--data-path option, but not both at the same time. What we would need is
something like "discover --data-path=linux/module/name --vendor --model
--format='%s:%s %s'". 
Is this possible with the current discover2?

gaudenz



Reply to: