andybons | 3322f76 | 2015-08-24 21:37:09 | [diff] [blame] | 1 | # Using a chroot |
| 2 | |
Kent Tamura | 59ffb02 | 2018-11-27 05:30:56 | [diff] [blame] | 3 | If you want to run web tests and you're not running Lucid, you'll get errors |
nodir | 06cbaa0 | 2015-08-25 17:15:24 | [diff] [blame] | 4 | due to version differences in libfreetype. To work around this, you can use a |
| 5 | chroot. |
andybons | 3322f76 | 2015-08-24 21:37:09 | [diff] [blame] | 6 | |
nodir | 06cbaa0 | 2015-08-25 17:15:24 | [diff] [blame] | 7 | ## Basic Instructions |
andybons | 3322f76 | 2015-08-24 21:37:09 | [diff] [blame] | 8 | |
nodir | 06cbaa0 | 2015-08-25 17:15:24 | [diff] [blame] | 9 | * 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 Bratell | f73f0df | 2018-09-24 13:52:49 | [diff] [blame] |
|