From d26ae038bd0ba829ad419391ea0ebd37674f65ae Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 26 Sep 2012 16:15:32 +0200 Subject: [PATCH] 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 --- init_buildsystem | 4 ++-- 1 file 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" -- 2.7.4