[pve-devel] [PATCH iproute2] fix download target

Dominik Csapak d.csapak at proxmox.com
Tue Aug 16 13:29:25 CEST 2016


we did not use the v4.4.0 tag for this package,
but e.g. "ip rule save" is needed for container checkpoint and restore
which is in 4.4.0

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f8c916e..d9e09b7 100644
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,7 @@ ${DEBS}: ${SRC}
 
 download:
 	rm -rf iproute2-${VERSION} iproute2-${VERSION}.orig.tar.gz
-	git clone git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git iproute2-${VERSION}
-	cd iproute2-${VERSION}; git checkout v4.2.0;
+	git clone -b v${VERSION} --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git iproute2-${VERSION}
 	tar czf iproute2-${VERSION}.orig.tar.gz iproute2-${VERSION}/
 
 .PHONY: upload
-- 
2.1.4





More information about the pve-devel mailing list