Accepting request 636378 from security

- 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/request/show/636378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2-0-tss?expand=0&rev=13
This commit is contained in:
Yuchen Lin 2018-09-19 12:30:22 +00:00 committed by Git OBS Bridge
commit a032a0c880
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