- also process udev triggers for tpmrm subsystem, otherwise /dev/tpmrm0 isn't

properly updated (at least on SLES-12-SP4)

OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=70
This commit is contained in:
Matthias Gerstner 2018-09-18 09:05:11 +00:00 committed by Git OBS Bridge
parent dcaf845187
commit 41614edfb3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 18 09:04:31 UTC 2018 - matthias.gerstner@suse.com
- also process udev triggers for tpmrm subsystem, otherwise /dev/tpmrm0 isn't
properly updated (at least on SLES-12-SP4)
-------------------------------------------------------------------
Thu Jul 5 15:40:23 UTC 2018 - matthias.gerstner@suse.com

View File

@ -142,7 +142,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
mv %{buildroot}%{_udevrulesdir}/tpm-udev.rules %{buildroot}%{_udevrulesdir}/%{udev_rule_file}
%post
%_bindir/udevadm trigger -s tpm || :
%_bindir/udevadm trigger -s tpm -s tpmrm || :
%post -n libtss2-esys0 -p /sbin/ldconfig
%postun -n libtss2-esys0 -p /sbin/ldconfig