From: Anthony PERARD Date: Wed, 12 Aug 2015 15:53:54 +0000 (+0000) Subject: enable aarch64 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;p=people%2Faperard%2Fcentos-package-libvirt.git enable aarch64 Works for Xen on ARM. package compile with: --without qemu --nocheck --- diff --git a/SPECS/libvirt.spec b/SPECS/libvirt.spec index 36c263f..8f1ee32 100644 --- a/SPECS/libvirt.spec +++ b/SPECS/libvirt.spec @@ -159,8 +159,8 @@ # Finally set the OS / architecture specific special cases -# Xen is available only on x86_64 -%ifnarch %{ix86} x86_64 ia64 +# Xen is available only on x86_64 aarch64 +%ifnarch %{ix86} x86_64 ia64 aarch64 %define with_xen 0 %define with_libxl 0 %endif @@ -377,7 +377,7 @@ License: LGPLv2+ Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root URL: http://libvirt.org/ -ExclusiveArch: x86_64 +ExclusiveArch: x86_64 aarch64 %if %(echo %{version} | grep -o \\. | wc -l) == 3 %define mainturl stable_updates/ @@ -547,7 +547,9 @@ BuildRequires: /usr/bin/qemu-img %else %if %{with_xen} # From Xen RPMs + %ifnarch aarch64 BuildRequires: /usr/sbin/qcow-create + %endif %endif %endif %if %{with_storage_lvm} @@ -2127,7 +2129,9 @@ exit 0 %defattr(-, root, root) %config(noreplace) %{_sysconfdir}/libvirt/libxl.conf %config(noreplace) %{_sysconfdir}/libvirt/libxl-lockd.conf + %if %{with_sanlock} %config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf + %endif %{_datadir}/augeas/lenses/libvirtd_libxl.aug %{_datadir}/augeas/lenses/tests/test_libvirtd_libxl.aug %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/