X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FSetupFramework.py;h=a528f6867ca47450301ea645341c3a1e1de231e7;hb=08e35e37f7ad3394cea86c22ab7ffd990651c112;hp=82c4ae2a65561e26a10f8f98e838029a6fb769be;hpb=cf561a6e3d4c4fbd78ab6c9d0a9aa817bb3300fc;p=csit.git diff --git a/resources/libraries/python/SetupFramework.py b/resources/libraries/python/SetupFramework.py index 82c4ae2a65..a528f6867c 100644 --- a/resources/libraries/python/SetupFramework.py +++ b/resources/libraries/python/SetupFramework.py @@ -50,7 +50,8 @@ def pack_framework_dir(): tmpfile.close() proc = Popen( - split("tar --exclude-vcs --exclude=./tmp --exclude=*.deb -zcf {0} .". + split("tar --sparse --exclude-vcs " + "--exclude=./tmp --exclude=*.deb -zcf {0} .". format(file_name)), stdout=PIPE, stderr=PIPE) (stdout, stderr) = proc.communicate()