Hi, liangyue <nvcsadjk...@outlook.com> wrote: > My wifi can not connect. The installer told me that I missing firmware > files are > regulatory.db, and I solved it by add package named wireless-regdb. I think > the package > wireless-regdb should be add to nonfree iso. > By the way, my amd gpu rx590 also need firmware, because I can't enter > desktop > environment until I install the package firmware-amd-graphics. I think the > two firmware > should included in nonfree iso for everyone like my haardware.
Two different issues here: 1. regulatory.db from wireless-regdb package is not included in non-free firmware-including d-i images. That's because that package is not caught by the mechanism in debian-cd, to find firmware packages (because its name does not contain "firmware" or "microcode"). So, what to do here? Rename package into something like wireless-regdb-firmware or similar? Or patch debian-cd, to find that package? An (untested) patch against debian-cd is attached. 2. Firmware for graphics cards is included in firmware d-i image, but is not installed by the installer. That seems to become a big issue these days, given the number of reports stating about such cases. Maybe we could get something done to minimize the impact for users here? I have already mentioned this some weeks ago (see https://lists.debian.org/debian-boot/2020/12/msg00026.html). My proposal at https://lists.debian.org/debian-boot/2020/12/msg00160.html is of course not very smart, requiring input from user which package to install, but that's the only I can come up with, lacking more skills. However, maybe it's better than nothing? (We could rephrase the template, to mention the package names for graphic-card firmwares exactly there...) Holger -- Holger Wansing <hwans...@mailbox.org> PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
diff --git a/tools/generate_firmware_task b/tools/generate_firmware_task index 40c4ddd3..1d66c3b8 100755 --- a/tools/generate_firmware_task +++ b/tools/generate_firmware_task @@ -93,7 +93,7 @@ sub check_packages($$) { m/^Package: (\S+)/m and $pkg = $1; m/^Filename: (\S+)/m and $filename = $1; - if (! ($pkg =~ /(microcode|firmware)/)) { + if (! ($pkg =~ /(microcode|firmware|wireless-regdb-udeb)/)) { next; } diff --git a/tools/make-firmware-image b/tools/make-firmware-image index e5d7438b..d25b1e72 100755 --- a/tools/make-firmware-image +++ b/tools/make-firmware-image @@ -26,7 +26,7 @@ rm -rf $TMPDIR/firmware mkdir -p $TMPDIR/firmware FILES=`$BASEDIR/tools/catz ${MIRROR}/dists/${SUITE}/*/binary-*/Packages.*z* | \ - grep-dctrl -Pe '.*(firmware|microcode).*' -s Filename -n | sort -u` + grep-dctrl -Pe '.*(firmware|microcode|wireless-regdb-udeb).*' -s Filename -n | sort -u` for FILE in $FILES; do # Don't use "grep -q" here, it causes errors from tar