Comment 8 for bug 1569337

Revision history for this message
Oliver Grawert (ogra) wrote :

- 'cat {} | gzip -dc | cpio -i'.format(
- os.path.join(temp_dir, 'squashfs-root', initrd_path)),
+ 'cat {0} | {1} -dc | cpio -i'.format(tmp_initrd_path, decompressor),

can we please turn that from:

"cat ...| gzip .. | cpio ..."

to something like:

"zcat .. | cpio ..."
(or xzcat ro lzcat)

unless there is a good reason to pipe it through three commands instead of two ...