Files
gentoo/sys-cluster/ceph/files/ceph-17.2.0-osd_class_dir.patch
Patrick McLean 5ae443701f sys-cluster/ceph: Fix rados-classes path (bug #842822)
With newer versions of cmake, CMAKE_INSTALL_LIBDIR is no longer an
absolute path. This made the search path for the rados-classes be a
relative path, which did not work. Switch to using
CMAKE_INSTALL_FULL_LIBDIR instead.

Closes: https://bugs.gentoo.org/842822
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
2022-05-05 15:51:36 -07:00

14 lines
486 B
Diff

diff --git a/src/common/options/osd.yaml.in b/src/common/options/osd.yaml.in
index 8360e4a9223..e176fd37e06 100644
--- a/src/common/options/osd.yaml.in
+++ b/src/common/options/osd.yaml.in
@@ -451,7 +451,7 @@ options:
- name: osd_class_dir
type: str
level: advanced
- default: @CMAKE_INSTALL_LIBDIR@/rados-classes
+ default: @CMAKE_INSTALL_FULL_LIBDIR@/rados-classes
fmt_desc: The class path for RADOS class plug-ins.
with_legacy: true
- name: osd_open_classes_on_start