Skip to content

jamesbulpin/xenserver-core

 
 

Repository files navigation

xenserver-core

Buildroot for xen-api and related packages, producing RPM and (experimentally) Debian packages.

RPM-based distributions

On RPM-based distributions, the packages are build using mock. To install it on a RHEL/CentOS system then you will need to add the EPEL repositories. Here is a useful article for CentOS.

After adding EPEL, install and set up mock:

yum install -y mock redhat-lsb-core

Mock will refuse to run as root. You must choose a non-privileged user to run mock as. Type the following as root:

(Note select a <user> which isn't "mock" when typing the commands below)

useradd <user> -G mock
passwd <user>

su - <user>

You are now ready to clone the xenserver-core repository and build the packages:

git clone git://github.com/xapi-project/xenserver-core.git
cd xenserver-core

./configure.sh
./makemake.py > Makefile
make

Debian-based distributions (experimental)

Building Debian packages is experimental!

On Debian-based distributions, the packages are built using pbuilder. pbuilder is available in the main Ubuntu and Debian package repositories, so there is no need to add extra ones. pbuilder does run as root, so you may wish to add your user to the sudoers list.

The build also depends on a more modern OCaml compiler, available from this PPA:

deb http://ppa.launchpad.net/avsm/ppa/ubuntu raring main 
deb-src http://ppa.launchpad.net/avsm/ppa/ubuntu raring main 

The steps to build Debian packages are the same as those to build RPMs:

git clone git://github.com/xapi-project/xenserver-core.git
cd xenserver-core

./configure.sh
./makemake.py > Makefile
make

About

RPM buildroot for xen-api and related packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 51.1%
  • Python 21.0%
  • Shell 15.8%
  • Objective-C 12.1%