!110 bugfix on rasdaemon.service
From: @renxichen Reviewed-by: @gaoruoshu Signed-off-by: @gaoruoshu
This commit is contained in:
commit
8aa29a9a70
@ -1,6 +1,6 @@
|
|||||||
Name: rasdaemon
|
Name: rasdaemon
|
||||||
Version: 0.6.8
|
Version: 0.6.8
|
||||||
Release: 5
|
Release: 6
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events
|
Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events
|
||||||
URL: https://github.com/mchehab/rasdaemon.git
|
URL: https://github.com/mchehab/rasdaemon.git
|
||||||
@ -86,8 +86,21 @@ rm INSTALL %{buildroot}/usr/include/*.h
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
/usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || :
|
/usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || :
|
||||||
|
if [ $1 -eq 2 ] ; then
|
||||||
|
/usr/bin/systemctl try-restart rasdaemon.service >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%preun
|
||||||
|
/usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 01 2023 renhongxun <renhongxun@h-partners.com> - 0.6.8-6
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:clear the link to rasdaemon.service when uninstalling rasdaemon
|
||||||
|
and ensure rasdaemon restart once be upgraded
|
||||||
|
|
||||||
* Sat Jun 17 2023 yanglongkang <yanglongkang@h-partners.com> - 0.6.8-5
|
* Sat Jun 17 2023 yanglongkang <yanglongkang@h-partners.com> - 0.6.8-5
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user