mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: bump logging archive greet to 14 files
This commit is contained in:
@@ -5,7 +5,7 @@ function extension_finish_config__build_nvidia_kernel_module() {
|
||||
return 0
|
||||
fi
|
||||
export INSTALL_HEADERS="yes"
|
||||
declare -g NVIDIA_DRIVER_VERSION="${NVIDIA_DRIVER_VERSION:-"510"}"
|
||||
declare -g NVIDIA_DRIVER_VERSION="${NVIDIA_DRIVER_VERSION:-"510"}" # @TODO: this might vary per-release and Debian/Ubuntu
|
||||
display_alert "Forcing INSTALL_HEADERS=yes; using nVidia driver version ${NVIDIA_DRIVER_VERSION}" "${EXTENSION}" "debug"
|
||||
}
|
||||
|
||||
|
||||
@@ -27,8 +27,8 @@ function trap_handler_cleanup_logging() {
|
||||
declare -a existing_log_files_array # array of existing log files: dash and dot in filename required.
|
||||
mapfile -t existing_log_files_array < <(find "${target_path}" -maxdepth 1 -type f -name "*-*.*")
|
||||
|
||||
# if more than 7 log files, warn user...
|
||||
if [[ "${#existing_log_files_array[@]}" -gt 7 ]]; then
|
||||
# if more than 14 log files, warn user...
|
||||
if [[ "${#existing_log_files_array[@]}" -gt 14 ]]; then
|
||||
# Hey, I fixed Docker archiving, so this should not happen again... heh.
|
||||
display_alert "Archiving" "${#existing_log_files_array[@]} old log files - be patient & thanks for testing armbian-next! 👍" "wrn"
|
||||
wait_for_disk_sync # for dramatic effect
|
||||
|
||||
Reference in New Issue
Block a user