Skip to content

Conversation

@ynezz
Copy link
Member

@ynezz ynezz commented Dec 13, 2025

Signing steps are currently skipped if only APK signing is configured, because phase2 effectively enables signing only when usign is present.

Fix this by making IsSignEnabled explicitly cover APK signing too.

While at it, refactor the signing checks into dedicated helper functions IsUsignEnabled, IsApkSigningEnabled, and IsGpgSigningEnabled, and use them consistently to align phase2 with the phase1 implementation.

Signing steps are currently skipped if only APK signing is configured,
because phase2 effectively enables signing only when `usign` is present.

Fix this by making `IsSignEnabled` explicitly cover APK signing too.

While at it, refactor the signing checks into dedicated helper functions
`IsUsignEnabled`, `IsApkSigningEnabled`, and `IsGpgSigningEnabled`, and
use them consistently to align phase2 with the phase1 implementation.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
@ynezz ynezz force-pushed the ynezz/fix-p2-signing branch from c36a103 to b0a3bf3 Compare December 13, 2025 08:19
@ynezz
Copy link
Member Author

ynezz commented Dec 13, 2025

@openwrt-bot openwrt-bot merged commit b0a3bf3 into openwrt:main Dec 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants