• Sören Tempel's avatar
    mkinitfs: add optional support for pigz · 59204d36
    Sören Tempel authored
    pigz(1) is a parallel gzip implementation. As such, it significantly
    faster than gzip(1). This patch uses pigz(1) instead of gzip(1),
    if it is installed, otherwise it just falls back to gzip(1). This is
    similar to the current pigz support in abuild.
    
    Without this patch:
    
    	$ time mkinitfs
    	==> initramfs: creating /boot/initramfs-lts
    	real	0m 38.19s
    	user	0m 35.47s
    	sys	0m 0.49s
    
    With this patch applied and pigz installed:
    
    	==> initramfs: creating /boot/initramfs-lts
    	real	0m 13.24s
    	user	0m 38.30s
    	sys	0m 0.56s
    
    This change was discussed on IRC with _ikke_ and mps.
    59204d36
Name
Last commit
Last update
features.d Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
arg.h Loading commit data...
bootchartd.in Loading commit data...
fstab Loading commit data...
group Loading commit data...
initramfs-init.in Loading commit data...
mkinitfs-bootparam.7.in Loading commit data...
mkinitfs.1.in Loading commit data...
mkinitfs.in Loading commit data...
nlplug-findfs.1.in Loading commit data...
nlplug-findfs.c Loading commit data...
passwd Loading commit data...
test.sh Loading commit data...