From 72c62099827c6fb033cd3b35dd914f1a5e3d0f2b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 22 Mar 2018 10:52:23 +0100 Subject: bin/db-update: extract package database in tmp_dir, not in /tmp's tmpfs --- bin/db-update | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/db-update b/bin/db-update index 129a89d..5b0d56f 100755 --- a/bin/db-update +++ b/bin/db-update @@ -123,6 +123,8 @@ fi tmp_dir=$(mktemp -d "${work_dir}/tmp.db-update.XXXXXXXXXX") trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT +export TMPDIR="${tmp_dir}" + for source_stability in 'testing' 'staging'; do find "${tmp_dir}" -mindepth 1 -delete -- cgit v1.2.3-70-g09d2