]>
git.proxmox.com Git - pve-qemu-kvm.git/blob - Makefile
3 # also update debian/changelog
7 KVMPACKAGE
=pve-qemu-kvm
9 KVMSRC
=${KVMDIR}-src.
tar.gz
13 KVM_DEB
=${KVMPACKAGE}_
${KVMVER}-${KVMPKGREL}_
${ARCH}.deb
15 all: ${KVM_DEB} ${KVMSRC}
19 rm -rf
${KVMDIR} ${KVMSRC}
20 git clone git
://git.qemu-project.org
/qemu.git
-b master
${KVMDIR}
21 cd
${KVMDIR}; git checkout
-b local v1.3
.0
22 cd
${KVMDIR}; git am ..
/seabios-update.patch
23 tar czf
${KVMSRC} --exclude CVS
--exclude .git
--exclude .svn
${KVMDIR}
25 ${KVM_DEB} kvm
: ${KVMSRC}
28 cp
-a debian
${KVMDIR}/debian
29 cd
${KVMDIR}; dpkg-buildpackage
-b
-rfakeroot
-us
-uc
30 lintian
${KVM_DEB} || true
33 upload
: ${KVM_DEB} ${KVMDIR}-src.
tar.gz
34 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
35 mkdir
-p
/pve
/${RELEASE}/extra
36 rm -rf
/pve
/${RELEASE}/extra
/Packages
*
37 rm -rf
/pve
/${RELEASE}/extra
/${KVMPACKAGE}_
*.deb
38 cp
${KVM_DEB} /pve
/${RELEASE}/extra
39 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null | gzip
-9c
> Packages.gz
40 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
48 rm -rf
*~
${KVMDIR} ${KVMPACKAGE}_
*