armbian-next: drivers-harness: force -c commit.gpgsign=false during git commit

This commit is contained in:
Ricardo Pardini 2023-01-09 17:39:36 +01:00
parent 8aa0ee640f
commit 4f743caab8
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

View File

@ -126,6 +126,9 @@ function export_changes_as_patch_via_git_format_patch() {
)
# git: commit the changes
declare -a git_params=(
"-c" "commit.gpgsign=false" # force gpgsign off; the user might have it enabled and it will fail.
)
declare -a commit_params=(
"--quiet" # otherwise too much output
-m "drivers for ${LINUXFAMILY} version ${KERNEL_MAJOR_MINOR}"
@ -135,7 +138,7 @@ function export_changes_as_patch_via_git_format_patch() {
"GIT_COMMITTER_NAME=${MAINTAINER}"
"GIT_COMMITTER_EMAIL=${MAINTAINERMAIL}"
)
run_host_command_logged env -i "${common_envs[@]@Q}" "${commit_envs[@]@Q}" git commit "${commit_params[@]@Q}"
run_host_command_logged env -i "${common_envs[@]@Q}" "${commit_envs[@]@Q}" git "${git_params[@]@Q}" commit "${commit_params[@]@Q}"
# export the commit as a patch
declare formatpatch_params=(