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] tools: Fix network-bridge to work withGentoo (ve

To: Jeremy Katz <katzj@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] tools: Fix network-bridge to work withGentoo (version 2)
From: Nivedita Singhvi <niv@xxxxxxxxxx>
Date: Wed, 05 Oct 2005 13:55:38 -0700
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Oct 2005 20:53:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1128545051.21137.61.camel@xxxxxxxxxxxxxx>
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: <A95E2296287EAD4EB592B5DEEFCE0E9D32E1A3@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1128545051.21137.61.camel@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
Jeremy Katz wrote:

On Wed, 2005-10-05 at 21:25 +0100, Ian Pratt wrote:

Thinking aloud -- maybe just setting a variable so we know we're in the 'make dist' case and using that to install all the distro specific stuff into DESTDIR and then letting install.sh also pick out the right distro would work. Then for the more normal install case, just the proper things for the distro would get installed. Does this seem reasonable?
I'll try to cook up something today

This would be great, but does have the danger that we end up having a
swathe of very similar scripts that have to be maintained together.


Yeah, this is the downside.  After spending a while earlier looking for
how other projects handle it, it looks like most have gone the route of
"don't provide anything at all and then distros ship their own".  Which
kind of sucks. :/  It's much like the current problem of not having the
packaging scripts for each distro.

The only exception tend to be a few projects which detect your
distribution at configure time and then install an appropriate
"backend".

We've been thinking a bit about this too, and I think honestly
it won't be that bad - once we have stuff working (and allow distros
to maintain their separate segments), there won't be that much
churn in the underlying xen scripts. Your approach above is
what we'd like to have.

It was annoying that gentoo chose not to use ifup/down. I guess with the
various udev/hotplug versions we'll need vendor-specific ways of
addressing them too.


Yep, I'm having to run with Chris Bainbridge's udev rules (with a few
minor tweaks) since Fedora devel is very current udev as the hotplug
handler.  That's what really got me thinking down this path.

thanks,
Nivedita



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