summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-03 17:06:08 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-03 17:06:08 +0100
commit2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5 (patch)
tree89c97002bf4ed8c3f4f3b9d15d1d88c4eddb3b84
parentb75326edbdd0ae11f4e10aedb2f64ce536b67479 (diff)
downloadrepo-tools-2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5.tar.gz
repo-tools-2fdc32f772c3f798b8407de3bff01c3f9d9fbcb5.tar.xz
include lib32
-rwxr-xr-xcreatelinks2
-rwxr-xr-xsyncrepo3
2 files changed, 3 insertions, 2 deletions
diff --git a/createlinks b/createlinks
index 7c975b7..341442f 100755
--- a/createlinks
+++ b/createlinks
@@ -45,7 +45,7 @@ for repo in ${repos[@]}; do
else
echo "$repo/$arch: $pkgname"
mkdir -p ${tmppkgdir}/pkg
- bsdtar -xof $pkg -C ${tmppkgdir}/pkg --include={opt,{,usr/}{lib,{s,}bin}}'/*' 2>/dev/null
+ bsdtar -xof $pkg -C ${tmppkgdir}/pkg --include={opt,{,usr/}{lib{,32},{s,}bin}}'/*' 2>/dev/null
for f in $(find ${tmppkgdir}/pkg -type f); do
readelf -d "$f" 2> /dev/null | sed -nr 's/.*Shared library: \[(.*)\].*/\1/p'
done | sort -u > ${tmppkgdir}/links
diff --git a/syncrepo b/syncrepo
index 07ed077..e8c13b8 100755
--- a/syncrepo
+++ b/syncrepo
@@ -15,7 +15,8 @@ trap "rm -f '${lock}'" EXIT INT TERM
rsync -rtlvH --safe-links --delete-after --progress -h \
--delay-updates --no-motd --bwlimit=1000 \
--temp-dir="${tmp}" \
- --exclude='*.links.tar.gz*' \
+ --exclude='*.links.tar.gz' \
+ --exclude='*.old' \
--exclude='/other' \
--exclude='/sources' \
--exclude='/iso' \