• Andi Kleen's avatar
    Kbuild: use normal compression settings for tar*-pkg · b589c8ae
    Andi Kleen authored
    For large kernel configurations (like a distribution kernel)
    targz-pkg takes a quite long time to just do the compression.
    I clocked it at 15+mins for a SUSE kernel like config on a fast
    system.  And tarxz and bzip2 are even slower.
    
    The main reason is that the script that is doing the taring sets
    the highest compression level (-9).  When I change it to just
    use the defaults the gzip time for the same kernel goes down
    to ~3 mins. I haven't tested xz and bzip, but I expect those
    to be much faster too.
    
    I'm not willing to wait that long for a small compression
    gain. So just change the script to use the defaults.
    Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
    Reviewed-by: default avatarFengguang Wu <fengguang.wu@intel.com>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    b589c8ae
buildtar 2.75 KB