summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-01-26 10:00:10 +0100
committerChristian Poessinger <christian@poessinger.com>2019-01-26 10:00:10 +0100
commit0ad391b9e2b4c9693c6ea32f8e10dd8f1c52af40 (patch)
tree31a9c76e43c572f9c1bb052a89f8e68d4c574672
parent8a727f71fa3d63b91938f29376f726a904fffa73 (diff)
downloadvyos-build-0ad391b9e2b4c9693c6ea32f8e10dd8f1c52af40.tar.gz
vyos-build-0ad391b9e2b4c9693c6ea32f8e10dd8f1c52af40.zip
When building frr clean out Git repository first
-rwxr-xr-xscripts/build-submodules3
1 files changed, 2 insertions, 1 deletions
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