summaryrefslogtreecommitdiffstats
path: root/checkrepo
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-06-22 18:59:34 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-06-22 18:59:34 +0200
commit7824ead91e5b27474bdedde411b3db7c4c1a1ace (patch)
treefaae3cf318fcbb8ab91ed02886e106e0179688bb /checkrepo
parent67d6c8fbc081c58d92d78908459552603bcf6880 (diff)
downloadrepo-tools-7824ead91e5b27474bdedde411b3db7c4c1a1ace.tar.gz
repo-tools-7824ead91e5b27474bdedde411b3db7c4c1a1ace.tar.xz
don't run in parallel to reduce cpu/io load
Diffstat (limited to 'checkrepo')
-rwxr-xr-xcheckrepo3
1 files changed, 0 insertions, 3 deletions
diff --git a/checkrepo b/checkrepo
index a62ff03..dea73c2 100755
--- a/checkrepo
+++ b/checkrepo
@@ -35,15 +35,12 @@ echo '
echo 'Checking repository...'
for repo in {core,extra,community,testing,community-testing}; do
for arch in {i686,x86_64}; do
- (
mkdir -p ${tmp}/${repo}/${arch}
bsdtar xf ${target}/${repo}/os/${arch}/${repo}.db.tar.gz -C ${tmp}/${repo}/${arch}
find ${tmp}/${repo}/${arch} -name desc -print0 \
| xargs -0 awk -f ${tmp}/dbinfo.awk -vpath=${target}/${repo}/os/${arch}/ \
>> ${tmp}/md5sums-${arch}.txt
- )&
done
- wait
done
cat ${tmp}/md5sums-{i686,x86_64}.txt > ${tmp}/md5sums.txt