From 0ad391b9e2b4c9693c6ea32f8e10dd8f1c52af40 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 26 Jan 2019 10:00:10 +0100 Subject: When building frr clean out Git repository first --- scripts/build-submodules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build-submodules b/scripts/build-submodules index 31bf55a3..a84e0b93 100755 --- a/scripts/build-submodules +++ b/scripts/build-submodules @@ -153,6 +153,8 @@ build_frr() { ( set -e; set -x cd $PKGDIR/$PKG + git clean -dxf + git reset --hard # Run bootstrap.sh and make a dist tarball # http://docs.frrouting.org/projects/dev-guide/en/latest/packaging-debian.html @@ -170,7 +172,6 @@ build_frr() { tar xf ../frr_*.orig.tar.gz cd frr* source /etc/os-release - ls -al ../../frr_*${ID}${VERSION_ID}* tar xf ../../frr_*${ID}${VERSION_ID}*.debian.tar.xz # As libyang is not (yet) build and installed as native Debian package FRR -- cgit v1.2.3