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 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/ | ||
+ | +++ 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 | ||
+ | | ||
+ | </ | ||
+ | </ | ||