common_lib.base_packages: Add parallel bzip2 support to package manager
commit586a9951bd388b39b714bb1de824a7db7bc96a01
authorlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Thu, 7 Jul 2011 13:03:24 +0000 (7 13:03 +0000)
committerlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>
Thu, 7 Jul 2011 13:03:24 +0000 (7 13:03 +0000)
tree7298e5eeed69e4016032d12c715627cdd3cb720d
parent51938760ff19dc27f05c8ba2bd8e7fc9a3aa3fcf
common_lib.base_packages: Add parallel bzip2 support to package manager

pbzip2 provides a linear increase in performance per core. On most of our
machines that means a 75% speedup in a --all packaging step, reducing the
packaging time from ~5 minutes down to a ~1m15s.

Also fixes a small bug where if no exclude_dir was specified None would
be added to the command line.

Also turns off verbosity when calling the tar command.

link: http://gerrit.chromium.org/gerrit/#change,3567
Signed-off-by: Dale Curtis <dalecurtis@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5491 592f7852-d20e-0410-864c-8624ca9c26a4
client/common_lib/base_packages.py