842faa 90kernel-modules-extra: don't resolve symlinks before instmod

1 file Authored by Lukas Nykryn 3 years ago, Committed by Packit Service 3 years ago,
    90kernel-modules-extra: don't resolve symlinks before instmod
    
    When you install a third-party driver, you will probably end in a
    situation, where the module will be in a different directory and
    in $depmod_module_dir you will only have symlink. If we resolve the
    symlink before we pass the module path to instmod, the dracut-install
    will only include the module with its original path, but not the
    symlink. Hence the module can't be automatically loaded.
    
    Dracut-install is clever enough to handle symlinks and will include both
    the symlink and the module to the initrd.
    
    (cherry picked from commit d1afff43aea01c8d43817adf3ac4041dd4b9f022)
    
    Resolves: #1720275
    
    patch_name: 0024.patch
    present_in_specfile: true
    location_in_specfile: 24
    squash_commits: true