From: Josh Poimboeuf Date: Fri, 3 Apr 2026 23:17:46 +0000 (-0700) Subject: klp-build: Print "objtool klp diff" command in verbose mode X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e950d2a10a30aa5f3ebb92d4bf807d1d5dd96de1;p=thirdparty%2Flinux.git klp-build: Print "objtool klp diff" command in verbose mode Print the full objtool command line when '--verbose' is given to help with debugging. Acked-by: Song Liu Signed-off-by: Josh Poimboeuf --- diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index 2bb35de5db757..327aef4d9cf8e 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -681,6 +681,7 @@ diff_objects() { ( cd "$ORIG_DIR" + [[ -v VERBOSE ]] && echo "cd $ORIG_DIR && ${cmd[*]}" "${cmd[@]}" \ 1> >(tee -a "$log") \ 2> >(tee -a "$log" | "${filter[@]}" >&2) || \