Exclude bind-mounted cache dirs from root cache
Including the ccache directory /tmp/ccache and the yum cache directory
/var/cache/yum in the root cache is unnecessary and can lead to the root cache tarball being an order of magnitude larger and taking 10 minutes or more to tar and compress even on a fast PC. --- py/mock/plugins/root_cache.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/py/mock/plugins/root_cache.py b/py/mock/plugins/root_cache.py index 8bcff23..60b8138 100644 --- a/py/mock/plugins/root_cache.py +++ b/py/mock/plugins/root_cache.py @@ -118,6 +118,8 @@ class RootCache(object): "--exclude=./proc", "--exclude=./sys", "--exclude=./dev", + "--exclude=./tmp/ccache", + "--exclude=./var/cache/yum", "."], shell=False ) -- 1.7.2.1 -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
| All times are GMT. The time now is 01:10 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.