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

[Xen-API] Fwd: Building XAPI in CentOS 6.4


  • To: xen-api@xxxxxxxxxxxxx
  • From: Ranjeet R <rranjeet@xxxxxxxxx>
  • Date: Tue, 4 Feb 2014 01:57:00 -0800
  • Delivery-date: Tue, 04 Feb 2014 15:12:32 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hello

I am trying to build XAPI using the instructions in https://github.com/xenserver/xenserver-core in CentOS 6.4

Now, I have made a few changes in the xen-api codebase (in file ocaml/network/network_server.ml) and I have tweaked the mock build system to take my source RPMs to build XAPI.

However, it looks like the RPMs that are built do not have my changes (I made a deliberate syntax error in the code, but the RPMs are still built without issues!). After looking into the xapi.spec file in the SPECS directory, I see that only phase1 and phase2 of xen-api is built and phase3 is ignored. Snippet below -
omake phase1
omake phase2
omake ocaml/xapi/xapi
omake ocaml/xe-cli/xe

Question -
1. Why is Phase 3 ignored in the xen-api build? If phase 3 can be ignored, how does the code in directories like ocaml/network are included into the build?
2. If I need to make changes to xen-api and build it, how should I set that up.

Any pointers/help is really appreciated.

Ranjeet



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