summaryrefslogtreecommitdiffstats
path: root/lib/file/file.h
diff options
context:
space:
mode:
authorGuilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>2017-07-11 15:04:05 -0300
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-07-12 14:47:06 +1000
commit3fc71b6422efdeb093ca6693553c0c31758a68d1 (patch)
treead64131e3f9906ffb314f6c8ea271cc10794c8bf /lib/file/file.h
parent135dc3721e847661d32b180d978c8e0def7afc86 (diff)
downloadpetitboot-3fc71b6422efdeb093ca6693553c0c31758a68d1.zip
petitboot-3fc71b6422efdeb093ca6693553c0c31758a68d1.tar.gz
pb-sos: effectively compress the pb-sos file with gzipHEADmaster
Currently the pb-sos tool creates a TAR file with logs, but without compressing it using gzip, for example. Even the output of command says "Compressing...", but in fact no compression is done. This patch uses gzip to effectively compress the logs. It achieves 83% of compression, observed after a simple experiment. Also, makes use of $tarflags variable instead of pass the flags directly in the command call. Signed-off-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'lib/file/file.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud