On Sat 27 Feb 2021 at 11:16:13 +0100, Holger Wansing wrote: [...]
> In summary, I have thrown this all together to the attached patch. > > Holger > > > > -- > Holger Wansing <hwans...@mailbox.org> > PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076 > diff --git a/debian/hw-detect.templates b/debian/hw-detect.templates > index c413e88e..3a1e4641 100644 > --- a/debian/hw-detect.templates > +++ b/debian/hw-detect.templates > @@ -96,6 +96,29 @@ Type: text > # :sl1: > _Description: Checking for firmware... > > +Template: hw-detect/firmware_packages_to_install > +Type: string > +# :sl2: > +Description: Additional/firmware packages to be installed: > + Modern devices (like graphics cards or network devices) tend to need > firmware > + blobs to be loaded onto the device, to be (fully) functional. This may > already > + have been dealt with, Surely not "may" but "will". > but if the installer does not include non-free > firmware > + packages, "if"? There is only *one* installer. It does not include non-free firmware packages. Did you have some other non-Debian variant in mind to promote in the installer? > or could not detect the need for them (this may be the case > + especially for graphics cards), it may be necessary to fetch them manually > at > + this stage. What militates against using the existing infrastructure? pkgsel, early_command and late_command? > + . > + If you know your hardware requires this, and you have enabled "non-free" > + package sources, you can list firmware packages here to have them installed. > + For AMD/ATI graphics cards you might want to install > "firmware-amd-graphics"; > + for Intel or Nvidia, "firmware-misc-nonfree". > + . > + Please note, that you can also use this dialog for installation of any other > + additional packages you want to have installed, not just firmware. Package > + names need to be space-separated. A duplication of what the installer already provides. > + . > + If you don't know what to enter, just leave it blank to not install any > + additional packages. Have you thought of using tasksel to provide the installation of non-free packages? -- Brian.