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.  I have added additional notes for building before the official merge.  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.

...

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

...

14) Clone the OpenXT repo. NOTE: If testing before the official merge then clone https://github.com/aikidokatech/xenclient-oe.git.

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

...

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

Code Block
languagebash
cp example-config .config

NOTE: Do not set the branch in .config to "jethro-merge".  It must remain "master" due to other build script items.

16) Generate your signing certs per https://github.com/OpenXT/openxt/wiki/Building-OpenEmbedded. Remember, you can use the bind parameter for systemd-nspawn to reuse an existing set of certs that are outside the container. Make sure to add the certificate locations to .config.

...

Code Block
languagebash
DL_DIR = "/<path-to-OE-download-cache>"

19) Build OpenXT.  NOTE: If you are testing before the official merge, move to the build/repos/xenclient-oe directory and check out the "jethro-merge" branch.

Build Notes

When running do_build.sh, either change the list of steps at the beginning of the script to what you need or specify them manually via -s. An example is below.

...