On Tue, Feb 17, 2026 at 11:06:44AM -0500, Joe Lawrence wrote:
> Signed-off-by: Joe Lawrence <[email protected]>
> ---
>  scripts/livepatch/klp-build | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Why?

> diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build
> index 5367d573b94b..9bbce09cfb74 100755
> --- a/scripts/livepatch/klp-build
> +++ b/scripts/livepatch/klp-build
> @@ -564,8 +564,8 @@ find_objects() {
>       local opts=("$@")
>  
>       # Find root-level vmlinux.o and non-root-level .ko files,
> -     # excluding klp-tmp/ and .git/
> -     find "$OBJ" \( -path "$TMP_DIR" -o -path "$OBJ/.git" -o -regex 
> "$OBJ/[^/][^/]*\.ko" \) -prune -o \
> +     # excluding klp-tmp/, .git/, and tools/
> +     find "$OBJ" \( -path "$TMP_DIR" -o -path "$OBJ/.git" -o -path 
> "$OBJ/tools" -o -regex "$OBJ/[^/][^/]*\.ko" \) -prune -o \
>                   -type f "${opts[@]}"                                \
>                   \( -name "*.ko" -o -path "$OBJ/vmlinux.o" \)        \
>                   -printf '%P\n'
> -- 
> 2.53.0
> 

-- 
Josh

Reply via email to