!120 fix rasdaemon disable service after upgrade
From: @pshysimon Reviewed-by: @lvying6 Signed-off-by: @lvying6
This commit is contained in:
commit
6c63ac4744
@ -1,6 +1,6 @@
|
|||||||
Name: rasdaemon
|
Name: rasdaemon
|
||||||
Version: 0.6.7
|
Version: 0.6.7
|
||||||
Release: 16
|
Release: 17
|
||||||
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
|
||||||
@ -103,9 +103,17 @@ if [ $1 -eq 2 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
/usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || :
|
if [ $1 -eq 0 ] ; then
|
||||||
|
/usr/bin/systemctl disable rasdaemon.service >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 28 2023 caixiaomeng <caixiaomeng2@huawei.com> - 0.6.7-17
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: fix rasdaemon disable service after upgrade
|
||||||
|
|
||||||
* Wed Dec 20 2023 caixiaomeng <caixiaomeng2@huawei.com> - 0.6.7-16
|
* Wed Dec 20 2023 caixiaomeng <caixiaomeng2@huawei.com> - 0.6.7-16
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user