1a53ab 90kernel-modules: don't install any block driver if not needed

1 file Authored by Kairui Song 3 years ago, Committed by Packit Service 3 years ago,
    90kernel-modules: don't install any block driver if not needed
    
    If hostonly mode is in use, and there isn't any block device included
    as hostonly device, then the initramfs won't need any block driver.
    
    Eg. for kdump built image, there could be only one nfs mount point,
    or the initramfs may only execute some network operation then reboot.
    
    In such case, skip block driver installation to save space and time.
    
    Signed-off-by: Kairui Song <kasong@redhat.com>
    (cherry picked from commit f4ad2e5c8964b6c7b50420299a0096bade6a40bd)
    
    Resolves: #1776659
    
    patch_name: 0080.patch
    present_in_specfile: true
    location_in_specfile: 80
    squash_commits: true