From e29b9606498b06d630c69682e0ebc06683151e4d Mon Sep 17 00:00:00 2001 From: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:21:13 +0200 Subject: [PATCH] cli: kernel-patching: Print `KERNELBRANCH` and `KERNELPATCHDIR` before patching --- lib/functions/compilation/kernel-patching.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/functions/compilation/kernel-patching.sh b/lib/functions/compilation/kernel-patching.sh index ee426680ab..c2afa51c9a 100644 --- a/lib/functions/compilation/kernel-patching.sh +++ b/lib/functions/compilation/kernel-patching.sh @@ -57,7 +57,9 @@ function kernel_main_patching_python() { "EXTRA_PATCH_FILES_FIRST=${kernel_drivers_patch_file}" # Is a space-separated list. "EXTRA_PATCH_HASHES_FIRST=${kernel_drivers_patch_hash}" # Is a space-separated list. ) - display_alert "Calling Python patching script" "for kernel" "info" + display_alert "Calling Python patching script" "for kernel ${KERNELBRANCH}" "info" + display_alert "Using kernel patch dir:" "${KERNELPATCHDIR}" "info" + # "raw_command" is only for logging purposes. raw_command="[...shortened kernel patching...] ${PYTHON3_INFO[BIN]} ${SRC}/lib/tools/patching.py" \ run_host_command_logged env -i "${params_quoted[@]@Q}" "${PYTHON3_INFO[BIN]}" "${SRC}/lib/tools/patching.py"