[Pkg-libvirt-maintainers] [PATCH] enable libxl for armhf and arm64

Guido Günther agx at sigxcpu.org
Fri Apr 29 06:36:11 UTC 2016


On Thu, Apr 28, 2016 at 06:11:17PM +0000, Serge Hallyn wrote:
> This is done in the Ubuntu packages.  There may be a good reason
> why it is not done in the Debian packages, but I'm not sure what it
> is, so sending this as a query :)

Enabled since August 2015.
 -- Guido

> 
> Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
> Cc: Stefan Bader <stefan.bader at canonical.com>
> ---
>  debian/control |  4 ++--
>  debian/rules   | 13 ++++++++-----
>  2 files changed, 10 insertions(+), 7 deletions(-)
> 
> diff --git a/debian/control b/debian/control
> index 8b9cd9b..e252e49 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -14,7 +14,7 @@ Build-Depends:
>   libgnutls28-dev,
>   libavahi-client-dev,
>   libsasl2-dev,
> - libxen-dev (>= 4.3) [i386 amd64],
> + libxen-dev (>= 4.3) [i386 amd64 armhf arm64],
>   lvm2 [linux-any],
>   open-iscsi [linux-any],
>   libparted0-dev (>= 2.2),
> @@ -198,7 +198,7 @@ Description: documentation for the libvirt library
>  Package: libvirt-dev
>  Architecture: any
>  Section: libdevel
> -Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen-dev [i386 amd64]
> +Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen-dev [i386 amd64 armhf arm64]
>  Replaces: libvirt-bin (<< 1.2.0~)
>  Recommends: pkg-config
>  Description: development files for the libvirt library
> diff --git a/debian/rules b/debian/rules
> index 6812719..4d72098 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -7,14 +7,17 @@ DEB_BUILDUSER=${USER}
>  
>  ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
>    ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64))
> -    WITH_XEN = --with-xen
> -    WITH_LIBXL = --with-libxl
>      WITH_VBOX = --with-vbox
>      MAKE_CHECK = 1
>    else
> -    WITH_XEN            = --without-xen
> -    WITH_LIBXL          = --without-libxl
> -    WITH_VBOX           = --without-vbox
> +    WITH_VBOX         = --without-vbox
> +  endif
> +  ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64 armhf arm64))
> +    WITH_XEN = --with-xen
> +    WITH_LIBXL = --with-libxl
> +  else
> +    WITH_XEN          = --without-xen
> +    WITH_LIBXL        = --without-libxl
>    endif
>    WITH_STORAGE_LVM    = --with-storage-lvm
>    WITH_STORAGE_ISCSI  = --with-storage-iscsi
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> 



More information about the Pkg-libvirt-maintainers mailing list