summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-15 10:17:32 +0100
committerGitHub <noreply@github.com>2023-11-15 10:17:32 +0100
commitca81d75c255079e892d9fbc2c602b6c32ef848a1 (patch)
tree03e1234f4848544a88236b6510548f9092e6467e
parent75462357cfce1d8c57c0a83f0fcdd7d23f3a1375 (diff)
parentdc196f05c4bdf53e2b2fe009d4a89269c1e6532c (diff)
downloadvyos-build-ca81d75c255079e892d9fbc2c602b6c32ef848a1.tar.gz
vyos-build-ca81d75c255079e892d9fbc2c602b6c32ef848a1.zip
Merge pull request #456 from vyos/mergify/bp/sagitta/pr-445
T5695: Add LUA script to build FRR (backport #445)
-rwxr-xr-xpackages/frr/build-frr.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/frr/build-frr.sh b/packages/frr/build-frr.sh
index e03f54ba..dc084ff7 100755
--- a/packages/frr/build-frr.sh
+++ b/packages/frr/build-frr.sh
@@ -29,8 +29,12 @@ 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
+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
dch -v "$(git describe | cut -c5-)" "VyOS build - FRR"
-dpkg-buildpackage -us -uc -tc -b -Ppkg.frr.rtrlib
+dpkg-buildpackage -us -uc -tc -b -Ppkg.frr.rtrlib,pkg.frr.lua