]> git.ozlabs.org Git - next-scripts/commitdiff
make_tree_file: ABAT can fetch a git tree
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Nov 2008 05:11:13 +0000 (16:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Nov 2008 05:11:13 +0000 (16:11 +1100)
make_tree_file

index 48cb0f39bb745c61adb33bf5f9728c4dbc28695d..83ade7542216de0aca39296a5b03f9373cd4906f 100755 (executable)
@@ -45,27 +45,15 @@ git update-ref refs/heads/stable refs/remotes/origin/master
 new_ref=$(echo "next-$d" | git commit-tree 'HEAD^{tree}' -p history -p HEAD)
 git update-ref -m "next-$d" refs/heads/history $new_ref
 
-# Create a patch to remove the localversion-next file
-cat >../nolocalversion-$d.patch <<EOF
-diff --git a/localversion-next b/localversion-next
-deleted file mode 100644
-index d795256..0000000
---- a/localversion-next
-+++ /dev/null
-@@ -1 +0,0 @@
---next-$d
-EOF
-
 l=$(git describe --match "v*" --abbrev=0)
 l=${l#v}
 cat >../abat-script-$d <<EOF
 option title linux-next $d boot test
 class power5 type="IBM,9124-720 eServer OpenPower 720"
 class power5plus type="IBM,9110-51A System p5 510"
-+\$kernel "$l"
-+\$patch1 "http://www.kernel.org/pub/linux/kernel/people/sfr/linux-next/patch-v$l-next-$d.bz2"
-+\$patch2 "http://fs.ozlabs.ibm.com/~sfr/nolocalversion-$d.patch"
-build generic stock  \$kernel -p \$patch1 -p \$patch2 -m -j\$num_cpus
++\$kernel "HEAD^"
++\$config http://ozlabs.au.ibm.com/~tony/abat/configs/no_CONFIG_LOCALVERSION_AUTO.config
+build generic git  git://fs.ozlabs.ibm.com/home/kernel/linux-next.git \$kernel -c \$config -m -j\$num_cpus
 boot initcall_debug
 EOF