]> git.ozlabs.org Git - next-scripts/commitdiff
Add SHA1s file
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 16 Sep 2008 18:37:24 +0000 (04:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 16 Sep 2008 18:37:24 +0000 (04:37 +1000)
make_tree_file

index 1b99f205cb43474bbab1d5954dc2d08e0c9ea386..48cb0f39bb745c61adb33bf5f9728c4dbc28695d 100755 (executable)
@@ -14,6 +14,9 @@ echo 'Trees included into this release:
 Name           Type    URL
 ----           ----    ---' > Next/Trees
 
+echo 'Name             SHA1
+----           ----' > Next/SHA1s
+
 IFS='  '
 while read email type name url ref; do
        [[ "$email" =~ '^#.*$' ]] && continue
@@ -21,6 +24,9 @@ while read email type name url ref; do
        [ $(echo "$name" | wc -c) -le 8 ] && tab="\t\t"
        [ "$type" = "git" ] && url="$url#$ref"
        printf "%s$tab%s\t%s\n" $name $type $url
+       href="$name/$ref"
+       [ "$type" = "quilt" ] && href="quilt/$name"
+       printf "%s$tab%s\n" $name $(git rev-parse --verify $href) >> Next/SHA1s
 done <../real_control >>Next/Trees
 
 cp ../quilt-import.log ../merge.log Next/.
@@ -56,7 +62,6 @@ 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"
-class x8664 cpu_type="Intel(R) Xeon(TM) CPU 2.40GHz"
 +\$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"