summaryrefslogtreecommitdiff
path: root/debian/vyos-1x.preinst
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-03 22:28:26 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-07-04 11:36:12 +0000
commitfa9075550d0a569b48560bc8e9026b9f46537a04 (patch)
treeac726b578ded70e8897e463b6e08b11ede49fbb6 /debian/vyos-1x.preinst
parent18f6159536d67c8fdabf02fe1aa8b4e0e94986d8 (diff)
downloadvyos-1x-fa9075550d0a569b48560bc8e9026b9f46537a04.tar.gz
vyos-1x-fa9075550d0a569b48560bc8e9026b9f46537a04.zip
wireless: T4287: use upstream regulatory database due to kernel signing
Most likely b/c of our non signed Kernel binary we do not trust the Debian signed wireless regulatory database. Fallback to the upstream database instead. (cherry picked from commit 9263965071289b6e51e22669b6d588a8d8fbcc1f)
Diffstat (limited to 'debian/vyos-1x.preinst')
-rw-r--r--debian/vyos-1x.preinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyos-1x.preinst b/debian/vyos-1x.preinst
index fbfc85566..dbad8bfa8 100644
--- a/debian/vyos-1x.preinst
+++ b/debian/vyos-1x.preinst
@@ -9,3 +9,6 @@ dpkg-divert --package vyos-1x --add --no-rename /etc/netplug/netplugd.conf
dpkg-divert --package vyos-1x --add --no-rename /etc/netplug/netplug
dpkg-divert --package vyos-1x --add --no-rename /etc/rsyslog.d/45-frr.conf
dpkg-divert --package vyos-1x --add --no-rename /lib/udev/rules.d/99-systemd.rules
+
+# T4287 - as we have a non-signed kernel use the upstream wireless reulatory database
+update-alternatives --set regulatory.db /lib/firmware/regulatory.db-upstream