Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update outdated download links.

These instructions will give you a container capable of building the jethro based OpenXT repo .  They will not work as-is until those PRs have been merged into the openxt and xenclient-oe repos.  If that was merged on February 4, 2016.    If you wish to reuse an old container you must at least update GCC to 4.9.2 and binutils to 2.25.

1) Install debootstrap on your host.  Below is an example of doing so in ArchLinux from AUR (Arch specific step). The Arch method will vary on if you use yaourt or have added the repo for use with pacman.

...

7) The version of GHC in Jessie is not capable of building the GHC 6.12.1 we use for OpenXT. Therefore we need to install the last version of GHC 6 (6.12.3) into the container. GHC uses GHC to compile GHC! Download the three prerequisite packages for GHC 6.12.3 and install them.

Code Block
languagebash
dpkg -i libgmpxx4ldbl_4.3.2+dfsg-1_i386.deb libgmp3c2_4.3.2+dfsg-1_i386.deb libgmp3-dev_4.3.2+dfsg-1_i386.deb

...

Code Block
languagebash
su build
cd ~

14)

...

Clone

...

the

...

OpenXT

...

repo.

Code Block
languagebash
git clone https://github.com/OpenXT/openxt.git
cd openxt

15) Create your .config file. Change any settings needed now.

...

If you build a recipe, such as dom0, in this way , you will need to also go run the run that recipe's copy step of in the do_build.sh script before rerunning the ship step (generates iso). Look at the do_build.sh script to see which steps also have a copy step.

Code Block
languagebash
DISTRO="openxt-main" MACHINE="xenclient-dom0" ./bb -c cleansstate xenclient-dom0-image
cd ..  
./do_build.sh -s dom0cp,ship

...