[projects/pld-builder.new] - linux 3.4 is new longterm, clear pkgs_longterm list from 3.0

baggins baggins at pld-linux.org
Mon Sep 24 22:34:15 CEST 2012


commit ac57a4f60ef86d6d44ec99d3b9a126db14ce2bd1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Sep 24 22:33:49 2012 +0200

    - linux 3.4 is new longterm, clear pkgs_longterm list from 3.0

 client/rebuild-th-kernel.sh | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/client/rebuild-th-kernel.sh b/client/rebuild-th-kernel.sh
index 0ca751d..303ec58 100755
--- a/client/rebuild-th-kernel.sh
+++ b/client/rebuild-th-kernel.sh
@@ -23,11 +23,7 @@ pkgs_head="
 	xtables-addons
 "
 
-pkgs_longterm="
-	iscsitarget
-	openvswitch
-	xorg-driver-video-nvidia-legacy3
-"
+pkgs_longterm=
 
 # autotag from rpm-build-macros
 # displays latest used tag for a specfile
@@ -89,15 +85,16 @@ case "$1" in
 		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
-			specs="$specs $pkg.spec"
-		done
-		# first build with main pkg (userspace), later build from tag
-		$dir/make-request.sh -nd -r -d $dist --without kernel $specs
-
+		if [ -n "$pkgs_longterm" ]; then
+			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
+				specs="$specs $pkg.spec"
+			done
+			# first build with main pkg (userspace), later build from tag
+			$dir/make-request.sh -nd -r -d $dist --without kernel $specs
+		fi
 		specs=$(get_last_tags $pkgs_head $pkgs_longterm)
 		$dir/make-request.sh -nd -r -d $dist --kernel longterm --without userspace $specs
 		;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/ac57a4f60ef86d6d44ec99d3b9a126db14ce2bd1



More information about the pld-cvs-commit mailing list