fc4b4c Don't list /lib/modules/$KernelVer/kernel twice

1 file Authored by Paul Bolle 2 years ago , Committed by labbott 2 years ago ,
1 file changed. 1 lines added. 1 lines removed.
    Don't list /lib/modules/$KernelVer/kernel twice
    
    For quite some time I see warnings like
        warning: File listed twice: /lib/modules/[...]/kernel
    
    when building the kernel-core rpm. This is because that directory is included
    both in module-dirs.list (and therefor in, basically, kernel-core.list) and in
    kernel_variant_files().
    
    Tweak the find command that generates module-dirs.list so that this directory
    is not included in that list anymore.
    
    Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
    
        
file modified
+1 -1