Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NOTE: This is not an officially supported build environment. It is a rundown on how to get something like this to work. Maybe someday we can fully support it...

Debian Squeeze i386 instructions

The recommended OpenXT build environment is 32-bit debian squeeze. The following Debian Squeeze packages are needed before building:

...

For those that are using 64-bit and/or newer distros, one way to get a debian squeeze build environment up and running is using linux containers (LXC). You may follow the instructions to configure LXC, available at: https://wiki.debian.org/LXC

Debian Jessie x64 instructions

Setup cgroup (not necessary, see https://wiki.debian.org/LXC#Prepare_the_host):

sudo sh -c "echo cgroup /sys/fs/cgroup cgroup defaults 0 0 >> /etc/fstab"

sudo mount /sys/fs/cgroup

...

sudo MIRROR=http://mirror.steadfast.net/debian lxc-create -n openxt-buildvm-i386 -t debian -- --arch i386 --release squeeze

# You can override the default path for containers in 2 ways

# First by creating /etc/lxc/lxc.conf and setting a path of the form: lxc.lxcpath = <path>

# Or by overriding it during lxc-create (note that if you do this all other command must also use the -P <path> that is used here):

sudo MIRROR=http://mirror.steadfast.net/debian lxc-create -n openxt-buildvm-i386 -P <path> -t debian -- --arch i386 --release squeeze

Alternate networking. If you are using the new build scripts for building OpenXT 6.0 and later, you can add this new container to the private network that those scripts setup. If this is done, skip the network setup instructions on this page. The instructions are here:

Alternate Private Network

Setup NAT networking for container:

...