Skip to content

Commit

Permalink
armbian-next: drivers-harness: force -c commit.gpgsign=false duri…
Browse files Browse the repository at this point in the history
…ng `git commit`
  • Loading branch information
rpardini committed Jan 9, 2023
1 parent e84d327 commit 96926fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/functions/compilation/patch/drivers-harness.sh
Expand Up @@ -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}"
Expand All @@ -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=(
Expand Down

0 comments on commit 96926fb

Please sign in to comment.