diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-27 10:27:08 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-03-27 10:27:19 +0200 |
commit | fe6650ea334a6e53ec80449e3648d30de24e5450 (patch) | |
tree | 2e2e148a01d9291db797345dfd017c58511c44a8 /packages/frr | |
parent | 387a48f4ec317c36c7d5307e591cf3402d381d52 (diff) | |
download | vyos-build-fe6650ea334a6e53ec80449e3648d30de24e5450.tar.gz vyos-build-fe6650ea334a6e53ec80449e3648d30de24e5450.zip |
frr: when building DEB include source version from "git describe"
Diffstat (limited to 'packages/frr')
-rwxr-xr-x | packages/frr/build-frr.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/frr/build-frr.sh b/packages/frr/build-frr.sh index 8f2aedc2..477ff734 100755 --- a/packages/frr/build-frr.sh +++ b/packages/frr/build-frr.sh @@ -31,4 +31,6 @@ fi # Build Debian FRR package echo "I: Build Debian FRR Package" +# extract "real" git commit for FRR version identifier +dch -v "$(git describe --tags | cut -c5-)" "VyOS build - FRR" dpkg-buildpackage -us -uc -tc -b -Ppkg.frr.rtrlib |