:: Re: [DNG] Updating PCI ID lists in …
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Simon Hobson
Fecha:  
A: dng@lists.dyne.org
Temas antiguos: Re: [DNG] suggestion
Asunto: Re: [DNG] Updating PCI ID lists in installer (Was: suggestion)
John Franklin <franklin@???> wrote:

> Adding a network dependency on a package install is generally a bad idea. What happens if the machine doesn’t have external network access, as is often the case for corporate build servers or people installing Devuan from USB sticks where the wireless card isn’t supported by the base kernel? Should the package install fail or silently continue?
>
> It would be better for the lspci program to emit a warning “PCI ID list is out of date, please run update_pciids to update.”


Wouldn't the correct way to do it be to have the installer ask the user what to do ? Ie, tell the user "your list may be out of date, do you want to update it ?" with options like "yes, update it" (in which case, attempt to get an update), "skip that" (in which case, carry on with the old list). Of course, there's then the error recovery steps that need to be considered if the update fails - eg "try again", "give up and move on", "go back to previous step".