[Devel] [PATCH RHEL10 COMMIT] .gitignore: Ignore all modules and their kids

Konstantin Khorenko khorenko at virtuozzo.com
Tue Jul 7 15:27:32 MSK 2026


The commit is pushed to "branch-rh10-6.12.0-211.30.1.14.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-211.30.1.14.1.vz10
------>
commit b172ea5765ae3047e9ef35a423bbd443dd19c682
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date:   Fri May 29 10:14:07 2026 +0000

    .gitignore: Ignore all modules and their kids
    
    If debuginfo is stripped from modules into something
    like NAME.ko.debug, these files are not ignored by git
    and we have 2k+ untracked files.
    
    Annoying.
    
    This helps with splitted debug symbols e.g.:
       net/ipv6/netfilter/ip6table_raw.ko.debug
    
    Produced by "eu-strip --reloc-debug-sections -f $mod{.debug,}", when
    building with
    https://github.com/Snorch/ovzhelpers/blob/master/build-kernel scripts.
    
    Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
    Reviewed-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index c078e8be64354..0c7ad0516fc67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,6 +28,7 @@ .*
 *.gz
 *.i
 *.ko
+*.ko.*
 *.lex.c
 *.ll
 *.lst


More information about the Devel mailing list