summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-16 22:25:29 +0100
committerGitHub <noreply@github.com>2024-12-16 22:25:29 +0100
commit1da518c1100254b14b064de68844cfea372ea6ec (patch)
treefe046cf9358c4258faf00910401783ddfaf26747 /debian
parent86b528863585e62fd398d05aa1a2e1a64dae0e45 (diff)
parent90e9aa9df41c3b99f9f1421227a1f1474622b918 (diff)
downloadvyos-1x-1da518c1100254b14b064de68844cfea372ea6ec.tar.gz
vyos-1x-1da518c1100254b14b064de68844cfea372ea6ec.zip
Merge pull request #4227 from c-po/T6746-frr-10
frr: upgrade to 10.2 and migrate protocols to unified FRRender class
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/vyos-1x.postinst5
3 files changed, 8 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index a19461412..76ca83dcd 100644
--- a/debian/control
+++ b/debian/control
@@ -166,7 +166,7 @@ Depends:
sstp-client,
# End "interfaces sstpc"
# For "protocols *"
- frr (>= 9.1),
+ frr (>= 10.2),
frr-pythontools,
frr-rpki-rtrlib,
frr-snmp,
diff --git a/debian/rules b/debian/rules
index c15fcab11..d7c427b0d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -94,6 +94,8 @@ override_dh_auto_install:
cp -r data/reftree.cache $(DIR)/$(VYCONF_CONFIG_DIR)
mkdir -p $(DIR)/$(VYOS_DATA_DIR)
cp -r data/* $(DIR)/$(VYOS_DATA_DIR)
+ # Remove j2lint comments / linter configuration which would insert additional new-lines
+ find $(DIR)/$(VYOS_DATA_DIR) -name "*.j2" -type f | xargs sed -i -e '/^{#.*#}/d'
# Create localui dir
mkdir -p $(DIR)/$(VYOS_LOCALUI_DIR)
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index d83634cfc..ff5a91e09 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -267,3 +267,8 @@ 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
+
+# Restart vyos-configd to apply changes in Python scripts/templates
+if systemctl is-active --quiet vyos-configd; then
+ systemctl restart vyos-configd
+fi