Use -force when adding pkcs11 modules to our nss database.
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
11a11c6946
commit
e8506b8f23
@ -88,9 +88,9 @@ rm -rf %{buildroot}/boot %{buildroot}/usr/include
|
||||
rm -rf %{buildroot}%{_libdir}/libdpe*
|
||||
mv rh-test-certs/etc/pki/pesign/* %{buildroot}/etc/pki/pesign/
|
||||
|
||||
modutil -dbdir /etc/pki/pesign -add coolkey \
|
||||
-libfile %{_libdir}pkcs11/libcoolkeypk11.so
|
||||
modutil -dbdir /etc/pki/pesign -add opensc \
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user