[libvirt] [PATCH] build: only create virt-login-shell for lxc builds

Daniel P. Berrange berrange at redhat.com
Mon Sep 2 11:35:10 UTC 2013


On Fri, Aug 30, 2013 at 02:37:20PM -0600, Eric Blake wrote:
> I noticed from an ./autobuild.sh run that we were installing a
> virt-login-shell.exe binary when cross-building for mingw,
> even though such a binary is necessarily worthless since the
> code depends on lxc which is a Linux-only concept.
> 
> * tools/Makefile.am (conf_DATA, bin_PROGRAMS, dist_man1_MANS):
> Make virt-login-shell installation conditional.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
> 
> I'm debating about pushing this under the build-breaker rule.
> 
>  tools/Makefile.am | 14 +++++++++++---
>  1 file changed, 11 insertions(+), 3 deletions(-)

Unfortunately this will now break the libvirt.spec.in if
%{with_lxc} is set to 0. Fortunately we don't do that by
default for any platforms we support but still nice to
fix it

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list