fb93b2 fadump: add a kernel install hook to clean up fadump initramfs

Authored and Committed by Lichen Liu 2 years ago
    fadump: add a kernel install hook to clean up fadump initramfs
    
    Resolves: bz2139000
    Upstream: Fedora
    Conflict: Upstream doesn't have Source37: supported-kdump-targets.txt,
    so the number of SourceXX need to be changed.
    
    commit 4a2dcab26ac5ede266449515fc906687728f9ace
    Author: Hari Bathini <hbathini@linux.ibm.com>
    Date:   Fri Dec 2 18:46:51 2022 +0530
    
        fadump: add a kernel install hook to clean up fadump initramfs
    
        Kdump service will create fadump initramfs when needed, but it won't
        clean up the fadump initramfs on kernel uninstall. So create a kernel
        install hook to do the clean up job.
    
        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 added
+31
file modified
+5 -2