Skip to content

pkg: Always add mandatory GITAMFLAGS [backport 2025.10]#21879

Merged
maribu merged 1 commit intoRIOT-OS:2025.10-branchfrom
maribu:backport/2025.10/pkg/no-gpg-sign-no-matter-what
Nov 15, 2025
Merged

pkg: Always add mandatory GITAMFLAGS [backport 2025.10]#21879
maribu merged 1 commit intoRIOT-OS:2025.10-branchfrom
maribu:backport/2025.10/pkg/no-gpg-sign-no-matter-what

Conversation

@maribu
Copy link
Copy Markdown
Member

@maribu maribu commented Nov 15, 2025

Backport of #21841

Contribution description

We really don't want a make BOARD=some-board -C some/app to ask for a password to unlock a GPG key. That is more than confusing on a desktop machine and a real pain on a headless device.

Hence, this adds the mandatory part of GITAMFLAGS with a += rather than a ?=.

Testing procedure

E.g. remove pkg/arduino_api from your $(BUILD_DIR), run make BOARD=nucleo-f767zi -C tests/pkg/arduino_sdi_12 -j. Then inside $(BUILD_DIR)/pkg/arduino_api run git verify-commit HEAD.

In master, this will state a valid signature, with this PR it will fail due to absense of a signature.

Issues/PRs references

None

We really don't want a `make BOARD=some-board -C some/app` to ask for
a password to unlock a GPG key. That is more than confusing on a
desktop machine and a real pain on a headless device.

(cherry picked from commit 3b2ac0c)
@maribu maribu added Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Nov 15, 2025
@maribu maribu requested a review from crasbe November 15, 2025 21:08
@github-actions github-actions bot added the Area: pkg Area: External package ports label Nov 15, 2025
@maribu
Copy link
Copy Markdown
Member Author

maribu commented Nov 15, 2025

This one is not super critical. But it can cause local testing for the release to get stuck / fail on when applying patching to the git repo of package is asking for unlocking the GPG key.

@maribu maribu enabled auto-merge November 15, 2025 21:10
@riot-ci
Copy link
Copy Markdown

riot-ci commented Nov 15, 2025

Murdock results

✔️ PASSED

b8f468a pkg: Always add mandatory GITAMFLAGS

Success Failures Total Runtime
10560 0 10560 11m:58s

Artifacts

@maribu maribu added this pull request to the merge queue Nov 15, 2025
Merged via the queue into RIOT-OS:2025.10-branch with commit 511c294 Nov 15, 2025
30 checks passed
@benpicco benpicco added this to the Release 2025.10 milestone Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system Area: pkg Area: External package ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants