10 # everything except boost
11 SUBMODULES
=ceph-erasure-code-corpus \
15 src
/crypto
/isa-l
/isa-l_crypto \
17 src
/erasure-code
/jerasure
/gf-complete \
18 src
/erasure-code
/jerasure
/jerasure \
27 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
28 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
30 DBG_DEBS
=ceph-common-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
31 ceph-fuse-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
32 ceph-mds-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
33 ceph-mgr-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
34 ceph-mon-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
35 ceph-osd-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
36 ceph-test-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
37 libcephfs2-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
38 librados2-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
39 libradosstriper1-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
40 librbd1-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
41 librgw2-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
42 radosgw-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
43 rbd-fuse-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
44 rbd-mirror-dbg_
${VER}-${DEBREL}_
${ARCH}.deb \
45 rbd-nbd-dbg_
${VER}-${DEBREL}_
${ARCH}.deb
47 DEBS
=ceph_
${VER}-${DEBREL}_
${ARCH}.deb \
48 ceph-base_
${VER}-${DEBREL}_
${ARCH}.deb \
49 ceph-common_
${VER}-${DEBREL}_
${ARCH}.deb \
50 ceph-fuse_
${VER}-${DEBREL}_
${ARCH}.deb \
51 ceph-mds_
${VER}-${DEBREL}_
${ARCH}.deb \
52 ceph-mgr_
${VER}-${DEBREL}_
${ARCH}.deb \
53 ceph-mon_
${VER}-${DEBREL}_
${ARCH}.deb \
54 ceph-osd_
${VER}-${DEBREL}_
${ARCH}.deb \
55 ceph-resource-agents_
${VER}-${DEBREL}_
${ARCH}.deb \
56 ceph-test_
${VER}-${DEBREL}_
${ARCH}.deb \
57 libcephfs2_
${VER}-${DEBREL}_
${ARCH}.deb \
58 libcephfs-dev_
${VER}-${DEBREL}_
${ARCH}.deb \
59 libcephfs-java_
${VER}-${DEBREL}_all.deb \
60 libcephfs-jni_
${VER}-${DEBREL}_
${ARCH}.deb \
61 librados2_
${VER}-${DEBREL}_
${ARCH}.deb \
62 librados-dev_
${VER}-${DEBREL}_
${ARCH}.deb \
63 libradosstriper1_
${VER}-${DEBREL}_
${ARCH}.deb \
64 libradosstriper-dev_
${VER}-${DEBREL}_
${ARCH}.deb \
65 librbd1_
${VER}-${DEBREL}_
${ARCH}.deb \
66 librbd-dev_
${VER}-${DEBREL}_
${ARCH}.deb \
67 librgw2_
${VER}-${DEBREL}_
${ARCH}.deb \
68 librgw-dev_
${VER}-${DEBREL}_
${ARCH}.deb \
69 python3-ceph-argparse_
${VER}-${DEBREL}_
${ARCH}.deb \
70 python3-cephfs_
${VER}-${DEBREL}_
${ARCH}.deb \
71 python3-rados_
${VER}-${DEBREL}_
${ARCH}.deb \
72 python3-rbd_
${VER}-${DEBREL}_
${ARCH}.deb \
73 python3-rgw_
${VER}-${DEBREL}_
${ARCH}.deb \
74 python-ceph_
${VER}-${DEBREL}_
${ARCH}.deb \
75 python-cephfs_
${VER}-${DEBREL}_
${ARCH}.deb \
76 python-rados_
${VER}-${DEBREL}_
${ARCH}.deb \
77 python-rbd_
${VER}-${DEBREL}_
${ARCH}.deb \
78 python-rgw_
${VER}-${DEBREL}_
${ARCH}.deb \
79 radosgw_
${VER}-${DEBREL}_
${ARCH}.deb \
80 rbd-fuse_
${VER}-${DEBREL}_
${ARCH}.deb \
81 rbd-mirror_
${VER}-${DEBREL}_
${ARCH}.deb \
82 rbd-nbd_
${VER}-${DEBREL}_
${ARCH}.deb
84 all: ${DEBS} ${DBG_DEBS}
89 deb
: ${DEBS} ${DBG_DEBS}
90 ${DEBS} ${DBG_DEBS}: ${SRC} patches
93 cd
${SRCDIR}; ln
-s ..
/patches patches
94 cd
${SRCDIR}; quilt push
-a
95 cd
${SRCDIR}; rm -rf .
pc .
/patches
96 echo
"git clone git://git.proxmox.com/git/ceph.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}/debian
/SOURCE
97 echo
"debian/SOURCE" >> ${SRCDIR}/debian
/docs
98 cd
${SRCDIR}; dpkg-buildpackage
-b
-uc
-us
103 rm -rf
${SRC} ${SRCDIR}
104 git clone
-b v
${VER} --depth
1 https
://github.com
/ceph
/ceph.git
${SRCDIR}
105 cd
${SRCDIR}; for module in
${SUBMODULES}; do git submodule update
--init
$${module}; done
106 # "ceph version" is derived from "git describe"
107 # only drop module history to save space
108 tar czf
${SRC} --exclude
".git/modules" ${SRCDIR}
112 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com upload
--product ceph-luminous
--dist stretch
--arch
${ARCH}
118 rm -rf ceph
*_all.deb
*_
${ARCH}.deb
*.changes
*.dsc
*.buildinfo