diff options
author | Jan Gelety <jgelety@cisco.com> | 2016-09-22 14:27:41 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2016-09-25 20:26:06 +0200 |
commit | 40d7e3b74c92f634c345192e87c2c50705c31eb6 (patch) | |
tree | 2e61c276a099981892835f192e4336702846d45b /resources/libraries/python | |
parent | 030f0dff4adbb5da9be2a18cbafec9b077a6723f (diff) |
Use tmp directory for log files
- store log files in tmp directory and exclude all files in this
directory from archiving when creating tarballs
Change-Id: Ie3e11670c9d466c5fcf41d03ccd0a7bbb04ffeb0
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/SetupFramework.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/SetupFramework.py b/resources/libraries/python/SetupFramework.py index 7914d7c3f2..1a1e991b3b 100644 --- a/resources/libraries/python/SetupFramework.py +++ b/resources/libraries/python/SetupFramework.py @@ -50,8 +50,8 @@ def pack_framework_dir(): tmpfile.close() proc = Popen( - split("tar --exclude-vcs -zcf {0} .".format(file_name)), - stdout=PIPE, stderr=PIPE) + split("tar --exclude-vcs --exclude=./tmp --exclude=*.deb -zcf {0} .". + format(file_name)), stdout=PIPE, stderr=PIPE) (stdout, stderr) = proc.communicate() logger.debug(stdout) |