pld-builder.new: client/rebuild-th-kernel.sh - batch make-request calls
glen
glen at pld-linux.org
Mon Jun 11 10:55:04 CEST 2012
Author: glen Date: Mon Jun 11 08:55:04 2012 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- batch make-request calls
---- Files affected:
pld-builder.new/client:
rebuild-th-kernel.sh (1.15 -> 1.16)
---- Diffs:
================================================================
Index: pld-builder.new/client/rebuild-th-kernel.sh
diff -u pld-builder.new/client/rebuild-th-kernel.sh:1.15 pld-builder.new/client/rebuild-th-kernel.sh:1.16
--- pld-builder.new/client/rebuild-th-kernel.sh:1.15 Sun Jun 10 22:43:59 2012
+++ pld-builder.new/client/rebuild-th-kernel.sh Mon Jun 11 10:54:59 2012
@@ -72,28 +72,29 @@
head)
kernel=$(get_last_tags kernel)
kernel=$(echo ${kernel#*auto-??-} | tr _ .)
+ specs=""
for pkg in $pkgs_head; do
echo >&2 "Rebuilding $pkg..."
$rpmdir/builder -g $pkg -ns
$rpmdir/relup.sh -m "rebuild for $kernel" -ui $pkg/$pkg.spec
- $dir/make-request.sh -r -d th $pkg.spec
+ specs="$specs $pkg.spec"
done
+ $dir/make-request.sh -r -d $dist $specs
;;
longterm)
- cd $rpmdir
kernel=$(alt_kernel=longterm get_last_tags kernel)
kernel=$(echo ${kernel#*auto-??-} | tr _ .)
+ specs=""
for pkg in $pkgs_longterm; do
echo >&2 "Rebuilding $pkg..."
$rpmdir/builder -g $pkg -ns
$rpmdir/relup.sh -m "rebuild for $kernel" -ui $pkg/$pkg.spec
- $dir/make-request.sh -r -d th --without kernel $pkg.spec
+ specs="$specs $pkg.spec"
done
+ $dir/make-request.sh -r -d $dist --without kernel $specs
+
specs=$(get_last_tags $pkgs_head $pkgs_longterm)
- for pkg in $specs; do
- echo >&2 "Rebuilding $pkg..."
- $dir/make-request.sh -r -d $dist --kernel longterm --without userspace $pkg
- done
+ $dir/make-request.sh -r -d $dist --kernel longterm --without userspace $specs
;;
*)
# try to parse all args, filling them with last autotag
================================================================
---- CVS-web:
http://cvs.pld-linux.org/pld-builder.new/client/rebuild-th-kernel.sh?r1=1.15&r2=1.16
More information about the pld-cvs-commit
mailing list