!125 isula-build:use pre instead of pretrans for groupadd

From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
This commit is contained in:
openeuler-ci-bot 2021-10-14 02:52:37 +00:00 committed by Gitee
commit 89673a767a
3 changed files with 10 additions and 4 deletions

View File

@ -1 +1 @@
0.9.5-12
0.9.5-13

View File

@ -1 +1 @@
9d87e2bf8f9cdced75d00a2931d98acba35fd355
8742b763287fdb565d6044154318a2447bad171f

View File

@ -2,7 +2,7 @@
Name: isula-build
Version: 0.9.5
Release: 12
Release: 13
Summary: A tool to build container images
License: Mulan PSL V2
URL: https://gitee.com/openeuler/isula-build
@ -63,7 +63,7 @@ install -p -m 600 __isula-build %{buildroot}/usr/share/bash-completion/completio
%clean
rm -rf %{buildroot}
%pretrans
%pre
if ! getent group isula > /dev/null; then
groupadd --system isula
fi
@ -85,6 +85,12 @@ fi
/usr/share/bash-completion/completions/isula-build
%changelog
* Thu Oct 14 2021 DCCooper <1866858@gmail.com> - 0.9.5-13
- Type:bugfix
- CVE:NA
- SUG:restart
- DESC:use pre instead of pretrans for groupadd
* Fri Sep 03 2021 xingweizheng <xingweizheng@huawei.com> - 0.9.5-12
- Type:bugfix
- CVE:NA