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.  These instructions have now been rewritten to only work against my github repo.  

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
git clone https://github.com/aikidokatechOpenXT/openxt.git
cd openxt
git checkout jethro-merge

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

Code Block
languagebash
cp example-config .config

...

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.

17) Edit do_build.sh and set XENCLIENT_REPO to "https://github.com/aikidokatech/xenclient-oe.git". (around line 134)18) Run the setupoe step.

Code Block
languagebash
do_build.sh -s setupoe

19) Check out the jethro-merge branch in xenclient-oe.

Code Block
cd build/repos/xenclient-oe
git checkout jethro-merge
cd ../../..

20) 18) If you are sharing an OE download cache directory, make sure to set it in build/conf/local.conf.

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

2119) Build OpenXT.  Please make sure you edit the steps in do_build.sh so you do not rerun the setupoe step!

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.

...