Add concurrency to zip building
There are certain processes that can be run in parallel while building zips:
-
Building zips -
Downloading apps\files - Possibility of collision when multiple zips try to download a file to same destination?
- Could do temp directory for each zip, but then files couldn't be cached between zips
- If file/app has a checksum, check global cache and check file against checksum. If matches, use it. Else, download a copy in the zip's own temporary directory.
-
Generating script/permission files- While
sysconfig
anddefault-permissions
could be done in parallel, everything else requires the previous to be complete...
- While