From 277c4290c39eea00efdb1089f2a687a9a9af468a Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 21 Oct 2024 13:51:25 +0300 Subject: [PATCH] Fix certs --- SPECS/kmod-anbox.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPECS/kmod-anbox.spec b/SPECS/kmod-anbox.spec index d979ebd..1ad59a8 100644 --- a/SPECS/kmod-anbox.spec +++ b/SPECS/kmod-anbox.spec @@ -107,8 +107,8 @@ find %{buildroot} -name \*.ko -type f | xargs --no-run-if-empty %{__strip} --str # Sign the modules(s) %if %{?_with_modsign:1}%{!?_with_modsign:0} # If the module signing keys are not defined, define them here. - %{!?privkey: %define privkey %{_sysconfdir}/pki/SECURE-BOOT-KEY.priv} - %{!?pubkey: %define pubkey %{_sysconfdir}/pki/SECURE-BOOT-KEY.der} + %{!?privkey: %define privkey %{_sysconfdir}/pki/kmod/msvsphere_kmod.priv} + %{!?pubkey: %define pubkey %{_sysconfdir}/pki/kmod/msvsphere_kmod.pem} for module in $(find %{buildroot} -type f -name \*.ko); do %{_usrsrc}/kernels/%{kmod_kernel_version}.%{_arch}/scripts/sign-file \ sha256 %{privkey} %{pubkey} $module;