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

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




On 3/6/2013 11:19 AM, 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



(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.

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...)

I was running into the error described here: http://lists.fedoraproject.org/pipermail/users/2012-February/414558.html

# ./prep.sh
Retrieving http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm error: skipping http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm - transfer failed - Unknown or unexpected error warning: u 0x85a2118 ctrl 0x85a2f30 nrefs != 0 (download.fedoraproject.org http)

Changed the url to http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
and script continued:

# ./prep.sh
Retrieving http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm warning: /var/tmp/rpm-xfer.OW0aOe: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing... ########################################### [100%]
...



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


_______________________________________________
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®.