From 246e4735fdcb7e3f2ad4c9078a34a90a5062db92 Mon Sep 17 00:00:00 2001 From: Mariusz Kogen Date: Fri, 2 Apr 2021 22:11:14 +0000 Subject: [PATCH] No need to log out and back in fix --- CROSS_COMPILE.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CROSS_COMPILE.md b/CROSS_COMPILE.md index 3c7bbcb5..4728768c 100644 --- a/CROSS_COMPILE.md +++ b/CROSS_COMPILE.md @@ -1,13 +1,10 @@ Install docker: - +``` $ sudo apt install docker $ sudo usermod -aG docker $USER - -Then log out and back in. - +$ exec sudo su -l $USER $ sudo systemctl start docker - $ cargo install cross $ cross build --release --features tls_vendored --target armv7-unknown-linux-musleabihf - +``` The cross-compiled binary is at target/armv7-unknown-linux-musleabihf/release/conduit