ceph-client: fix copy of python modules

the site-packages content was wrongly copied, causing a
.../site-packages/site-packages/... in the ceph-client packages.
This renders thi ceph tool unusable.
This commit is contained in:
Daniel Poelzleithner
2021-11-15 10:41:35 +01:00
parent 36a614fe66
commit f95c6d6112
+1 -1
View File
@@ -247,7 +247,7 @@ in rec {
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}/${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
substituteInPlace $out/bin/ceph --replace ${ceph} $out