summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-15 14:12:46 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-15 14:12:46 +0100
commit4f65c30f7ddafcd4174528504233d216d8f2904d (patch)
treeeb05a7ee55dc0b3ce4e538361c7bb3ff6b1b7e97
parent75462357cfce1d8c57c0a83f0fcdd7d23f3a1375 (diff)
downloadvyos-build-4f65c30f7ddafcd4174528504233d216d8f2904d.tar.gz
vyos-build-4f65c30f7ddafcd4174528504233d216d8f2904d.zip
T5689: Include librtr-dev in Debian dependencies to fix RPKI crash
This fixes FRR crashing on vtysh -c "show rpki $prefix" with the vyos build when librtr-dev was not available at FRR built time, see T5689. (cherry picked from commit 931571bd486eb84042a4beb50412f5c7c21cbd9d)
-rwxr-xr-xpackages/frr/build-frr.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/frr/build-frr.sh b/packages/frr/build-frr.sh
index e03f54ba..436d26aa 100755
--- a/packages/frr/build-frr.sh
+++ b/packages/frr/build-frr.sh
@@ -29,6 +29,9 @@ if [ -d $PATCH_DIR ]; then
done
fi
+echo "I: Ensure Debian build dependencies are met"
+sudo apt-get -y install chrpath gawk install-info libcap-dev libjson-c-dev librtr-dev
+sudo apt-get -y install libpam-dev libprotobuf-c-dev libpython3-dev:native libsnmp-dev protobuf-c-compiler python3-dev:native texinfo lua5.3
# Build Debian FRR package
echo "I: Build Debian FRR Package"
# extract "real" git commit for FRR version identifier