Skip to content

Commit

Permalink
do not cumulate packages with 12.2's rpm
Browse files Browse the repository at this point in the history
rpm leaks file descriptors and will fail for many packages in one transaction,
fixed for factory
  • Loading branch information
coolo committed Sep 26, 2012
1 parent 9e8d9d9 commit d26ae03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init_buildsystem
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit d26ae03

Please sign in to comment.