]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: Include Crimson by default in RPM builds
authorMatan Breizman <mbreizma@redhat.com>
Tue, 18 Nov 2025 08:36:14 +0000 (08:36 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 19 Nov 2025 13:14:00 +0000 (13:14 +0000)
With #65782 merged, Crimson could be now built as part of the default RPM build flavor.
The binaries ceph-osd-crimson and ceph-osd-classic are managed via `update-alternatives`
and selected based on priority:

- ceph-osd-classic keeps the **highest** priority (100) and remains the default.
- Switching to crimson is possible via:
  update-alternatives --set ceph-osd /usr/bin/ceph-osd-crimson

Existing classic behavior remains unchanged unless the above command is explicitly executed.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
ceph.spec.in

index 43736f27c804cba8d18c9a02816e3f7817b31008..1cb69b90b509f58093d7cb586c3e36b0da8df48a 100644 (file)
@@ -91,7 +91,7 @@
 %bcond_with lua_packages
 %endif
 %endif
-%bcond_with crimson
+%bcond_without crimson
 %if 0%{?suse_version} || 0%{?openEuler}
 %bcond_with jaeger
 %else