diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-10-30 17:14:36 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-15 09:05:40 +0000 |
commit | dc196f05c4bdf53e2b2fe009d4a89269c1e6532c (patch) | |
tree | 03e1234f4848544a88236b6510548f9092e6467e | |
parent | 75462357cfce1d8c57c0a83f0fcdd7d23f3a1375 (diff) | |
download | vyos-build-dc196f05c4bdf53e2b2fe009d4a89269c1e6532c.tar.gz vyos-build-dc196f05c4bdf53e2b2fe009d4a89269c1e6532c.zip |
T5695: Add LUA script to build FRR
Build FRR with LUA scripts --enable-scripting option
(cherry picked from commit 83d4a070897012e49c5b227a082a6f31cdb62815)
-rwxr-xr-x | packages/frr/build-frr.sh | 6 |
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 |