diff --git a/tech/pinephone.wiki b/tech/pinephone.wiki index 38ffd84..2157fe6 100644 --- a/tech/pinephone.wiki +++ b/tech/pinephone.wiki @@ -26,6 +26,15 @@ system architecture. This can be done using `qemu-user-static` and `binfmt-qemu-static`. These allow you to chroot into an enviroment of a different architecture. +To chroot into the enviroment, in the root of the to be chrooted filesystem, +run + +{{{ +#replace * with the architecture +cp $(which qemu-*-static) usr/bin/ +chroot . qemu-*-static /bin/bash + }}} + === Cross compiler === First, we will be compiling on a host gentoo system. To do this, first install