cli: kernel-patching: Print KERNELBRANCH and KERNELPATCHDIR before patching

This commit is contained in:
ColorfulRhino 2024-07-02 14:21:13 +02:00 committed by Igor
parent 3831a72e97
commit e29b960649

View File

@ -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"