diff options
author | Kefu Chai <kchai@redhat.com> | 2017-04-27 07:25:58 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2017-04-27 09:14:16 +0200 |
commit | cd4dbaea3add72829541268f582b9d1e35ae346c (patch) | |
tree | ad40c6db483a8fb30978d9be9cb0a9903471d9e9 /debian/ceph-common.install | |
parent | cmake: os should depend on crypto_plugins not a certain plugin (diff) | |
download | ceph-cd4dbaea3add72829541268f582b9d1e35ae346c.tar.xz ceph-cd4dbaea3add72829541268f582b9d1e35ae346c.zip |
debian: package crypto plugins only on amd64
currently, only plugin based on isa-l is installed. archs other than
amd64 will not have this directory or the plugin(s) residing in it.
hence dh_install will fail when trying to copy nonexistence file/dir.
* debian/ceph-common.install: chmod +x, and only install crypto on amd64
so dh_install can filter the install list using dh-exec
* debian/control: depends on dh-exec now. dh-exec v0.13 introduces support
for filtering based on architecture. see dh-exec's changelog for more
details. but trusty only offers dh-exec v0.12. so do not require ">=
0.13) at this moment.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'debian/ceph-common.install')
-rwxr-xr-x[-rw-r--r--] | debian/ceph-common.install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/ceph-common.install b/debian/ceph-common.install index e38ede33f46..05601692e78 100644..100755 --- a/debian/ceph-common.install +++ b/debian/ceph-common.install @@ -1,3 +1,5 @@ +#! /usr/bin/dh-exec --with=install + etc/bash_completion.d/rados etc/bash_completion.d/rbd usr/bin/ceph @@ -18,7 +20,7 @@ usr/bin/ceph-post-file usr/bin/ceph-brag usr/sbin/mount.ceph sbin usr/lib/ceph/compressor/* -usr/lib/ceph/crypto/* +usr/lib/ceph/crypto/* [amd64] usr/share/man/man8/ceph-authtool.8 usr/share/man/man8/ceph-conf.8 usr/share/man/man8/ceph-dencoder.8 |