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 <[email protected]>

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 <[email protected]>
> ---
>  .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.

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to