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