[libvirt] [PATCH] virt-login-shell: mark as Linux only

Roman Bogorodskiy bogorodskiy at gmail.com
Mon Jun 13 09:52:26 UTC 2016


  Daniel P. Berrange wrote:

> On Sun, Jun 12, 2016 at 12:11:09PM +0300, Roman Bogorodskiy wrote:
> > Currently, virt-login-shell is not allowed to build on Windows.
> > Howerver, as it's designed around LXC, it does not make sense to
> > build it on anything but Linux, so make the check strickter and allow to
> > enable it on Linux only.
> > ---
> >  m4/virt-login-shell.m4 | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/m4/virt-login-shell.m4 b/m4/virt-login-shell.m4
> > index d5e2e00..55dcaf3 100644
> > --- a/m4/virt-login-shell.m4
> > +++ b/m4/virt-login-shell.m4
> > @@ -21,9 +21,9 @@ AC_DEFUN([LIBVIRT_CHECK_LOGIN_SHELL], [
> >    m4_divert_text([DEFAULTS], [with_login_shell=check])
> >  
> >    if test "x$with_login_shell" != "xno"; then
> > -    if test "x$with_win" = "xyes"; then
> > +    if test "x$with_linux" != "xyes"; then
> >        if test "x$with_login_shell" = "xyes"; then
> > -        AC_MSG_ERROR([virt-login-shell is not supported on Windows])
> > +        AC_MSG_ERROR([virt-login-shell is supported on Linux only])
> >        else
> >          with_login_shell=no;
> >        fi
> 
> ACK

Pushed, thanks!

Roman Bogorodskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160613/fc1730e1/attachment-0001.sig>


More information about the libvir-list mailing list