mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
tools/cephfs,deb: package cephfs-shell
change `#!/usr/bin/env python3` to `#!/usr/bin/python3` as per https://www.debian.org/doc/packaging-manuals/python-policy/programs.html#interpreter-directive Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
ee86364f9a
commit
004713eadd
2
debian/cephfs-shell.install
vendored
Normal file
2
debian/cephfs-shell.install
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
usr/bin/cephfs-shell
|
||||
usr/lib/python3*/dist-packages/cephfs_shell-*.egg-info
|
13
debian/control
vendored
13
debian/control
vendored
@ -1078,3 +1078,16 @@ Depends: librados-dev (= ${binary:Version}) ${misc:Depends},
|
||||
Description: RADOS object class development kit.
|
||||
.
|
||||
This package contains development files needed for building RADOS object class plugins.
|
||||
|
||||
Package: cephfs-shell
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
${python3:Depends}
|
||||
Description: interactive shell for the Ceph distributed file system
|
||||
Ceph is a massively scalable, open-source, distributed
|
||||
storage system that runs on commodity hardware and delivers object,
|
||||
block and file system storage. This is an interactive tool that
|
||||
allows accessing a Ceph file system without mounting it by providing
|
||||
a nice pseudo-shell which works like an FTP client.
|
||||
.
|
||||
This package contains a CLI for interacting with the CephFS.
|
||||
|
1
debian/py3dist-overrides
vendored
Normal file
1
debian/py3dist-overrides
vendored
Normal file
@ -0,0 +1 @@
|
||||
cephfs python3-cephfs; PEP386
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -12,8 +12,10 @@ ifneq (,$(findstring WITH_STATIC_LIBSTDCXX,$(CEPH_EXTRA_CMAKE_ARGS)))
|
||||
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
|
||||
endif
|
||||
|
||||
extraopts += -DWITH_OCF=ON -DWITH_LTTNG=ON -DWITH_PYTHON3=ON -DWITH_MGR_DASHBOARD_FRONTEND=OFF
|
||||
extraopts += -DWITH_OCF=ON -DWITH_LTTNG=ON
|
||||
extraopts += -DWITH_PYTHON3=ON -DWITH_MGR_DASHBOARD_FRONTEND=OFF
|
||||
extraopts += -DWITH_CEPHFS_JAVA=ON
|
||||
extraopts += -DWITH_CEPHFS_SHELL=ON
|
||||
extraopts += -DWITH_SYSTEMD=ON -DCEPH_SYSTEMD_ENV_DIR=/etc/default
|
||||
# assumes that ceph is exmpt from multiarch support, so we override the libdir.
|
||||
extraopts += -DCMAKE_INSTALL_LIBDIR=/usr/lib
|
||||
@ -147,6 +149,7 @@ override_dh_python3:
|
||||
dh_python3 -p python3-$$binding; \
|
||||
done
|
||||
dh_python3 -p python3-ceph-argparse
|
||||
dh_python3 -p cephfs-shell
|
||||
|
||||
# do not run tests
|
||||
override_dh_auto_test:
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
#!/usr/bin/python3
|
||||
# coding = utf-8
|
||||
|
||||
import argparse
|
||||
|
Loading…
Reference in New Issue
Block a user