From 89fbb8a3a8d47f246a115039b55ae576999cdb25 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 21 Oct 2024 12:34:27 +0300 Subject: [PATCH] Fix certs --- SPECS/kmod-usbip.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPECS/kmod-usbip.spec b/SPECS/kmod-usbip.spec index c16ef66..8572b6c 100644 --- a/SPECS/kmod-usbip.spec +++ b/SPECS/kmod-usbip.spec @@ -100,8 +100,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;