Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Source packages for releases of xapi-project components
Shell
branch: master

Merge pull request #94 from djs55/nbd

Add development nbd, xapi-nbd
latest commit 651cc931d9
@djs55 djs55 authored

README.md

xapi-project source packages

To build the xapi-project toolstack components from source:

First install common development tools and headers:

apt-get install build-essential libxen-dev libvirt-dev autoconf m4

Second install the opam source package manager.

Initialise an opam configuration and add this repo: (note this will install the OCaml compiler from source, so you don't need to worry about distro package versions)

opam init --comp=4.01.0
eval `opam config env`
opam remote add xapi-project git://github.com/xapi-project/opam-repo-dev

To build xapi:

opam install xapi

Testing a code change

If you want to change some library code, then you should recompile all the components that depend on that library -- opam handles this for you automatically.

Consider making a change to stdext. First clone the relevant branch and make your change:

git clone git://github.com/xapi-project/stdext

Next tell opam to use the custom version:

opam remove stdext
opam pin stdext stdext

Next install the component you want to test:

opam install xapi

After making new changes to stdext, it sufficies to:

opam update
opam upgrade

How does this relate to [xenserver/buildroot]?

The [xenserver/buildroot] repo creates binary packages of released software, easily installable via a distro's native package manager. These binary packages are intended for users.

Source packages built from this repo are intended for developers: quickly making changes, recompiling and testing.

Something went wrong with that request. Please try again.