Descriptioncrosutils: refine memento image / factory package creation
This CL improves creation of memento / factory image payload by:
- verbose progress report
- allowing to compress by pigz, the parallel version of gzip
- prevents unpacking entire image if partition tools (cgpt/parted)
is available.
BUG=chromium-os:6536, chromium-os:5208
TEST=Verified executing "time ./make_factory_package.sh ..." for ToT factory bundle:
- before this CL (memento gzip param is not -9): 3m53.126s
- after this CL, without pigz, with cgpt: 2m34.897s
- after this CL, with pigz+cgpt, memento_gz=-9: 0m45.603s
- after this CL, with pigz, without cgpt/parted, memento_gz=-9: 1m49.748s
Also verified such bundle can be installed on a real netbook device.
Change-Id: Ie182844ea5482d6d321b9549fa584377edf7dfe3
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=51484a9
Patch Set 1 #
Total comments: 1
Patch Set 2 : add blocksize and more TODO comments/alerts #Patch Set 3 : should not compress twice #
Messages
Total messages: 5 (0 generated)
|