已开启
delete sysconfig/symonitor while uninstall #29
wxm创建于 2024年11月19日
delete sysconfig/symonitor while uninstall #29
已开启
从refs/pull/29/head合入到master
共 2 个文件变更+7-2
| @@ -92,7 +92,7 @@ index e5af612..4943c8f 100644 | |||
| 92 | +install(FILES ../service/sysmonitor.service DESTINATION ${SYSTEMD_SERVICEDIR}) | 92 | +install(FILES ../service/sysmonitor.service DESTINATION ${SYSTEMD_SERVICEDIR}) |
| 93 | + | 93 | + |
| 94 | +add_custom_target(uninstall | 94 | +add_custom_target(uninstall |
| 95 | -+ COMMAND rm -rf /etc/sysmonitor /usr/libexec/sysmonitor /etc/rsyslog.d/sysmonitor.conf /etc/sysmonitor.d/ | 95 | ++ COMMAND rm -rf /etc/sysmonitor ${CMAKE_INSTALL_SYSCONFDIR}/sysconfig/sysmonitor /usr/libexec/sysmonitor /etc/rsyslog.d/sysmonitor.conf /etc/sysmonitor.d/ |
| 96 | + COMMAND rm -rf /usr/lib/systemd/system/sysmonitor.service | 96 | + COMMAND rm -rf /usr/lib/systemd/system/sysmonitor.service |
| 97 | + COMMAND rm -rf /usr/sbin/iomonitor_daemon /usr/bin/sysmonitor | 97 | + COMMAND rm -rf /usr/sbin/iomonitor_daemon /usr/bin/sysmonitor |
| 98 | + COMMENT "Uninstall sysmonitor" | 98 | + COMMENT "Uninstall sysmonitor" |
| @@ -7,7 +7,7 @@ | |||
| 7 | 7 | ||
| 8 | %define kmod_name sysmonitor | 8 | %define kmod_name sysmonitor |
| 9 | %define version 1.3.2 | 9 | %define version 1.3.2 |
| 10 | -%define releaseversion 1.7 | 10 | +%define releaseversion 1.8 |
| 11 | Summary: System Monitor Daemon | 11 | Summary: System Monitor Daemon |
| 12 | Name: %{kmod_name}-kmod | 12 | Name: %{kmod_name}-kmod |
| 13 | Version: %{version} | 13 | Version: %{version} |
| @@ -174,6 +174,11 @@ systemctl daemon-reload 2>/dev/null 1>/dev/null | |||
| 174 | /usr/lib/systemd/system/multi-user.target.wants/sysmonitor.service | 174 | /usr/lib/systemd/system/multi-user.target.wants/sysmonitor.service |
| 175 | 175 | ||
| 176 | %changelog | 176 | %changelog |
| 177 | +* Tue Nov 19 2024 wangxiaomeng <wangxiaomeng@kylinos.cn> - 1.3.2-1.8 | ||
| 178 | +- Type:bugfix | ||
| 179 | +- CVE:NA | ||
| 180 | +- DESC:delete sysconfig/symonitor while uninstall | ||
| 181 | + | ||
| 177 | * Sun Sep 22 2024 guo-zhicheng666<1678717630@qq.com> - 1.3.2-1.7 | 182 | * Sun Sep 22 2024 guo-zhicheng666<1678717630@qq.com> - 1.3.2-1.7 |
| 178 | - Type:bugfix | 183 | - Type:bugfix |
| 179 | - CVE:NA | 184 | - CVE:NA |