[libvirt] [PATCH 1/6] spec: Enable fuse only if LXC is enabled

Daniel P. Berrangé berrange at redhat.com
Wed Feb 14 14:29:26 UTC 2018


On Wed, Feb 14, 2018 at 03:11:36PM +0100, Jiri Denemark wrote:
> Enabling fuse without LXC does not make a lot of sense because fuse is
> used only by LXC.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  libvirt.spec.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 44f846a169..4821da826e 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -163,7 +163,7 @@
>  %endif
>  
>  # fuse is used to provide virtualized /proc for LXC
> -%if 0%{?fedora} || 0%{?rhel} >= 7
> +%if %{with_lxc}
>      %define with_fuse      0%{!?_without_fuse:1}
>  %endif

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list