blob: 8543fe16cde4b0263e3dfcd4e8fb9859e2279c0d [file] [log] [blame] [view]
andybons3322f762015-08-24 21:37:091# Using a chroot
2
Kent Tamura59ffb022018-11-27 05:30:563If you want to run web tests and you're not running Lucid, you'll get errors
nodir06cbaa02015-08-25 17:15:244due to version differences in libfreetype. To work around this, you can use a
5chroot.
andybons3322f762015-08-24 21:37:096
nodir06cbaa02015-08-25 17:15:247## Basic Instructions
andybons3322f762015-08-24 21:37:098
nodir06cbaa02015-08-25 17:15:249* Run `build/install-chroot.sh`. On the prompts, choose to install a 64-bit
10 Lucid chroot and activate all your secondary mount points.
11* sudo edit `/etc/schroot/mount-lucid64bit` and uncomment `/run` and
12 `/run/shm`. Verify that your mount points are correct and uncommented: for
13 example, if you have a second hard drive at `/src`, you should have an entry
14 like `/src /src none rw,bind 0 0`.
15* Enter your chroot as root with `sudo schroot -c lucid64`.
16 Run `build /install-build-deps.sh`, then exit the rooted chroot.
17* Delete your out/ directory if you had a previous non-chrooted build.
18* To enter your chroot as normal user, run `schroot -c lucid64`.
Daniel Bratellf73f0df2018-09-24 13:52:49