Actions
Bug #43895
closedceph --version gives external git reference as ceph version.
% Done:
0%
Description
When makinging the ceph orig tar.gz ceph uses a git reference external to the ceph source tree.
This occurs because of the recursive check to / in cmake/modules/GetGitRevisionDescription.cmake get_git_head_revision searching for a .git directory.
I have added a patch that will provide a fix by stopping at $CMAKE_SOURCE_DIR.
This patch has worked successfully for me on x86_64 and aarch64 (and armv7).
It was created and tested on 1.4.2.6 (ceph_14.2.6.orig.tar.gz)
Files
Updated by Nathan Cutler about 4 years ago
- Status changed from New to In Progress
- Assignee set to Nathan Cutler
- Pull request ID set to 34369
@Tony - your patch looks good to me. I opened it as GitHub PR https://github.com/ceph/ceph/pull/34369 so it can be reviewed.
Updated by Kefu Chai about 4 years ago
- Status changed from In Progress to Resolved
Actions