Versions Compared

Key

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

...

Note

setup.sh will install the Linux containers package (lxc) and use it to create containers that will become potentially quite big (a whole build can take almost 100GB of disk space (without the WIndows VM)).

By default, lxc creates all the containers in /var/lib/lxc. If the partition for that directory is too small, the build will fail.

To change the location of the containers to, for example, /home/lxc, do the following (as root):

$ apt-get install lxc
$ echo "lxc.lxcpath = /home/lxc" > /etc/lxc/lxc.conf

Also, make sure that the lxc.lxcpath exists.


Note

If using Debian Buster (10), make sure your kernel is booted with the option "vsyscall=emulate".

For more information, see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875981


Run the following as root or with sudo:

...