878faf fadump: do not use squash to reduce image size

Authored and Committed by Lichen Liu 2 years ago
1 file changed. 3 lines added. 5 lines removed.
    fadump: do not use squash to reduce image size
    
    Resolves: bz2139000
    Upstream: Fedora
    Conflict: None
    
    commit 55b0dd03b36556b40e1f0d660b76bc5acb99b982
    Author: Hari Bathini <hbathini@linux.ibm.com>
    Date:   Mon Oct 31 15:42:20 2022 +0530
    
        fadump: do not use squash to reduce image size
    
        With commit fa9201b2 ("fadump: isolate fadump initramfs image within
        the default one"), initramfs image gets to hold two squash images, one
        for production kernel boot purpose and the other for capture kernel
        boot. Having separate images improved reliability for both production
        kernel and capture kernel boot scenarios, but the size of initramfs
        image became considerably larger.
    
        Instead of having squash images, compressing $initdir without using
        squash images reduced the size of initramfs image for fadump case by
        around 30%. So, avoid using squash for fadump case.
    
        Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
        Reviewed-by: Philipp Rudo <prudo@redhat.com>
    
    Signed-off-by: Lichen Liu <lichliu@redhat.com>
    
        
file modified
+3 -5