diff --git a/doc/building.html b/doc/building.html index 2348c398a53..3601fa8af16 100644 --- a/doc/building.html +++ b/doc/building.html @@ -1413,6 +1413,17 @@ like this:
http://httpredir.debian.org/debian/ # If the target architecture is `riscv64`, # the path should be `debian-ports` instead of `debian`. +To create a Ubuntu-based chroot:
+sudo debootstrap \
+ --arch=arm64 \
+ --verbose \
+ --components=main,universe \
+ --include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev,libffi-dev \
+ --resolve-deps \
+ jammy \
+ ~/sysroot-arm64 \
+ http://ports.ubuntu.com/ubuntu-ports/
+# symlinks is in the universe repository
Make sure the symlinks inside the newly created chroot point to proper locations:
sudo chroot ~/sysroot-arm64 symlinks -cr .