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/
Home Products Support Community News


Re: [Xen-users] Forgot how to rebuild xen tools separate from kernel - a

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Forgot how to rebuild xen tools separate from kernel - any help?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Sun, 23 Dec 2007 20:41:41 +0000
Cc: Florian Heigl <florian.heigl@xxxxxxxxx>
Delivery-date: Sun, 23 Dec 2007 12:42:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <77abe410712221117g56ad3101jc9f277fcd4b43817@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <77abe410712221117g56ad3101jc9f277fcd4b43817@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
> The tricky bits are:
> - i have to make a custom kernel (done)
> - i have to patch it before or after configuring to keep EVMS BBR
> support alive (done)
> - i have to update the "userland" bits like xm and such (not done)
> I configured, built and installed with a different DESTDIR
> make XEN_TARGET_X86_PAE=y  KERNELS="linux-2.6-xen0"  linux-2.6-xen-build
> make XEN_TARGET_X86_PAE=y  KERNELS="linux-2.6-xen0"
> DESTDIR=/usr/local/XenDistro/xen0_test_32p linux-2.6-xen-install

> what I don't remember is how to properly rebuild the xen tools - or
> are they actually just copied? Even then a command that follows
> DESTDIR would save time; I assume it's really easy and I just don't
> come up with it :(

I *think* that most, if not all, tools will honour: DESTDIR=foo make 

Don't worry about not coming up with that: the Xen makefiles are not exactly 
easy to read :-)  I've spent lots of time trying to figure out what they're 

The alternative would be to do something like "make dist-tools" which will 
install all the tools into dist/install, and you can then use the install.sh 
script too initiate an install on the destination machine.  I'm not sure if 
you can set alternate install paths with that - you can't set DESTDIR 
meaningfully.  But for a "normal" install, the resulting tree should be OK.


Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>