Cyril Brulebois <k...@debian.org> (2023-03-22): > Trying to balance informative header, appearance, and machine-readability > I'm about to implement something like this when some packages are found: > > #Package Component Reason > firmware-linux-nonfree non-free-firmware modalias > firmware-realtek non-free-firmware dmesg > > (I was about to use column -t, but that's bsdextrautils, so I'm using a > format string with printf, allowing 30-character worth of package name.) > > and otherwise: > > # No firmware/microcode packages deployed by the installer > > which means people can grep -v ^# to get to the actual data (if any) and > do stuff with it, while humans have a decent-ish table. > > I'm also adding the firmware summary file to the installation report via > the bug script. > > I'll test this shortly with patched hw-detect and installation-report on > a netinst ISO, on baremetal then report actual results, instead of the > mockup above.
Test VM with Realtek Wi-Fi USB adapter shared from the host: #Package Component Reason firmware-realtek non-free-firmware dmesg firmware-realtek non-free-firmware modalias intel-microcode non-free-firmware cpu Asus Vivobook: #Package Component Reason firmware-realtek non-free-firmware dmesg firmware-amd-graphics non-free-firmware modalias amd64-microcode non-free-firmware cpu Dell G3 15: #Package Component Reason firmware-iwlwifi non-free-firmware dmesg firmware-realtek non-free-firmware dmesg firmware-iwlwifi non-free-firmware modalias firmware-misc-nonfree non-free-firmware modalias firmware-realtek non-free-firmware modalias firmware-sof-signed non-free-firmware modalias intel-microcode non-free-firmware cpu I'm deliberately choosing not to duplicate package names. The only thing I cannot really easily test is the “no firmware or microcode packages case” since the CPU matching will pull microcode at the very least: https://salsa.debian.org/installer-team/installation-report/-/commit/2b46263446e838f3965239aa14ed65a64aea49c2#9cef33ed9dfd3270ca2973284679af40ac3e0fe0_22_32 In any case, that file is now included in installation reports, near the end, and that looks like this: ============================================== Installer firmware-summary: ============================================== #Package Component Reason firmware-realtek non-free-firmware dmesg firmware-realtek non-free-firmware modalias intel-microcode non-free-firmware cpu Cheers, -- Cyril Brulebois (k...@debian.org) <https://debamax.com/> D-I release manager -- Release team member -- Freelance Consultant
signature.asc
Description: PGP signature