r4394 - people/horms/test_kernel_build

Simon Horman horms at costa.debian.org
Tue Oct 11 04:09:40 UTC 2005


Author: horms
Date: 2005-10-11 04:09:40 +0000 (Tue, 11 Oct 2005)
New Revision: 4394

Modified:
   people/horms/test_kernel_build/test_kernel_build.unified
Log:
get our version, not apt's

Modified: people/horms/test_kernel_build/test_kernel_build.unified
===================================================================
--- people/horms/test_kernel_build/test_kernel_build.unified	2005-10-11 04:08:54 UTC (rev 4393)
+++ people/horms/test_kernel_build/test_kernel_build.unified	2005-10-11 04:09:40 UTC (rev 4394)
@@ -37,8 +37,14 @@
 STAGE_NAME="Fetching kernel-source tarball from debian archive"
 stage_begin "$STAGE_NAME" || {
 	(
+		set -x
 		cd "$DST_DIR" && \
-		apt-get source -d -q=1 "linux-2.6" && \
+		SRC_URL=$(apt-get source -d -q=2 --print-uris "linux-2.6") && \
+		SRC_URL="${SRC_URL#*\'}" && \
+		SRC_URL="${SRC_URL%%\/linux-2.6_*}" && \
+		[ -n "SRC_URL" ] && \
+		wget -q \
+		    "$SRC_URL/linux-2.6_${S_UPSTREAM_VERSION}.orig.tar.gz" && \
 		tar -zxf "linux-2.6_${S_UPSTREAM_VERSION}.orig.tar.gz" && \
 		test ! -d "linux-2.6-${S_UPSTREAM_VERSION}.orig" || \
 		mv "linux-2.6-${S_UPSTREAM_VERSION}.orig" \




More information about the Kernel-svn-changes mailing list