Skip to content

Commit

Permalink
Makefile: pin raft to a specific SHA1 commit
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jun 20, 2024
1 parent 3abf252 commit 2a6bfc1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ lxd-p2c:
.PHONY: deps
deps:
@if [ ! -e "$(RAFT_PATH)" ]; then \
git clone --depth=1 "https://github.com/canonical/raft" "$(RAFT_PATH)"; \
git clone "https://github.com/canonical/raft" "$(RAFT_PATH)"; \
elif [ -e "$(RAFT_PATH)/.git" ]; then \
cd "$(RAFT_PATH)"; git pull; \
fi
fi; \
git reset --hard abf9c42a9bb63c24920ab9f0bfbc4b7a47e7e5f4

cd "$(RAFT_PATH)" && \
autoreconf -i && \
Expand Down

0 comments on commit 2a6bfc1

Please sign in to comment.