From fe6650ea334a6e53ec80449e3648d30de24e5450 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 27 Mar 2022 10:27:08 +0200 Subject: frr: when building DEB include source version from "git describe" --- packages/frr/build-frr.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/frr/build-frr.sh') 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 -- cgit v1.2.3