[Fusionforge-commits] FusionForge branch master updated. 137859df48b777c3a3f8bb97e13746a9e0c68a85
Roland Mas
lolando at fusionforge.org
Mon Nov 24 15:35:17 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 137859df48b777c3a3f8bb97e13746a9e0c68a85 (commit)
from 40a74265d9835b2c7a70786683aeb1eb73167f4c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 137859df48b777c3a3f8bb97e13746a9e0c68a85
Author: Roland Mas <lolando at debian.org>
Date: Mon Nov 24 15:34:16 2014 +0100
Speed up yum invocations by using the cache
diff --git a/autoinstall/common-backports b/autoinstall/common-backports
index 4bef8be..bf9a800 100644
--- a/autoinstall/common-backports
+++ b/autoinstall/common-backports
@@ -49,21 +49,21 @@ function backports_deb {
function backport_rpm_from_fedora {
target=$1
- if yum list $target >/dev/null 2>&1; then
- yum install -y $target
+ if yum -C list $target >/dev/null 2>&1; then
+ yum -C install -y $target
else
yumdownloader --enablerepo=fedora --source $target
for DEP in $DEPS ; do
- if ! yum install -y $DEP ; then
+ if ! yum -C install -y $DEP ; then
yumdownloader --enablerepo=fedora $DEP
- yum install -y $DEP-*.noarch.rpm
+ yum -C install -y $DEP-*.noarch.rpm
fi
done
rpmbuild --rebuild $target-*.src.rpm
if [ -n "$REMOVEDEPS" ] ; then
- yum remove -y $REMOVEDEPS
+ yum -C remove -y $REMOVEDEPS
fi
- yum install -y ~/rpmbuild/RPMS/*/$target-[0-9]*.*.rpm
+ yum -C install -y ~/rpmbuild/RPMS/*/$target-[0-9]*.*.rpm
fi
}
@@ -102,7 +102,7 @@ gpgcheck=0
EOF
yum install -y yum-utils # yumdownloader
if [ ! -e /usr/bin/rpmbuild ] ; then
- yum install -y rpm-build
+ yum -C install -y rpm-build
fi
fi
-----------------------------------------------------------------------
Summary of changes:
autoinstall/common-backports | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list