Skip to content

pesign-rpmbuild-helper: fix la64 arch mapping - #142

Open
Blarse wants to merge 1 commit into
rhboot:mainfrom
Blarse:fix-la64-arch-mapping-pr
Open

Blarse wants to merge 1 commit into
rhboot:mainfrom
Blarse:fix-la64-arch-mapping-pr

Conversation

@Blarse

@Blarse Blarse commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

The trailing slash in the ${var/pattern/replacement} expansion is part of the replacement, so loongarch64 was mapped to "la64/" and never matched EFI_ARCHES. As a result, %pesign silently skipped signing on loongarch64 (or failed in in-place mode). Fix the same typo for arm.

Fixes: dab7c0d ("Add loongarch64 (la64) EFI support")

The trailing slash in the ${var/pattern/replacement} expansion is part of
the replacement, so loongarch64 was mapped to "la64/" and never matched
EFI_ARCHES. As a result, %pesign silently skipped signing on loongarch64
(or failed in in-place mode). Fix the same typo for arm.

Fixes: dab7c0d ("Add loongarch64 (la64) EFI support")
Signed-off-by: Egor Ignatov <egori@altlinux.org>
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.

1 participant