From f0c5c4b2d390db51e3a71d2fc80160960c3c257e Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 7 May 2022 16:15:01 -0400 Subject: [PATCH] Update for 07-05-22 16:15 --- tech/pinephone.wiki | 9 +++++++++ 1 file changed, 9 insertions(+) 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