From f8431991d9b9a88cad4d4c9aaac998896166ad93 Mon Sep 17 00:00:00 2001 From: Daniel Poelzleithner Date: Wed, 10 Nov 2021 21:44:52 +0100 Subject: [PATCH] [ceph-client] Install cephfs client tools as well --- pkgs/tools/filesystems/ceph/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/filesystems/ceph/default.nix b/pkgs/tools/filesystems/ceph/default.nix index 0f28ad144169..04774e851b3e 100644 --- a/pkgs/tools/filesystems/ceph/default.nix +++ b/pkgs/tools/filesystems/ceph/default.nix @@ -239,12 +239,14 @@ in rec { }; ceph-client = runCommand "ceph-client-${version}" { - meta = getMeta "Tools needed to mount Ceph's RADOS Block Devices"; + meta = getMeta "Tools needed to mount Ceph's RADOS Block Devices/Cephfs"; } '' - mkdir -p $out/{bin,etc,${sitePackages},share/bash-completion/completions} + mkdir -p $out/{bin,sbin,etc,${sitePackages},share/bash-completion/completions} cp -r ${ceph}/bin/{ceph,.ceph-wrapped,rados,rbd,rbdmap} $out/bin cp -r ${ceph}/bin/ceph-{authtool,conf,dencoder,rbdnamer,syn} $out/bin cp -r ${ceph}/bin/rbd-replay* $out/bin + cp -r ${ceph}/sbin/mount.ceph $out/sbin + cp -r ${ceph}/sbin/mount.fuse.ceph $out/sbin cp -r ${ceph}/${sitePackages} $out/${sitePackages} cp -r ${ceph}/etc/bash_completion.d $out/share/bash-completion/completions # wrapPythonPrograms modifies .ceph-wrapped, so lets just update its paths