]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
debian/rules: enable WITH_CRIMSON when pkg.ceph.crimson profile is set
authorKefu Chai <k.chai@proxmox.com>
Sat, 18 Oct 2025 14:23:56 +0000 (22:23 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 12 Nov 2025 18:11:49 +0000 (18:11 +0000)
commitceb3272fdae035d2a7376c423c69e5770f8e2fb1
treeab754e9b1c89168f8410f6ae4e06124a23680ca0
parentf504bb50ceb10d17b4cdf89ac967db7a073f51b4
debian/rules: enable WITH_CRIMSON when pkg.ceph.crimson profile is set

Since commit 9b1d524839 ("debian: mark "crimson" specific deps with
"pkg.ceph.crimson""), crimson-specific build dependencies have been
gated by the Build-Profiles: <pkg.ceph.crimson> tag. However,
debian/rules was never updated to pass -DWITH_CRIMSON=ON when this
build profile is active.

This causes builds with the crimson profile enabled to fail during
dh_install, as the crimson-osd binary is never built but the install
file tries to package it:

  Failed to copy 'usr/bin/crimson-osd': No such file or directory
  dh_install: error: debian/ceph-crimson-osd.install returned exit code 127

Fix this by checking for pkg.ceph.crimson in DEB_BUILD_PROFILES and
enabling the CMake option accordingly, following the same pattern used
for pkg.ceph.arrow.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
debian/rules