mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
buildpackages: use _get_version instead of os_version
os_version is from the remote and will be 7.1.23 for CentOS 7 instead of the expected 7.0 for all 7.* CentOS. Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
parent
0446645de8
commit
56a6e0c356
@ -188,7 +188,9 @@ def task(ctx, config):
|
||||
" CEPH_GIT_URL=" + teuth_config.get_ceph_git_url() +
|
||||
" CEPH_PKG_TYPE=" + gitbuilder.pkg_type +
|
||||
" CEPH_OS_TYPE=" + gitbuilder.os_type +
|
||||
" CEPH_OS_VERSION=" + gitbuilder.os_version +
|
||||
# os_version is from the remote and will be 7.1.23 for CentOS 7
|
||||
# instead of the expected 7.0 for all 7.* CentOS
|
||||
" CEPH_OS_VERSION=" + gitbuilder._get_version() +
|
||||
" CEPH_DIST=" + gitbuilder.distro +
|
||||
" CEPH_ARCH=" + gitbuilder.arch +
|
||||
" CEPH_SHA1=" + sha1 +
|
||||
|
Loading…
Reference in New Issue
Block a user