From cfe5bf1aaae6780ac36e37b4a2a249722b1d021d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
Date: Wed, 31 Oct 2018 13:50:31 +0100
Subject: [PATCH] compile_pkgs: update path to git-hash in repo_checkout

---
 compile_pkgs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile_pkgs b/compile_pkgs
index 9ac1a8d8e..ecd3463df 100755
--- a/compile_pkgs
+++ b/compile_pkgs
@@ -334,7 +334,7 @@ checkout() {
 available_commands+=( ["repo_checkout"]="Start everything from scratch relative to repository on repo.turris.cz - all changes deleted and copy of OpenWRT gets checked out with same hashes as repo.turris.cz" )
 repo_checkout() {
 	_report "Starting out $TARGET_BOARD-$PUBLISH_BRANCH!"
-	curl "https://repo.turris.cz/$TARGET_BOARD-$PUBLISH_BRANCH/git-hash" | tail -n +2 | grep -v '^$' | sed 's/^ \* //;s/: /:/' > repo-git-hashes
+	curl "https://repo.turris.cz/$PUBLISH_BRANCH/packages/$TARGET_BOARD/git-hash" | tail -n +2 | grep -v '^$' | sed 's/^ \* //;s/: /:/' > repo-git-hashes
 	_checkout_init
 	git fetch
 	git checkout -f "$(awk -F : '/^openwrt:/{print $2}' repo-git-hashes)"
-- 
GitLab