8 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
9 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
11 DEB1
=${PACKAGE}_
${PKGVER}-${DEBREL}_
${ARCH}.deb
12 DEB2
=${PACKAGE}-dbg_
${PKGVER}-${DEBREL}_
${ARCH}.deb
23 cp
-a debian
${SRCDIR}/debian
24 echo
"git clone git://git.proxmox.com/git/lxcfs.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}/debian
/SOURCE
25 echo
"debian/SOURCE" >> ${SRCDIR}/debian
/docs
26 cd
${SRCDIR}; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
32 rm -rf
${SRCDIR} ${SRCTAR}
33 git clone
--depth
=1 -b lxcfs-
${PKGVER} git
://github.com
/lxc
/lxcfs
34 tar czf
${SRCTAR}.tmp
${SRCDIR}
35 mv
${SRCTAR}.tmp
${SRCTAR}
39 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com upload
--product pve
--dist stretch
45 rm -rf
${SRCDIR} ${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
*.buildinfo
46 find .
-name
'*~' -exec
rm {} ';'