summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-30 19:13:34 +0100
committerGitHub <noreply@github.com>2023-10-30 19:13:34 +0100
commit32a5fde53302ab75245c86a6c4d48e2f6efecdac (patch)
treec210a84c8a85f3290a00ac92e6362d15234cf366
parentc2e640db50e00ab5ef9de618f8f8393755cf79b2 (diff)
parent83d4a070897012e49c5b227a082a6f31cdb62815 (diff)
downloadvyos-build-32a5fde53302ab75245c86a6c4d48e2f6efecdac.tar.gz
vyos-build-32a5fde53302ab75245c86a6c4d48e2f6efecdac.zip
Merge pull request #445 from sever-sever/T5695
T5695: Add LUA script to build FRR
-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