!210 ima digest list ebs sign ret 2 when errmsg is SIGN_PERMISSION_DENIED

From: @zgzxx 
Reviewed-by: @HuaxinLuGitee, @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2024-04-09 02:53:11 +00:00 committed by Gitee
commit 3dba8f6fc2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 2 deletions

View File

@ -309,7 +309,7 @@ index 0000000..a7a83e5
+ break; + break;
+ elif [ $ret_sign -eq $FAILED_SIGN_PERMISSION_DENIED ]; then + elif [ $ret_sign -eq $FAILED_SIGN_PERMISSION_DENIED ]; then
+ echo "Failed to sign file, permission denied" + echo "Failed to sign file, permission denied"
+ SIGN_RESULT=1 + SIGN_RESULT=$FAILED_SIGN_PERMISSION_DENIED
+ break; + break;
+ elif [ $i -ne $CONFIG_RETEST_COUNT ]; then + elif [ $i -ne $CONFIG_RETEST_COUNT ]; then
+ echo "Failed to sign file, try again" + echo "Failed to sign file, try again"

View File

@ -3,7 +3,7 @@
Name: %{vendor}-rpm-config Name: %{vendor}-rpm-config
Version: 30 Version: 30
Release: 53 Release: 54
License: GPL+ License: GPL+
Summary: specific rpm configuration files Summary: specific rpm configuration files
URL: https://gitee.com/openeuler/openEuler-rpm-config URL: https://gitee.com/openeuler/openEuler-rpm-config
@ -149,6 +149,9 @@ sed -i "s/__vendor/%{vendor}/g" `grep "__vendor" -rl %{buildroot}%{_rpmconfigdir
%{rpmvdir}/find-requires.ksyms %{rpmvdir}/find-requires.ksyms
%changelog %changelog
* Sun Apr 7 2024 zhangguangzhi <zhangguangzhi3@huawei.com> - 30-54
- ima digest list ebs sign ret 2 when errmsg is SIGN_PERMISSION_DENIED
* Fri Mar 29 2024 zhangguangzhi <zhangguangzhi3@huawei.com> - 30-53 * Fri Mar 29 2024 zhangguangzhi <zhangguangzhi3@huawei.com> - 30-53
- ima digest list ebs sign use file path and check errmsg - ima digest list ebs sign use file path and check errmsg