1 include /usr
/share
/dpkg
/pkg-info.mk
5 GITVERSION
:=$(shell git rev-parse HEAD
)
6 BUILDDIR ?
= ${PACKAGE}-${DEB_VERSION_UPSTREAM}
8 DEB
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}_all.deb
9 DSC
=${PACKAGE}_
${DEB_VERSION_UPSTREAM_REVISION}.dsc
19 rsync
-a src
/ debian
${BUILDDIR}
20 echo
"git clone git://git.proxmox.com/git/pve-container\\ngit checkout ${GITVERSION}" > $(BUILDDIR
)/debian
/SOURCE
25 cd
${BUILDDIR}; dpkg-buildpackage
-b
-us
-uc
32 cd
${BUILDDIR}; dpkg-buildpackage
-S
-us
-uc
-d
-nc
38 rm -rf
*.deb
${PACKAGE}*.
tar.gz
*.changes
*.buildinfo
${DSC} ${PACKAGE}-*/
39 find .
-name
'*~' -exec
rm {} ';'
46 tar cf
- ${DEB} | ssh
-X repoman@repo.proxmox.com
-- upload
--product pve
--dist buster