PACKAGE=ceph
+
VER != dpkg-parsechangelog -l changelog.Debian -Sversion | cut -d- -f1
PKGVER != dpkg-parsechangelog -l changelog.Debian -Sversion
+
DEBREL=pve1
SRCDIR=ceph
python3-rados_${PKGVER}_${ARCH}.deb \
python3-rbd_${PKGVER}_${ARCH}.deb \
python3-rgw_${PKGVER}_${ARCH}.deb \
-python-ceph_${PKGVER}_${ARCH}.deb \
-python-cephfs_${PKGVER}_${ARCH}.deb \
-python-rados_${PKGVER}_${ARCH}.deb \
-python-rbd_${PKGVER}_${ARCH}.deb \
-python-rgw_${PKGVER}_${ARCH}.deb \
+python3-ceph_${PKGVER}_${ARCH}.deb \
+python3-cephfs_${PKGVER}_${ARCH}.deb \
+python3-rados_${PKGVER}_${ARCH}.deb \
+python3-rbd_${PKGVER}_${ARCH}.deb \
+python3-rgw_${PKGVER}_${ARCH}.deb \
radosgw_${PKGVER}_${ARCH}.deb \
rados-objclass-dev_${PKGVER}_${ARCH}.deb \
rbd-fuse_${PKGVER}_${ARCH}.deb \
cd $@.tmp; rm -rf .pc ./patches
echo "git clone git://git.proxmox.com/git/ceph.git\\ngit checkout ${GITVERSION}" > $@.tmp/debian/SOURCE
echo "debian/SOURCE" >> $@.tmp/debian/docs
- echo "${GITVERSION}\\nv${VER}" > $@.tmp/src/.git_version
+ echo "${GITVERSION}\\n${VER}" > $@.tmp/src/.git_version
cp changelog.Debian $@.tmp/debian/changelog
mv $@.tmp $@
.PHONY: download
download:
rm -rf ${SRCDIR}.tmp ${SRCDIR}
- dgit -cdgit-distro.ceph.archive-query=aptget: -cdgit-distro.ceph.mirror=http://download.ceph.com/debian-nautilus -cdgit-distro.ceph.git-check=false --apt-get:--option=Dir::Etc::Trusted=${CURDIR}/upstream-key.asc -d ceph clone ceph xenial ./${SRCDIR}.tmp
+ dgit -cdgit-distro.ceph.archive-query=aptget: -cdgit-distro.ceph.mirror=http://download.ceph.com/debian-reef -cdgit-distro.ceph.git-check=false --apt-get:--option=Dir::Etc::Trusted=${CURDIR}/upstream-key.asc -d ceph clone ceph jammy ./${SRCDIR}.tmp
@echo "WARNING"
@echo "Check output above for verification errors!"
@echo "WARNING"
.PHONY: upload
upload: ${DEBS}
- tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product ceph-luminous --dist stretch --arch ${ARCH}
+ tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product ceph-pacific --dist bullseye --arch ${ARCH}
distclean: clean