WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Tidy up installation paths

To: Josh Triplett <josh.trip@xxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Tidy up installation paths
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Thu, 08 Sep 2005 17:59:40 -0500
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
Delivery-date: Thu, 08 Sep 2005 22:57:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4320A286.1010501@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <431E045F.1040809@xxxxxxxxxx> <4320A286.1010501@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2005-09-08 at 13:43 -0700, Josh Triplett wrote:
> Why does this patch move xentop?  Unlike several of the binaries being
> moved by this patch (helper binaries and daemons), xentop is intended to
> be directly executed by a user, and should be in a directory expected to
> be in $PATH.  The relevant sections of the patch are:

The purpose of the cleanup is to avoid cluttering $PATH with things that
are executable in another way.  Since xentop is executable via xm top,
this redundancy seemed unnecessary.

It's up to Ian or Christian.  I can go either way.

> 1) Please don't just change the value of the "sbindir" variable in the
> makefile; those variables are intended to mirror the naming structure of
> autotools' destination directory variables, so the variable should be
> renamed to libexecdir. Despite the name, libexecdir is typically set to
> a package-specific directory under /usr/lib/ , on systems which don't
> use libexec directories (meaning pretty much anything other than GNU/Hurd).

We're not following the standard GNUisms.  One thing that is really
needed is more commonality between the tools build files.  I'm sure a
patch to cleanup all of the tools Makefiles would be appreciated.

> 2) The "xm top" interface needs to be changed to pass through command
> line arguments, while somehow avoiding the fact that "xm top --help"
> would refer to itself as "xentop".  (I planned to do this anyway, but if
> you're going to move xentop, then this needs to be done first to avoid
> losing functionality.

The first round of the patch is strictly changing install paths.
Smaller patches are easier to review.  Feel free to submit additional
patches to enhance the xm top interface though.

Regards,

Anthony Liguori

> - Josh Triplett


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel