Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
tuto:virtualisation:compiler_la_derniere_version_de_libvirt [12/09/2010 12:49] dani |
tuto:virtualisation:compiler_la_derniere_version_de_libvirt [12/07/2012 23:30] (Version actuelle) dani Page moved from compiler_la_derniere_version_de_libvirt to tuto:virtualisation:compiler_la_derniere_version_de_libvirt |
||
---|---|---|---|
Ligne 32: | Ligne 32: | ||
On passe juste certains arguments, qui désactive les fonctions non utilisées | On passe juste certains arguments, qui désactive les fonctions non utilisées | ||
- | À partir de la v 0.8.1, il faut faire une toute petite modification du fichier spec, un test doit être désactivé, | + | À partir de la v 0.8.1, il faut faire une toute petite modification du fichier spec, un test doit être désactivé, |
Chercher la section | Chercher la section | ||
Ligne 57: | Ligne 57: | ||
--without lxc --without vbox --without esx \ | --without lxc --without vbox --without esx \ | ||
--without phyp --without one --without avahi \ | --without phyp --without one --without avahi \ | ||
- | --without openvz --without uml" | + | --without openvz --without uml --with nwfilter \ |
+ | --with libpcap" | ||
</ | </ | ||
Ligne 63: | 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/ | ||
+ | +++ F/ | ||
+ | @@ -107,6 +107,14 @@ | ||
+ | | ||
+ | | ||
+ | |||
+ | +# 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 @@ | ||
+ | | ||
+ | |||
+ | # Force QEMU to run as non-root | ||
+ | -%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6 | ||
+ | +%if 0%{?fedora} >= 12 || 0%{?rhel} >= 5 | ||
+ | | ||
+ | | ||
+ | %else | ||
+ | @@ -705,7 +713,7 @@ | ||
+ | | ||
+ | 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 | ||
+ | | ||
+ | </ | ||
+ | </ | ||