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

Re: [Xen-API] how to compile XCP source?



On 06/03/13 17:19, George Shuklin wrote:
05.03.2013 20:32, Mike McClurg ÐÐÑÐÑ:

Here minimal list of packages from binpkg.iso and source-1.iso to
satisfy ./prep.sh
(list 1)
kernel-xen-devel-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686.rpm
kernel-kdump-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686.rpm
libev-4.04-1.i686.rpm
blktap-2.0.90.xs726-xs6.1.0.i686.rpm
xen-hypervisor-4.1.3-1.6.10.498.23551.i686.rpm
xen-tools-4.1.3-1.6.10.498.23551.i686.rpm
I've uploaded these files to downloads.xen.org. I've also updated the
rpm list in prep.sh.


My miss, I forgot to add kernel-xen package.
yum says:
error: Failed dependencies:
     kernel-xen = 2.6.32.43-0.4.1.xs1.6.10.734.170748 is needed by
kernel-xen-devel-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686
so that package should be installed by prep.sh too:

kernel-xen-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686.rpm


I've uploaded this RPM, and updated prep.sh.



(list 2)
  mkdir /javascript/
  mkdir /javascript/jquery
  mkdir /javascript/jquery/treeview

jquery-1.1.3.1.pack.js  -> /javascript/jquery/jquery-1.1.3.1.pack.js
jquery.treeview.zip  -> /javascript/jquery/treeview/jquery.treeview.zip

What requires us to copy these files to a new location? If possible
I'd rather fix this requirement than do 'mkdir -p
/javascript/jquery/treeview'.

I just satisfy 'make srpm' requirements. Makefile asking
$(CARBON_DISTFILES)/javascript/... , so it's possible to change source,
f.e. create local catalog and ask user to set export CARBON_DISTFILES to
that catalogue. JS files I think better to include in download list. May
be even from jquery site, but I think including them in downloads from
xen.org will reduce 'wtf' factor if jquery.com unavailable.

I've uploaded our sources to:

http://downloads.xen.org/XCP/61809c/build-deps/distfiles/javascript/jquery/

I have not yet updated prep.sh. I think that instead of installing these files to / , we should instead install them to some directory, say ./distfiles, and then export CARBON_DISTFILES=./distfiles. We could echo something to the screen that would say, "please add this line to your .bashrc..." or something like that. Or we could add it to bashrc ourselves.

Direct links:
http://code.jquery.com/jquery-1.1.3.1.pack.js
http://jquery-plugins-collections.googlecode.com/files/jquery.treeview.zip
(not sure is this is same version as on source-1.iso)

I have done so, except for the javascript changes. Please check out my
repo on github (I'm just in the process of checking that I can
download all the necessary rpms from xen.org, but it's taking a while
and I don't feel like waiting for it to finish before sending this
email).

Also, please feel free to send me a pull request with any changes
you'd like to add (in fact, I really encourage this!).

Mike

https://github.com/mcclurmc/xcp-sdk
Thank you!

I found two issues now:
1) Something strange with EPEL installation with rpm + direct http link
2) Incorrect handling of errors in the middle of download process.

I'll fix them and will send pull request (but
kernel-xen-2.6.32.43-0.4.1.xs1.6.10.734.170748.i686.rpm is needed on
download.xen.org and in prep.sh file...)

Thanks. I've uploaded that file. Pull from my repo before you update prep.sh. If you could work something out for the downloading jquery and exporting the right environment variables, that would be great too. Thanks a lot.

Mike

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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