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:37:13 +0000
commit7b99545ee9ad2f55b9659104a76bcaff44149de4 (patch)
treed79eda38a50532644b5d0defdc3cb367f15f4ef5 /debian/vyos-1x.preinst
parent1f03dbc5fb2952530fa6f9cb45a81d3a905224b6 (diff)
downloadvyos-1x-7b99545ee9ad2f55b9659104a76bcaff44149de4.tar.gz
vyos-1x-7b99545ee9ad2f55b9659104a76bcaff44149de4.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