[pve-devel] [PATCH 2/2] install target-x86_64.conf new version in /etc/kvm/

Dietmar Maurer dietmar at proxmox.com
Tue Jan 31 07:16:33 CET 2012


OK, committed a slightly different patch:

- install file from qemu-kvm/ sysconfigs/ target/target-x86_64.conf
- make sure /etc/qemu is empty
- and try to remove old /etc/qemu in postinst script

https://git.proxmox.com/?p=pve-qemu-kvm.git;a=commit;h=8b7e35182aba87372ba5da5d322791557b744c15

- Dietmar

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Derumier Alexandre
> Sent: Montag, 30. Jänner 2012 14:10
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH 2/2] install target-x86_64.conf new version in
> /etc/kvm/
> 
> 
> Signed-off-by: Derumier Alexandre <aderumier at odiso.com>
> ---
>  debian/rules |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/debian/rules b/debian/rules index e5ee1bf..4ed3a23 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -76,6 +76,10 @@ install: build
>  	mv $(destdir)/usr/bin/qemu-system-x86_64 $(destdir)/usr/bin/kvm
>  	mv $(destdir)/usr/share/man/man1/qemu.1
> $(destdir)/usr/share/man/man1/kvm.1
> 
> +	#remove cpumodel file from wrong /etc/qemu directory and install the
> rhel6.2 new version in /etc/kvm
> +	rm $(destdir)/etc/qemu/target-x86_64.conf
> +	install -D -m 0644 $(CURDIR)/debian/target-x86_64.conf
> +$(destdir)/etc/kvm/target-x86_64.conf
> +
>  	# Install the userspace utilities
>  	install -m 0755 kvm/kvm_stat $(destdir)/usr/bin/
> 
> --
> 1.7.2.5
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel





More information about the pve-devel mailing list