]>
git.proxmox.com Git - lxcfs.git/blob - Makefile
10 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
11 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
13 DEB
=${PACKAGE}_
${PKGVER}-${DEBREL}_
${ARCH}.deb \
14 ${PACKAGE}-dbg_
${PKGVER}-${DEBREL}_
${ARCH}.deb
21 cp
-a debian
${SRCDIR}/debian
22 echo
"git clone git://git.proxmox.com/git/lxcfs.git\\ngit checkout ${GITVERSION}" > ${SRCDIR}/debian
/SOURCE
23 echo
"debian/SOURCE" >> ${SRCDIR}/debian
/docs
24 cd
${SRCDIR}; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
30 rm -rf
${SRCDIR} ${SRCTAR}
31 git clone
--depth
=1 -b lxcfs-
${PKGVER} git
://github.com
/lxc
/lxcfs
32 tar czf
${SRCTAR}.tmp
${SRCDIR}
33 mv
${SRCTAR}.tmp
${SRCTAR}
37 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
38 mkdir
-p
/pve
/${RELEASE}/extra
39 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}_
*.deb
40 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}-dbg_
*.deb
41 rm -f
/pve
/${RELEASE}/extra
/Packages
*
42 cp
${DEB} /pve
/${RELEASE}/extra
43 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null
> Packages
; gzip
-9c Packages
> Packages.gz
44 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
50 rm -rf
${SRCDIR} ${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
51 find .
-name
'*~' -exec
rm {} ';'