10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
13 DEB1
=${PACKAGE}_
${PKGVER}-${DEBREL}_
${ARCH}.deb
14 DEB2
=${PACKAGE}-dbg_
${PKGVER}-${DEBREL}_
${ARCH}.deb
25 cp
-a debian
${SRCDIR}/debian
26 echo
"git clone git://git.proxmox.com/git/lxcfs.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}/debian
/SOURCE
27 echo
"debian/SOURCE" >> ${SRCDIR}/debian
/docs
28 cd
${SRCDIR}; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
34 rm -rf
${SRCDIR} ${SRCTAR}
35 git clone
--depth
=1 -b lxcfs-
${PKGVER} git
://github.com
/lxc
/lxcfs
36 tar czf
${SRCTAR}.tmp
${SRCDIR}
37 mv
${SRCTAR}.tmp
${SRCTAR}
41 tar cf
- ${DEBS} | ssh repoman@repo.proxmox.com upload
--product pve
--dist jessie
47 rm -rf
${SRCDIR} ${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
48 find .
-name
'*~' -exec
rm {} ';'