app-crypt/sbsigntools: Sync with Gentoo

It's from Gentoo commit beec7edf04cb421f8559fdbfd8edf5a409002e82.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-03-23 07:31:41 +00:00
parent 1131cc2917
commit 684ea8a9ed
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,13 @@
Based on https://src.fedoraproject.org/rpms/sbsigntools/c/bd31748bedce0f3c8ff3b62edcd1171a26c68a9d?branch=rawhide
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -18,7 +18,7 @@ if TEST_BINARY_FORMAT
EFILDFLAGS = --defsym=EFI_SUBSYSTEM=0x0a
FORMAT = -O binary
else
-FORMAT = --target=efi-app-$(EFI_ARCH)
+FORMAT = --output-target=efi-app-$(EFI_ARCH)
endif
check_DATA = $(test_key) $(test_cert)
check_SCRIPTS = test-wrapper.sh

View File

@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -36,6 +36,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-0.9.4-no-werror.patch
"${FILESDIR}"/${PN}-0.9.5-binutils-2.46.patch
)
src_prepare() {