Перейти к основному контенту

Please enter the password for the PKCS#11 token PIV_II

toolbox create && toolbox enter
sudo dnf install -y rpmdevtools
rpmdev-setuptree
mkdir -p ~/rpmbuild/SPECS
sudo nano ~/rpmbuild/SPECS/fffix.spec

Name:           fffix
Version:        0.0.1
Release:        1%{?dist}
Summary:        Fixes Firefox

License:        BSD
URL:            None

Requires:       opensc

%description

%prep

%build

%install

%files

%post
echo "disable-in: firefox thunderbird" > %{_prefix}/share/p11-kit/modules/opensc.module

%changelog
* Sat Mar 26 2022 Jonathan Dickinson
-

cd ~/rpmbuild/SPECS
rpmbuild -bb fffix.spec
sudo rpm-ostree install ~/rpmbuild/RPMS/fffix-*.rpm
reboot