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 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. Attempting to have them ready for after the merge seemed to cause too much of a problem for those test. So now the take not that these instructions are designed to only work against my 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.
...
14) Clone the OpenXT repo. NOTE: If testing before the official merge then clone https://github.com/aikidokatech/openxt.git.
Code Block | ||
---|---|---|
| ||
git clone https://github.com/OpenXTaikidokatech/openxt.git cd openxt |
...
git checkout jethro-merge |
...
15) Create your .config file. Change any settings needed now.
...
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 | ||
---|---|---|
| ||
do_build.sh -s setupoe |
1819) Check out the jethro-merge branch in xenclient-oe.
Code Block |
---|
cd build/repos/xenclient-oe
git checkout jethro-merge
cd ../../.. |
20) If you are sharing an OE download cache directory, make sure to set it in build/conf/local.conf.
Code Block | ||
---|---|---|
| ||
DL_DIR = "/<path-to-OE-download-cache>" |
1921) 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.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.
...