summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Kulow <coolo@suse.de>2012-09-26 16:15:32 +0200
committerStephan Kulow <coolo@suse.de>2012-09-26 16:16:36 +0200
commitd26ae038bd0ba829ad419391ea0ebd37674f65ae (patch)
tree5b61ae89da6fc9d864cbb5dc3e1b50ad665d4eb7
parent9e8d9d98450674a61d777be12375eb8265df91f8 (diff)
downloadbuild-d26ae038bd0ba829ad419391ea0ebd37674f65ae.tar.gz
build-d26ae038bd0ba829ad419391ea0ebd37674f65ae.tar.bz2
build-d26ae038bd0ba829ad419391ea0ebd37674f65ae.zip
do not cumulate packages with 12.2's rpm
rpm leaks file descriptors and will fail for many packages in one transaction, fixed for factory
-rwxr-xr-xinit_buildsystem4
1 files changed, 2 insertions, 2 deletions
diff --git a/init_buildsystem b/init_buildsystem
index 18317c7..d4a87ff 100755
--- a/init_buildsystem
+++ b/init_buildsystem
@@ -1012,7 +1012,7 @@ typeset -a CUMULATED_LIST=()
typeset -a CUMULATED_PIDS=()
typeset -a CUMULATED_HMD5=()
-if ((suse_version >= 1220)) ; then
+if ((suse_version > 1220)) ; then
MAIN_LIST="$PACKAGES_TO_INSTALL $PACKAGES_TO_CBINSTALL CUMULATED"
else
MAIN_LIST="$PACKAGES_TO_INSTALL $PACKAGES_TO_CBINSTALL"
@@ -1181,7 +1181,7 @@ for PKG in $MAIN_LIST; do
test -e "$i" && ADDITIONAL_PARAMS="$ADDITIONAL_PARAMS --justdb"
done
fi
- if ((suse_version >= 1220)) ; then
+ if ((suse_version > 1220)) ; then
echo "cumulate ${PKGID%% *}"
let cumulate++
CUMULATED_LIST[$cumulate]=".init_b_cache/$PKG.rpm"