diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-05-10 12:42:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-05-10 12:42:46 -0400 |
commit | 5189a00cd7e3cc415f13fb8aa867fd7c8c6711fa (patch) | |
tree | 64d4777c1fee63b11b6a2f2b3490ea69a6c9ee2f /config | |
parent | 98c2c92392d2acb9cf004b135d00087d35dca721 (diff) |
db-import-pkg: Don't bother with hardlinking prior to sync_repo
When implementing 8393137cd49de14f0f74caee8e93fa43ca881e2b, I had thought
that being able to create a hardlink-shadow of the repo was necessary to
avoid huge amounts of extra network traffic. Creating hardlinks required
TMPDIR to be on the same filesystem as FTP_BASE.
However, I now realize that sync_repo *only* syncs symlinks, which are
cheap, network-wise.
So, partially revert "db-import-pkg: Don't do any work directly in $FTP_BASE/$repo or $WORKDIR/rsync"
Revert the bit that created hardlinks, and revert the changes to TMPDIR.
Diffstat (limited to 'config')
-rw-r--r-- | config | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -22,9 +22,7 @@ SOURCE_CLEANUP_KEEP=30 LOCK_DELAY=10 [ -n "${STAGING:-}" ] || STAGING="$HOME/staging/unknown/staging" -#export TMPDIR="/tmp" -export TMPDIR=/srv/repo/tmp -mkdir -p "$TMPDIR" +export TMPDIR="/tmp" ARCHES=(x86_64 i686 armv7h) DBEXT=".db.tar.gz" FILESEXT=".files.tar.gz" |