Files
ceph/debian/ceph-immutable-object-cache.install
Kefu Chai 04324fa1ac deb: use variable expansion to support systemd unit dir changes
Ubuntu changed the systemd unit directory location between releases:
- Jammy (22.04): /lib/systemd/system
- Noble (24.04): /usr/lib/systemd/system

To maintain compatibility across both versions, update .install files
to use brace expansion pattern {usr/,}lib/systemd/system/<service>.

This pattern works because dh_install uses bsd_glob() with GLOB_CSH
flags, which expands braces and matches files in both locations
depending on where CMakeLists.txt actually installed them.

Fixes installation issues when building packages on Noble while
maintaining backward compatibility with Jammy builds.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2025-06-18 17:23:28 +08:00

4 lines
140 B
Plaintext

{usr/,}lib/systemd/system/ceph-immutable-object-cache*
usr/bin/ceph-immutable-object-cache
usr/share/man/man8/ceph-immutable-object-cache.8