Ceph v10.2.2 build system runs "lsb_release" to determine how to layout files for installation
Ceph v10.2.2's build system runs "lsb_release" in src/pybind/rados/Makefile.am to determine how to install.
This returns information about the build system but not the system Ceph is being compiled for (the host system). That is, compiling on Debian/arm for CentOS/x86_64 will install to the Debian locations. It's unclear what would happen if you were compiling on Solaris/i86pc for CentOS/x86_64 would do.