mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-oleg: logging: disable debugging (set -x) of generated postinst/etc kernel scripts (board-side, but also chroot logging)
This commit is contained in:
@@ -139,11 +139,11 @@ function kernel_package_hook_helper() {
|
||||
#!/bin/bash
|
||||
echo "Armbian '${package_name}' for '${kernel_version_family}': '${script}' starting."
|
||||
set -e # Error control
|
||||
set -x # Debugging
|
||||
#set -x # Debugging - disabled
|
||||
|
||||
$(cat "${contents}")
|
||||
|
||||
set +x # Disable debugging
|
||||
#set +x # Disable debugging - disabled
|
||||
echo "Armbian '${package_name}' for '${kernel_version_family}': '${script}' finishing."
|
||||
true
|
||||
EOT
|
||||
|
||||
Reference in New Issue
Block a user