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