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

[Xen-devel] Xen build - Debian vs Redhat layout patch options

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen build - Debian vs Redhat layout patch options
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Tue, 6 Jul 2010 17:07:01 -0700
Delivery-date: Tue, 06 Jul 2010 17:07:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=hHNpKGIhOAumRfijF8+dkSP3O09s/yir463+mAQ2IHk=; b=fg7RTNBXpyYucAuOnbUi7Rs1ijQX9Kc1aejZlLXfM0JRle4rHjCuIqTwunRMCbouY7 WzLeLpc2qYrjbO8Zv0EBXCvgFSSUF3m+zurZrCU/9U7/vjBz3bEUekRth5WeOHCGk2Ya 6peZ68RrH/HkOEQnAJWoX5eVIo6Pe8gD0Wzmg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=bsFik2CHRrVJncM3CzHmtLCEhu2l/617IdzejrbV/+6l0l1T9dyckRov1d7fsUM7/X tJsor2OZkB1YJYtwcyLX376OqF7PQEr8diwDFhuJikwN47QQJURis4lPWw24ckBSqrw1 Gutu/wDl3bh64ZjqXKXf57GFtAzB5nPSOOpEE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
What's the right way to address these sort RedHat vs. Debian things in the Xen build?

- rm -f  $(D)$(CONFIG_DIR)/sysconfig/xendomains
+ rm -f  $(D)$(CONFIG_DIR)/default/xendomains

- mkdir -p /var/lock/subsys
- touch /var/lock/subsys/xend
+ mkdir -p /var/lock
+ touch /var/lock/xend

Can I submit a patch that uses a config var to switch on which path use ?

Or, where should such a build time switch go? Env, or?
...assuming that it's even an option.

There's a couple of different downstream patches that others are maintaining to handle this kind of stuff, but that lag behind the xen-unstable tree and it seems like an upstream patch to handle this distro variation in the Xen build itself would be a better long term solution.

-Bruce
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>