From 7f163d7465e24c6542ac1aa94dab0b15200e634c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Fri, 19 Oct 2012 19:56:45 -0400 Subject: [PATCH] Yeah, modutil here didn't work. + modutil -force -dbdir /builddir/build/BUILDROOT/pesign-0.99-8.fc18.x86_64/etc/pki/pesign -add coolkey -libfile /usr/lib64/pkcs11/libcoolkeypk11.so ERROR: Failed to add module "coolkey". Probable cause : "A PKCS #11 module returned CKR_GENERAL_ERROR, indicating that an unrecoverable error has occurred.". So who knows. Signed-off-by: Peter Jones --- pesign.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pesign.spec b/pesign.spec index 7a7d2bd..61b5969 100644 --- a/pesign.spec +++ b/pesign.spec @@ -88,10 +88,10 @@ rm -rf %{buildroot}/boot %{buildroot}/usr/include rm -rf %{buildroot}%{_libdir}/libdpe* mv rh-test-certs/etc/pki/pesign/* %{buildroot}/etc/pki/pesign/ -modutil -force -dbdir %{buildroot}/etc/pki/pesign -add coolkey \ - -libfile %{_libdir}/pkcs11/libcoolkeypk11.so -modutil -force -dbdir %{buildroot}/etc/pki/pesign -add opensc \ - -libfile %{_libdir}/pkcs11/opensc-pkcs11.so +#modutil -force -dbdir %{buildroot}/etc/pki/pesign -add coolkey \ +# -libfile %{_libdir}/pkcs11/libcoolkeypk11.so +#modutil -force -dbdir %{buildroot}/etc/pki/pesign -add opensc \ +# -libfile %{_libdir}/pkcs11/opensc-pkcs11.so %clean rm -rf %{buildroot}