mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-oleg: curb Python launcher logs
This commit is contained in:
@@ -46,7 +46,9 @@ function kernel_main_patching_python() {
|
||||
display_alert "Calling Python patching script" "for kernel" "info"
|
||||
declare python3_binary_path
|
||||
prepare_python3_binary_for_python_tools
|
||||
run_host_command_logged env -i "${params_quoted[@]@Q}" "${python3_binary_path}" "${SRC}/lib/tools/patching.py"
|
||||
# "raw_command" is only for logging purposes.
|
||||
raw_command="[...shortened kernel...] ${python3_binary_path} ${SRC}/lib/tools/patching.py" \
|
||||
run_host_command_logged env -i "${params_quoted[@]@Q}" "${python3_binary_path}" "${SRC}/lib/tools/patching.py"
|
||||
run_host_command_logged cat "${temp_file_for_output}"
|
||||
# shellcheck disable=SC1090
|
||||
source "${temp_file_for_output}" # SOURCE IT!
|
||||
|
||||
@@ -32,7 +32,9 @@ function uboot_main_patching_python() {
|
||||
display_alert "Calling Python patching script" "for u-boot target" "info"
|
||||
declare python3_binary_path
|
||||
prepare_python3_binary_for_python_tools
|
||||
run_host_command_logged env -i "${params_quoted[@]@Q}" "${python3_binary_path}" "${SRC}/lib/tools/patching.py"
|
||||
# "raw_command" is only for logging purposes.
|
||||
raw_command="[...shortened u-boot...] ${python3_binary_path} ${SRC}/lib/tools/patching.py" \
|
||||
run_host_command_logged env -i "${params_quoted[@]@Q}" "${python3_binary_path}" "${SRC}/lib/tools/patching.py"
|
||||
run_host_command_logged cat "${temp_file_for_output}"
|
||||
# shellcheck disable=SC1090
|
||||
source "${temp_file_for_output}" # SOURCE IT!
|
||||
|
||||
Reference in New Issue
Block a user