diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-10-30 17:14:36 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-10-30 17:35:14 +0000 |
commit | 83d4a070897012e49c5b227a082a6f31cdb62815 (patch) | |
tree | c210a84c8a85f3290a00ac92e6362d15234cf366 /packages | |
parent | c2e640db50e00ab5ef9de618f8f8393755cf79b2 (diff) | |
download | vyos-build-83d4a070897012e49c5b227a082a6f31cdb62815.tar.gz vyos-build-83d4a070897012e49c5b227a082a6f31cdb62815.zip |
T5695: Add LUA script to build FRR
Build FRR with LUA scripts --enable-scripting option
Diffstat (limited to 'packages')
-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 |