X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FSetupFramework.py;h=1a1e991b3baed9889fc787b0ec5216c11c9b9120;hp=7914d7c3f206a81bd09091e9cf0ea8b50c500003;hb=40d7e3b74c92f634c345192e87c2c50705c31eb6;hpb=030f0dff4adbb5da9be2a18cbafec9b077a6723f 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)