armbian-oleg: logging: disable debugging (set -x) of generated postinst/etc kernel scripts (board-side, but also chroot logging)

This commit is contained in:
Ricardo Pardini
2023-01-13 04:10:44 +01:00
parent 6b09e97b4f
commit c99e06a84b

View File

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