[why] the name of *.cgz packages append the field of 'pkgrel'. The example is as follow:
/srv/initrd/build-pkg/nfs/openeuler/aarch64/20.03-SP1/log4cpp/1.1.3-2.cgz
Signed-off-by: Liu Shaofei 370072077@qq.com --- tests/build-pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/build-pkg b/tests/build-pkg index 436d43840..98341e7ac 100755 --- a/tests/build-pkg +++ b/tests/build-pkg @@ -95,11 +95,11 @@ create_cgz_name() pkg_args="-A --check --skippgpcheck"
[ -n "$git_tag" ] && { - cgz_name="${cgz_path}/${git_tag}.cgz" + cgz_name="${cgz_path}/${git_tag}-${pkgrel}.cgz" }
[ -n "$pkg_ver" ] && { - cgz_name="${cgz_path}/${pkg_ver}.cgz" + cgz_name="${cgz_path}/${pkg_ver}-${pkgrel}.cgz" pkg_args="${pkg_args} --skipchecksums --skipinteg" } }