2.35.1-4: enable fstrim.timer when upgrading
During upgrades of Fedora 30/31 to 32/33, enable fstrim.timer per the new vendor preset so they're the same as a clean install. Addresses: https://fedoraproject.org/wiki/Changes/EnableFSTrimTimer Addresses: https://pagure.io/fesco/issue/2309
This commit is contained in:
parent
2831759869
commit
20ae04497c
@ -2,7 +2,7 @@
|
|||||||
Summary: A collection of basic system utilities
|
Summary: A collection of basic system utilities
|
||||||
Name: util-linux
|
Name: util-linux
|
||||||
Version: 2.35.1
|
Version: 2.35.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
||||||
URL: http://en.wikipedia.org/wiki/Util-linux
|
URL: http://en.wikipedia.org/wiki/Util-linux
|
||||||
|
|
||||||
@ -483,6 +483,8 @@ fi
|
|||||||
%postun -n uuidd
|
%postun -n uuidd
|
||||||
%systemd_postun_with_restart uuidd.service
|
%systemd_postun_with_restart uuidd.service
|
||||||
|
|
||||||
|
%triggerpostun -- fedora-release < 32
|
||||||
|
%systemd_post fstrim.timer
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%doc README NEWS AUTHORS
|
%doc README NEWS AUTHORS
|
||||||
@ -932,6 +934,9 @@ fi
|
|||||||
%{_libdir}/python*/site-packages/libmount/
|
%{_libdir}/python*/site-packages/libmount/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 06 2020 Karel Zak <kzak@redhat.com> - 2.35.1-4
|
||||||
|
- add triggerpostun for fstrim.timer (#1785041, FESCo #2309)
|
||||||
|
|
||||||
* Tue Feb 04 2020 Karel Zak <kzak@redhat.com> - 2.35.1-3
|
* Tue Feb 04 2020 Karel Zak <kzak@redhat.com> - 2.35.1-3
|
||||||
- fix fstrim.service (util-linux github #948)
|
- fix fstrim.service (util-linux github #948)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user