summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-03 22:28:26 +0200
committerChristian Breunig <christian@breunig.cc>2024-07-03 22:28:26 +0200
commit9263965071289b6e51e22669b6d588a8d8fbcc1f (patch)
tree5316576e7b3614ffe86ba714c607e270fcf4774b
parent2eb80002145bbd4b4d965b14ba401378b45bfc80 (diff)
downloadvyos-1x-9263965071289b6e51e22669b6d588a8d8fbcc1f.tar.gz
vyos-1x-9263965071289b6e51e22669b6d588a8d8fbcc1f.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.
-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