diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-04 20:30:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-04 20:30:01 +0200 |
commit | c3bf4b80cd25dc8e64826b6d2f7ad0b3d1ae06c0 (patch) | |
tree | 97811a261e1e6f6b51cae323cfdab4afc4404dff | |
parent | ecaa44498949a377622e98c8490e6b83d57ebdc4 (diff) | |
parent | a414190447c32be0775a077cde13cef0cf2b8c54 (diff) | |
download | vyos-1x-c3bf4b80cd25dc8e64826b6d2f7ad0b3d1ae06c0.tar.gz vyos-1x-c3bf4b80cd25dc8e64826b6d2f7ad0b3d1ae06c0.zip |
Merge pull request #3782 from c-po/T4287-wifi-2
wireless: T4287: use Debian postinst over preinst when using update-alternatives
-rw-r--r-- | debian/vyos-1x.postinst | 3 | ||||
-rw-r--r-- | debian/vyos-1x.preinst | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index 26b81db6f..141a9e8f9 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -256,3 +256,6 @@ python3 /usr/lib/python3/dist-packages/vyos/xml_ref/update_cache.py if [ ! -f /lib/systemd/system/ssh@.service ]; then ln /lib/systemd/system/ssh.service /lib/systemd/system/ssh@.service fi + +# T4287 - as we have a non-signed kernel use the upstream wireless reulatory database +update-alternatives --set regulatory.db /lib/firmware/regulatory.db-upstream diff --git a/debian/vyos-1x.preinst b/debian/vyos-1x.preinst index dbad8bfa8..fbfc85566 100644 --- a/debian/vyos-1x.preinst +++ b/debian/vyos-1x.preinst @@ -9,6 +9,3 @@ 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 |