summaryrefslogtreecommitdiffstats
path: root/py/mock/plugins
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2008-01-20 13:59:55 -0600
committerMichael E Brown <michael_e_brown@dell.com>2008-01-20 13:59:55 -0600
commit35eeadbb2775e99deae72f484117062f783d6f7f (patch)
treefbd1d3c724be0334bafb0859fd7d6b5ca4f8bdf8 /py/mock/plugins
parent5aaa59800cae18440c1ba6caca5800e45b3ff5fa (diff)
downloadmock-35eeadbb2775e99deae72f484117062f783d6f7f.tar.gz
mock-35eeadbb2775e99deae72f484117062f783d6f7f.tar.xz
mock-35eeadbb2775e99deae72f484117062f783d6f7f.zip
add back in dropped '.' to tar cvf command that is causing root cache creation to fail. Add debug logging for running commands.
Diffstat (limited to 'py/mock/plugins')
-rw-r--r--py/mock/plugins/root_cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mock/plugins/root_cache.py b/py/mock/plugins/root_cache.py
index 7bae43f..9cb0a13 100644
--- a/py/mock/plugins/root_cache.py
+++ b/py/mock/plugins/root_cache.py
@@ -89,7 +89,7 @@ class RootCache(object):
self.state("creating cache")
self._rootCacheLock(shared=0)
mock.util.do(
- ["tar", "czf", self.rootCacheFile, "-C", self.rootObj.makeChrootPath()],
+ ["tar", "czf", self.rootCacheFile, "-C", self.rootObj.makeChrootPath(), "."],
shell=False
)
self._rootCacheUnlock()