aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2017-12-01 09:14:29 +0100
committerJan Gelety <jgelety@cisco.com>2017-12-01 09:14:29 +0100
commite4744a48fa82c226162351d7598827efa610e0ec (patch)
tree20d3b383d0a1703fc2163a0e17c33caa228c48c6 /resources
parent69bc73179fe39ea02c9d53c0eb167e1320bcf090 (diff)
Exclude RPMs and output xml files from framework packing
Change-Id: Id79c3c54b9bacc10f15c5881492592e69ef3649b Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/SetupFramework.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/SetupFramework.py b/resources/libraries/python/SetupFramework.py
index 4fb39307f9..500812826a 100644
--- a/resources/libraries/python/SetupFramework.py
+++ b/resources/libraries/python/SetupFramework.py
@@ -55,8 +55,8 @@ def pack_framework_dir():
tmpfile.close()
proc = Popen(
- split("tar --sparse --exclude-vcs "
- "--exclude=./tmp --exclude=*.deb -zcf {0} .".
+ split("tar --sparse --exclude-vcs --exclude=output*.xml "
+ "--exclude=./tmp --exclude=*.deb --exclude=*.rpm -zcf {0} .".
format(file_name)), stdout=PIPE, stderr=PIPE)
(stdout, stderr) = proc.communicate()