[Devel] [PATCH VZ9/VZ10 2/2] .gitignore: Ignore all modules and their kids
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Fri May 29 14:05:56 MSK 2026
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.
Reviewed-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
On 5/29/26 12:14, Vladimir Riabchun wrote:
> 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.
>
> Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
> ---
> .gitignore | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.gitignore b/.gitignore
> index edf4f52c829a..5183e449e94e 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -28,6 +28,7 @@
> *.gz
> *.i
> *.ko
> +*.ko.*
> *.lex.c
> *.ll
> *.lst
--
Best regards, Pavel Tikhomirov
Senior Software Developer, Virtuozzo.
More information about the Devel
mailing list