diff options
Diffstat (limited to 'recipes-extended/ceph')
-rw-r--r-- | recipes-extended/ceph/ceph/0001-cepth-node-proxy-specify-entrypoint-executable.patch | 27 | ||||
-rw-r--r-- | recipes-extended/ceph/ceph/0001-common-dout-fix-FTBFS-on-GCC-14.patch | 146 | ||||
-rw-r--r-- | recipes-extended/ceph/ceph/0001-rados-setup.py-allow-incompatible-pointer-types.patch | 28 | ||||
-rw-r--r-- | recipes-extended/ceph/ceph/0001-rgw-setup.py-allow-incompatible-pointer-types.patch | 28 | ||||
-rw-r--r-- | recipes-extended/ceph/ceph_git.bb (renamed from recipes-extended/ceph/ceph_18.2.2.bb) | 37 |
5 files changed, 257 insertions, 9 deletions
diff --git a/recipes-extended/ceph/ceph/0001-cepth-node-proxy-specify-entrypoint-executable.patch b/recipes-extended/ceph/ceph/0001-cepth-node-proxy-specify-entrypoint-executable.patch new file mode 100644 index 00000000..a4135fd1 --- /dev/null +++ b/recipes-extended/ceph/ceph/0001-cepth-node-proxy-specify-entrypoint-executable.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From cd7b184bad23a3a80f2ccf8acc7662d0079282d3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Mon, 22 Jul 2024 20:02:12 +0000 | ||
4 | Subject: [PATCH] cepth-node-proxy: specify entrypoint executable | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe specific] | ||
7 | |||
8 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
9 | --- | ||
10 | src/ceph-node-proxy/setup.py | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/src/ceph-node-proxy/setup.py b/src/ceph-node-proxy/setup.py | ||
14 | index 7dcc7cdf5bf..f137c2e4307 100644 | ||
15 | --- a/src/ceph-node-proxy/setup.py | ||
16 | +++ b/src/ceph-node-proxy/setup.py | ||
17 | @@ -25,6 +25,7 @@ setup( | ||
18 | entry_points=dict( | ||
19 | console_scripts=[ | ||
20 | 'ceph-node-proxy = ceph_node_proxy.main:main', | ||
21 | + 'executable': 'python3', | ||
22 | ], | ||
23 | ), | ||
24 | classifiers=[ | ||
25 | -- | ||
26 | 2.39.2 | ||
27 | |||
diff --git a/recipes-extended/ceph/ceph/0001-common-dout-fix-FTBFS-on-GCC-14.patch b/recipes-extended/ceph/ceph/0001-common-dout-fix-FTBFS-on-GCC-14.patch new file mode 100644 index 00000000..263bcf70 --- /dev/null +++ b/recipes-extended/ceph/ceph/0001-common-dout-fix-FTBFS-on-GCC-14.patch | |||
@@ -0,0 +1,146 @@ | |||
1 | From 0eace4ea9ea42412d4d6a16d24a8660642e41173 Mon Sep 17 00:00:00 2001 | ||
2 | From: Radoslaw Zarzynski <rzarzyns@redhat.com> | ||
3 | Date: Wed, 24 Jan 2024 17:22:44 +0000 | ||
4 | Subject: [PATCH] common/dout: fix FTBFS on GCC 14 | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | The following problem has been reported by Kaleb Keithley: | ||
10 | |||
11 | ``` | ||
12 | /builddir/build/BUILD/ceph-18.2.1/src/osd/osd_types.h: In lambda function: | ||
13 | /builddir/build/BUILD/ceph-18.2.1/src/common/dout.h:184:73: error: call to non-‘constexpr’ function ‘virtual unsigned int DoutPrefixProvider::get_subsys() const’ | ||
14 | 184 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ||
15 | | ~~~~~~~~~~~~~~~~^~ | ||
16 | /builddir/build/BUILD/ceph-18.2.1/src/common/dout.h:155:58: note: in definition of macro ‘dout_impl’ | ||
17 | 155 | return (cctX->_conf->subsys.template should_gather<sub, v>()); \ | ||
18 | | ^~~ | ||
19 | /builddir/build/BUILD/ceph-18.2.1/src/osd/osd_types.h:3617:3: note: in expansion of macro ‘ldpp_dout’ | ||
20 | 3617 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ||
21 | | ^~~~~~~~~ | ||
22 | ``` | ||
23 | |||
24 | For details of the problem and the idea behind the fix, | ||
25 | please refer to the comment this commit brings to `dout.h`. | ||
26 | |||
27 | The minimized replicator that the facilitated Goldbot-based | ||
28 | investigation: | ||
29 | |||
30 | ```cpp | ||
31 | namespace ceph::dout { | ||
32 | |||
33 | template<typename T> | ||
34 | struct dynamic_marker_t { | ||
35 | T value; | ||
36 | // constexpr ctor isn't needed as it's an aggregate type | ||
37 | constexpr operator T() const { return value; } | ||
38 | }; | ||
39 | |||
40 | template<typename T> | ||
41 | constexpr dynamic_marker_t<T> need_dynamic(T&& t) { | ||
42 | return dynamic_marker_t<T>{ std::forward<T>(t) }; | ||
43 | } | ||
44 | |||
45 | template<typename T> | ||
46 | struct is_dynamic : public std::false_type {}; | ||
47 | |||
48 | template<typename T> | ||
49 | struct is_dynamic<dynamic_marker_t<T>> : public std::true_type {}; | ||
50 | |||
51 | } // ceph::dout | ||
52 | |||
53 | struct subsys_t { | ||
54 | template <unsigned SubV, int LvlV> | ||
55 | bool should_gather() const { | ||
56 | return true; | ||
57 | } | ||
58 | bool should_gather(const unsigned sub, int level) const { | ||
59 | return false; | ||
60 | } | ||
61 | }; | ||
62 | |||
63 | static subsys_t subsys; | ||
64 | |||
65 | do { \ | ||
66 | const bool should_gather = [&](const auto cctX) { \ | ||
67 | if constexpr (ceph::dout::is_dynamic<decltype(sub)>::value || \ | ||
68 | ceph::dout::is_dynamic<decltype(v)>::value) { \ | ||
69 | std::cout << "the dynamic path" << std::endl; \ | ||
70 | return subsys.should_gather(sub, v); \ | ||
71 | } else { \ | ||
72 | /* The parentheses are **essential** because commas in angle \ | ||
73 | * brackets are NOT ignored on macro expansion! A language's \ | ||
74 | * limitation, sorry. */ \ | ||
75 | std::cout << "the static path" << std::endl; \ | ||
76 | /*return subsys.should_gather(sub, v);*/ \ | ||
77 | return (subsys.template should_gather<sub, v>()); \ | ||
78 | } \ | ||
79 | }(cct); \ | ||
80 | } while (0) | ||
81 | |||
82 | if (decltype(auto) pdpp = (dpp); pdpp) /* workaround -Wnonnull-compare for 'this' */ \ | ||
83 | dout_impl(42, sub, v) | ||
84 | |||
85 | if (decltype(auto) pdpp = (dpp); pdpp) /* workaround -Wnonnull-compare for 'this' */ \ | ||
86 | dout_impl(42, ceph::dout::need_dynamic(42), v) | ||
87 | |||
88 | int main() { | ||
89 | std::random_device dev; | ||
90 | std::mt19937 rng(dev()); | ||
91 | std::uniform_int_distribution<std::mt19937::result_type> dist6(1,6); // distribution in range [1, 6] | ||
92 | |||
93 | int sub = dist6(rng); | ||
94 | ldpp_dout("mocked out", sub); | ||
95 | //ldpp_subdout("mocked out", 4, 3); | ||
96 | } | ||
97 | ``` | ||
98 | |||
99 | Upstream-Status: Backport [commit 0eace4ea9ea42412d4d6a16d24a8660642e41173] | ||
100 | |||
101 | Fixes: https://tracker.ceph.com/issues/64050 | ||
102 | Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com> | ||
103 | --- | ||
104 | src/common/dout.h | 20 +++++++++++++++----- | ||
105 | 1 file changed, 15 insertions(+), 5 deletions(-) | ||
106 | |||
107 | diff --git a/src/common/dout.h b/src/common/dout.h | ||
108 | index 4cd60efff8f..6516060c543 100644 | ||
109 | --- a/src/common/dout.h | ||
110 | +++ b/src/common/dout.h | ||
111 | @@ -144,17 +144,27 @@ struct is_dynamic<dynamic_marker_t<T>> : public std::true_type {}; | ||
112 | #else | ||
113 | #define dout_impl(cct, sub, v) \ | ||
114 | do { \ | ||
115 | - const bool should_gather = [&](const auto cctX) { \ | ||
116 | - if constexpr (ceph::dout::is_dynamic<decltype(sub)>::value || \ | ||
117 | - ceph::dout::is_dynamic<decltype(v)>::value) { \ | ||
118 | + const bool should_gather = [&](const auto cctX, auto sub_, auto v_) { \ | ||
119 | + /* The check is performed on `sub_` and `v_` to leverage the C++'s \ | ||
120 | + * guarantee on _discarding_ one of blocks of `if constexpr`, which \ | ||
121 | + * includes also the checks for ill-formed code (`should_gather<>` \ | ||
122 | + * must not be feed with non-const expresions), BUT ONLY within \ | ||
123 | + * a template (thus the generic lambda) and under the restriction \ | ||
124 | + * it's dependant on a parameter of this template). \ | ||
125 | + * GCC prior to v14 was not enforcing these restrictions. */ \ | ||
126 | + if constexpr (ceph::dout::is_dynamic<decltype(sub_)>::value || \ | ||
127 | + ceph::dout::is_dynamic<decltype(v_)>::value) { \ | ||
128 | return cctX->_conf->subsys.should_gather(sub, v); \ | ||
129 | } else { \ | ||
130 | + constexpr auto sub_helper = static_cast<decltype(sub_)>(sub); \ | ||
131 | + constexpr auto v_helper = static_cast<decltype(v_)>(v); \ | ||
132 | /* The parentheses are **essential** because commas in angle \ | ||
133 | * brackets are NOT ignored on macro expansion! A language's \ | ||
134 | * limitation, sorry. */ \ | ||
135 | - return (cctX->_conf->subsys.template should_gather<sub, v>()); \ | ||
136 | + return (cctX->_conf->subsys.template should_gather<sub_helper, \ | ||
137 | + v_helper>()); \ | ||
138 | } \ | ||
139 | - }(cct); \ | ||
140 | + }(cct, sub, v); \ | ||
141 | \ | ||
142 | if (should_gather) { \ | ||
143 | ceph::logging::MutableEntry _dout_e(v, sub); \ | ||
144 | -- | ||
145 | 2.39.2 | ||
146 | |||
diff --git a/recipes-extended/ceph/ceph/0001-rados-setup.py-allow-incompatible-pointer-types.patch b/recipes-extended/ceph/ceph/0001-rados-setup.py-allow-incompatible-pointer-types.patch new file mode 100644 index 00000000..a67e45b5 --- /dev/null +++ b/recipes-extended/ceph/ceph/0001-rados-setup.py-allow-incompatible-pointer-types.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 1b64bc536a3ea47c39e631409c833e99820ae7c2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Mon, 22 Jul 2024 21:01:17 +0000 | ||
4 | Subject: [PATCH] rados: setup.py allow incompatible pointer types | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe specific] | ||
7 | |||
8 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
9 | --- | ||
10 | src/pybind/rados/setup.py | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/pybind/rados/setup.py b/src/pybind/rados/setup.py | ||
14 | index 74bf75b6ddc..87126ca8338 100755 | ||
15 | --- a/src/pybind/rados/setup.py | ||
16 | +++ b/src/pybind/rados/setup.py | ||
17 | @@ -30,7 +30,7 @@ def filter_unsupported_flags(compiler, flags): | ||
18 | f.startswith('-fcf-protection'), | ||
19 | flags)) | ||
20 | else: | ||
21 | - return flags | ||
22 | + return flags + [ "-Wno-error=incompatible-pointer-types" ] | ||
23 | |||
24 | |||
25 | def monkey_with_compiler(customize): | ||
26 | -- | ||
27 | 2.39.2 | ||
28 | |||
diff --git a/recipes-extended/ceph/ceph/0001-rgw-setup.py-allow-incompatible-pointer-types.patch b/recipes-extended/ceph/ceph/0001-rgw-setup.py-allow-incompatible-pointer-types.patch new file mode 100644 index 00000000..b21678a9 --- /dev/null +++ b/recipes-extended/ceph/ceph/0001-rgw-setup.py-allow-incompatible-pointer-types.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 84097fe398ee69172d4d9ae978ff0380fd6362cf Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Mon, 22 Jul 2024 20:43:50 +0000 | ||
4 | Subject: [PATCH] rgw: setup.py allow incompatible pointer types | ||
5 | |||
6 | Upstream-Status: Inappropriate [oe specific] | ||
7 | |||
8 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
9 | --- | ||
10 | src/pybind/rgw/setup.py | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/pybind/rgw/setup.py b/src/pybind/rgw/setup.py | ||
14 | index 74bf75b6ddc..87126ca8338 100755 | ||
15 | --- a/src/pybind/rgw/setup.py | ||
16 | +++ b/src/pybind/rgw/setup.py | ||
17 | @@ -30,7 +30,7 @@ def filter_unsupported_flags(compiler, flags): | ||
18 | f.startswith('-fcf-protection'), | ||
19 | flags)) | ||
20 | else: | ||
21 | - return flags | ||
22 | + return flags + [ "-Wno-error=incompatible-pointer-types" ] | ||
23 | |||
24 | |||
25 | def monkey_with_compiler(customize): | ||
26 | -- | ||
27 | 2.39.2 | ||
28 | |||
diff --git a/recipes-extended/ceph/ceph_18.2.2.bb b/recipes-extended/ceph/ceph_git.bb index e6c44188..2eaa335a 100644 --- a/recipes-extended/ceph/ceph_18.2.2.bb +++ b/recipes-extended/ceph/ceph_git.bb | |||
@@ -2,29 +2,35 @@ SUMMARY = "User space components of the Ceph file system" | |||
2 | LICENSE = "LGPL-2.1-only & GPL-2.0-only & Apache-2.0 & MIT" | 2 | LICENSE = "LGPL-2.1-only & GPL-2.0-only & Apache-2.0 & MIT" |
3 | LIC_FILES_CHKSUM = "file://COPYING-LGPL2.1;md5=fbc093901857fcd118f065f900982c24 \ | 3 | LIC_FILES_CHKSUM = "file://COPYING-LGPL2.1;md5=fbc093901857fcd118f065f900982c24 \ |
4 | file://COPYING-GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 4 | file://COPYING-GPL2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
5 | file://COPYING;md5=5351120989d78252e65dc1a2a92e3617 \ | 5 | file://COPYING;md5=bf502a28c9b8d6430c8952a583a2c896 \ |
6 | " | 6 | " |
7 | inherit cmake pkgconfig python3native python3-dir systemd useradd | 7 | inherit cmake pkgconfig python3native python3-dir systemd useradd |
8 | # Disable python pybind support for ceph temporary, when corss compiling pybind, | 8 | # Disable python pybind support for ceph temporary, when corss compiling pybind, |
9 | # pybind mix cmake and python setup environment, would case a lot of errors. | 9 | # pybind mix cmake and python setup environment, would case a lot of errors. |
10 | 10 | ||
11 | SRC_URI = "http://download.ceph.com/tarballs/ceph-${PV}.tar.gz \ | 11 | SRC_URI = "gitsm://github.com/ceph/ceph.git;protocol=https;branch=main \ |
12 | file://0001-fix-host-library-paths-were-used.patch \ | 12 | file://0001-fix-host-library-paths-were-used.patch \ |
13 | file://ceph.conf \ | 13 | file://ceph.conf \ |
14 | file://0001-avoid-to_string-error.patch \ | ||
15 | file://0001-delete-install-layout-deb.patch \ | 14 | file://0001-delete-install-layout-deb.patch \ |
16 | file://0001-cephadm-build.py-avoid-using-python3-from-sysroot-wh.patch \ | 15 | file://0001-cephadm-build.py-avoid-using-python3-from-sysroot-wh.patch \ |
17 | " | 16 | file://0001-cepth-node-proxy-specify-entrypoint-executable.patch \ |
17 | file://0001-rados-setup.py-allow-incompatible-pointer-types.patch \ | ||
18 | file://0001-rgw-setup.py-allow-incompatible-pointer-types.patch \ | ||
19 | " | ||
20 | |||
21 | SRCREV = "a53e858fd7cc6fd8c04f37d503ce9ed7080f2da6" | ||
22 | PV = "20.0.0+git" | ||
18 | 23 | ||
19 | SRC_URI[sha256sum] = "e70bb5246b4a5d7aa78eb548677a05cc21d0d47945ba2937fddc7511134ffb57" | 24 | S = "${WORKDIR}/git" |
20 | 25 | ||
21 | DEPENDS = "boost bzip2 curl cryptsetup expat gperf-native \ | 26 | DEPENDS = "boost bzip2 curl cryptsetup expat gperf-native \ |
22 | keyutils libaio libibverbs lua lz4 \ | 27 | keyutils libaio libibverbs lua lz4 \ |
23 | nspr nss ninja-native \ | 28 | nspr nss ninja-native \ |
24 | oath openldap openssl \ | 29 | oath openldap openssl \ |
25 | python3 python3-native python3-cython-native python3-pyyaml-native \ | 30 | python3 python3-native python3-cython-native python3-pyyaml-native \ |
26 | rabbitmq-c rocksdb snappy thrift udev \ | 31 | rabbitmq-c snappy thrift udev \ |
27 | valgrind xfsprogs zlib libgcc zstd re2 \ | 32 | valgrind xfsprogs zlib libgcc zstd re2 \ |
33 | lmdb autoconf-native automake-native \ | ||
28 | " | 34 | " |
29 | 35 | ||
30 | 36 | ||
@@ -52,6 +58,7 @@ SYSTEMD_SERVICE:${PN} = " \ | |||
52 | ceph-mgr@.service \ | 58 | ceph-mgr@.service \ |
53 | ceph-mgr.target \ | 59 | ceph-mgr.target \ |
54 | ceph-crash.service \ | 60 | ceph-crash.service \ |
61 | ceph-exporter.service \ | ||
55 | rbdmap.service \ | 62 | rbdmap.service \ |
56 | ceph-immutable-object-cache@.service \ | 63 | ceph-immutable-object-cache@.service \ |
57 | ceph-immutable-object-cache.target \ | 64 | ceph-immutable-object-cache.target \ |
@@ -71,16 +78,20 @@ EXTRA_OECMAKE += "-DWITH_MANPAGE=OFF \ | |||
71 | -DWITH_MGR=OFF \ | 78 | -DWITH_MGR=OFF \ |
72 | -DWITH_MGR_DASHBOARD_FRONTEND=OFF \ | 79 | -DWITH_MGR_DASHBOARD_FRONTEND=OFF \ |
73 | -DWITH_SYSTEM_BOOST=ON \ | 80 | -DWITH_SYSTEM_BOOST=ON \ |
74 | -DWITH_SYSTEM_ROCKSDB=ON \ | ||
75 | -DWITH_RDMA=OFF \ | 81 | -DWITH_RDMA=OFF \ |
82 | -DWITH_RBD=OFF \ | ||
83 | -DWITH_KRBD=OFF \ | ||
76 | -DWITH_RADOSGW_AMQP_ENDPOINT=OFF \ | 84 | -DWITH_RADOSGW_AMQP_ENDPOINT=OFF \ |
77 | -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \ | 85 | -DWITH_RADOSGW_KAFKA_ENDPOINT=OFF \ |
78 | -DWITH_REENTRANT_STRSIGNAL=ON \ | 86 | -DWITH_REENTRANT_STRSIGNAL=ON \ |
79 | -DWITH_PYTHON3=3.12 \ | 87 | -DWITH_PYTHON3=3.13 \ |
80 | -DPYTHON_DESIRED=3 \ | 88 | -DPYTHON_DESIRED=3 \ |
81 | -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${WORKDIR}/toolchain.cmake \ | 89 | -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${WORKDIR}/toolchain.cmake \ |
90 | -DCEPHADM_BUNDLED_DEPENDENCIES=none \ | ||
82 | " | 91 | " |
83 | 92 | ||
93 | # -DWITH_SYSTEM_ROCKSDB=ON | ||
94 | |||
84 | do_configure:prepend () { | 95 | do_configure:prepend () { |
85 | echo "set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )" >> ${WORKDIR}/toolchain.cmake | 96 | echo "set( CMAKE_SYSROOT \"${RECIPE_SYSROOT}\" )" >> ${WORKDIR}/toolchain.cmake |
86 | echo "set( CMAKE_DESTDIR \"${D}\" )" >> ${WORKDIR}/toolchain.cmake | 97 | echo "set( CMAKE_DESTDIR \"${D}\" )" >> ${WORKDIR}/toolchain.cmake |
@@ -88,6 +99,12 @@ do_configure:prepend () { | |||
88 | # echo "set( CMAKE_C_COMPILER_WORKS TRUE)" >> ${WORKDIR}/toolchain.cmake | 99 | # echo "set( CMAKE_C_COMPILER_WORKS TRUE)" >> ${WORKDIR}/toolchain.cmake |
89 | # echo "set( CMAKE_CXX_COMPILER_FORCED TRUE)" >> ${WORKDIR}/toolchain.cmake | 100 | # echo "set( CMAKE_CXX_COMPILER_FORCED TRUE)" >> ${WORKDIR}/toolchain.cmake |
90 | echo "set( CMAKE_C_COMPILER_FORCED TRUE )" >> ${WORKDIR}/toolchain.cmake | 101 | echo "set( CMAKE_C_COMPILER_FORCED TRUE )" >> ${WORKDIR}/toolchain.cmake |
102 | |||
103 | echo "set( WITH_QATDRV OFF )" >> ${WORKDIR}/toolchain.cmake | ||
104 | echo "set( WITH_QATZIP OFF )" >> ${WORKDIR}/toolchain.cmake | ||
105 | echo "set( WITH_LIBURING OFF )" >> ${WORKDIR}/toolchain.cmake | ||
106 | echo "set( WITH_QATLIB OFF )" >> ${WORKDIR}/toolchain.cmake | ||
107 | # echo "set( WITH_SYSTEM_ROCKSDB TRUE )" >> ${WORKDIR}/toolchain.cmake | ||
91 | } | 108 | } |
92 | 109 | ||
93 | do_compile:prepend() { | 110 | do_compile:prepend() { |
@@ -106,7 +123,7 @@ do_install:append () { | |||
106 | ${D}${sbindir}/ceph-volume ${D}${sbindir}/ceph-volume-systemd | 123 | ${D}${sbindir}/ceph-volume ${D}${sbindir}/ceph-volume-systemd |
107 | find ${D} -name SOURCES.txt | xargs sed -i -e 's:${WORKDIR}::' | 124 | find ${D} -name SOURCES.txt | xargs sed -i -e 's:${WORKDIR}::' |
108 | install -d ${D}${sysconfdir}/ceph | 125 | install -d ${D}${sysconfdir}/ceph |
109 | install -m 644 ${WORKDIR}/ceph.conf ${D}${sysconfdir}/ceph/ | 126 | install -m 644 ${UNPACKDIR}/ceph.conf ${D}${sysconfdir}/ceph/ |
110 | install -d ${D}${systemd_unitdir} | 127 | install -d ${D}${systemd_unitdir} |
111 | mv ${D}${libexecdir}/ceph/ceph-osd-prestart.sh ${D}${libdir}/ceph | 128 | mv ${D}${libexecdir}/ceph/ceph-osd-prestart.sh ${D}${libdir}/ceph |
112 | mv ${D}${libexecdir}/ceph/ceph_common.sh ${D}${libdir}/ceph | 129 | mv ${D}${libexecdir}/ceph/ceph_common.sh ${D}${libdir}/ceph |
@@ -137,6 +154,7 @@ FILES:${PN} += "\ | |||
137 | ${libdir}/ceph/compressor/*.so \ | 154 | ${libdir}/ceph/compressor/*.so \ |
138 | ${libdir}/rados-classes/*.so \ | 155 | ${libdir}/rados-classes/*.so \ |
139 | ${libdir}/ceph/*.so \ | 156 | ${libdir}/ceph/*.so \ |
157 | ${libdir}/*.so \ | ||
140 | ${libdir}/libcephsqlite.so \ | 158 | ${libdir}/libcephsqlite.so \ |
141 | " | 159 | " |
142 | 160 | ||
@@ -151,6 +169,7 @@ FILES:${PN}-dev = " \ | |||
151 | ${libdir}/librados*.so \ | 169 | ${libdir}/librados*.so \ |
152 | ${libdir}/librbd.so \ | 170 | ${libdir}/librbd.so \ |
153 | ${libdir}/librgw.so \ | 171 | ${libdir}/librgw.so \ |
172 | ${libdir}/pkgconfig/cephfs.pc \ | ||
154 | " | 173 | " |
155 | 174 | ||
156 | FILES:${PN}-python = "\ | 175 | FILES:${PN}-python = "\ |