80.20. wireless-regdb-2026.09.03
Signed wireless regulatory database — without it the kernel applies the restrictive world domain
2026.09.03-1 · ISC · 0.1 SBU · 9.4 KiB, 5 files · 41_system, 238 of 1047 · ports/core/boot/wireless-regdb
Homepage: https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
Why it is in KDOS. The comment above wireless-regdb and sof-firmware in script/phases/41_system/packages.d/boot.txt:
Neither is part of linux-firmware; both are separate upstreams. The kernel builds a driver for each — CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y and CONFIG_SND_SOC_SOF=m — and requests these blobs by name at probe time. Without them the failures are silent: a radio stuck in the world domain with no 5 GHz, and a bound audio driver that makes no sound.
Required by: no port names it.
Sources: wireless-regdb-2026.09.03.tar.xz (31.3 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install wireless-regdb'
build.sh:
[ -f regulatory.db.p7s ] || { echo "regulatory.db.p7s missing — an unsigned db is the same as no db"; exit 1; }
python3 db2fw.py regulatory.db.built db.txt
ca=()
for cert in sforshee.x509.pem wens.x509.pem; do
[ -f "$cert" ] && ca+=("$cert")
done
[ ${#ca[@]} -gt 0 ] || { echo "no upstream signing certificate in the tarball"; exit 1; }
cat "${ca[@]}" > regdb-ca.pem
openssl smime -verify -binary -inform DER \
-in regulatory.db.p7s -content regulatory.db.built \
-CAfile regdb-ca.pem -purpose any -out /dev/null ||
{ echo "regulatory.db built from db.txt does not match upstream's signature"; exit 1; }
install -dm755 "$PKG/lib/firmware"
install -m644 regulatory.db.built "$PKG/lib/firmware/regulatory.db"
install -m644 regulatory.db.p7s "$PKG/lib/firmware/regulatory.db.p7s"
install -Dm644 regulatory.bin.5 -t "$PKG/usr/share/man/man5"
ln -s regulatory.bin.5 "$PKG/usr/share/man/man5/regulatory.db.5"
install -dm755 "$PKG/usr/share/licenses/$name"
install -m644 LICENSE "$PKG/usr/share/licenses/$name/"
Directories: /usr/share/licenses/wireless-regdb.