!287 fix the problem that isula-build service did not stop after it was removed
From: @daishitou Reviewed-by: @jingxiaolu, @Vanient Signed-off-by: @jingxiaolu
This commit is contained in:
commit
143888b91c
@ -1 +1 @@
|
||||
0.9.6-18
|
||||
0.9.6-20
|
||||
|
||||
@ -1 +1 @@
|
||||
37aa4197d30b2780332cd40479f3231a775b212f
|
||||
95b999499ce3a99101bab07e03a95e8eaf792288
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
Name: isula-build
|
||||
Version: 0.9.6
|
||||
Release: 19
|
||||
Release: 20
|
||||
Summary: A tool to build container images
|
||||
License: Mulan PSL V2
|
||||
URL: https://gitee.com/openeuler/isula-build
|
||||
@ -75,6 +75,16 @@ if ! getent group isula > /dev/null; then
|
||||
groupadd --system isula
|
||||
fi
|
||||
|
||||
%preun
|
||||
%if 0%{?is_systemd}
|
||||
%systemd_preun isula-build
|
||||
%else
|
||||
if [ $1 -eq 0 ] ; then
|
||||
/sbin/service isula-build stop >/dev/null 2>&1
|
||||
/sbin/chkconfig --del isula-build
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
# default perm for files and folder
|
||||
%defattr(0640,root,root,0550)
|
||||
@ -92,6 +102,12 @@ fi
|
||||
/usr/share/bash-completion/completions/isula-build
|
||||
|
||||
%changelog
|
||||
* Tue Dec 26 2023 daisicheng <daisicheng@huawei.com> - 0.9.6-20
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
- SUG:NA
|
||||
- DESC:fix the problem that isula-build service did not stop after it removed
|
||||
|
||||
* Wed Mar 15 2023 laokz <zhangkai@iscas.ac.cn> - 0.9.6-19
|
||||
- Type:enhancement
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user