tuto:virtualisation:compiler_la_derniere_version_de_libvirt

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision Les deux révisions suivantes
tuto:virtualisation:compiler_la_derniere_version_de_libvirt [01/12/2010 17:42]
dani [Lancer la re-compilation]
tuto:virtualisation:compiler_la_derniere_version_de_libvirt [06/01/2011 13:03]
dani [Lancer la re-compilation]
Ligne 64: Ligne 64:
  
  
 +===== solution alternative =====
 +Pour compiler avec un serveur de build (type plague), il faut applliquer ce patch au fichier spec:
 +<hidden Patch pour le fichier spec>
 +<code diff>
 +--- F/libvirt.spec.orig 2011-01-04 09:08:53.000000000 +0100
 ++++ F/libvirt.spec      2011-01-06 13:01:06.000000000 +0100
 +@@ -107,6 +107,14 @@
 + %define with_lxc 0
 + %endif
 + 
 ++# Custom Firewall-Services
 ++%if 0%{?rhel} == 5
 ++%define with_avahi 0
 ++%define with_xen 0
 ++%define with_esx 0
 ++%endif
 ++# End customization
 ++
 + # RHEL-6 has restricted QEMU to x86_64 only, stopped including Xen
 + # on all archs. Other archs all have LXC available though
 + %if 0%{?rhel} >= 6
 +@@ -177,7 +185,7 @@
 + %endif
 + 
 + # Force QEMU to run as non-root
 +-%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
 ++%if 0%{?fedora} >= 12 || 0%{?rhel} >= 5
 + %define qemu_user  qemu
 + %define qemu_group  qemu
 + %else
 +@@ -705,7 +713,7 @@
 + %check
 + cd tests
 + # These 3 tests don't current work in a mock build root
 +-for i in nodeinfotest daemon-conf seclabeltest
 ++for i in virshtest nodeinfotest daemon-conf seclabeltest interfaceschematest
 + do
 +   rm -f $i
 +   printf "#!/bin/sh\nexit 0\n" > $i
 +</code>
 +</hidden>
  
  • tuto/virtualisation/compiler_la_derniere_version_de_libvirt.txt
  • Dernière modification: 12/07/2012 23:30
  • de dani