[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



> 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 
install-tools

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 
doing!

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.

Cheers,
Mark

-- 
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
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.