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