History

klp-build: Print "objtool klp diff" command in verbose mode

Print the full objtool command line when '--verbose' is given to help with debugging.

Josh Poimboeuf committed 7 months ago

Commit e950d2a1 parent df0d7bb1 file · +1 −0Browse files

Showing the changes to scripts/livepatch (1 of 1 file). Show all

Unified · Split

scripts/livepatch/klp-build+1−0
@@ -681,6 +681,7 @@ diff_objects() { · 680 unmodified lines
681 681
682 (682 (
683 cd "$ORIG_DIR"683 cd "$ORIG_DIR"
684 [[ -v VERBOSE ]] && echo "cd $ORIG_DIR && ${cmd[*]}"
684 "${cmd[@]}" \685 "${cmd[@]}" \
685 1> >(tee -a "$log") \686 1> >(tee -a "$log") \
686 2> >(tee -a "$log" | "${filter[@]}" >&2) || \687 2> >(tee -a "$log" | "${filter[@]}" >&2) || \