diff --git a/doc/EN/mesh_images.org b/doc/EN/mesh_images.org index 2d23bc8e..6091bf97 100644 --- a/doc/EN/mesh_images.org +++ b/doc/EN/mesh_images.org @@ -141,15 +141,41 @@ It's better not to trust images downloaded from random places on the interwebs. First you will need to create an image. On a Debian based system (tested on Debian Stretch): #+begin_src bash -sudo apt-get -y install git wget build-essential -wget https://freedombone.net/downloads/v31/freedombone.tar.gz -wget https://freedombone.net/downloads/v31/freedombone.tar.gz.sig +sudo apt-get install xz-utils nodejs +sudo npm install -g dat +#+end_src + +To download images with dat: + +#+begin_src bash +dat clone dat://e9cbf606e55cdaa85199f4e6ec25ff7456775389979a668b3faf33e057493f8e/ +cd e9cbf606e55cdaa85199f4e6ec25ff7456775389979a668b3faf33e057493f8e +#+end_src + +Check the signature: + +#+begin_src bash gpg --verify freedombone.tar.gz.sig +#+end_src + +Install it: + +#+begin_src bash tar -xzvf freedombone.tar.gz cd freedombone git checkout stretch sudo make install +#+end_src + +Setup your build environment. If you're using Arch/Parabola substitute /debian/ for /parabola/. + +#+begin_src bash freedombone-image --setup debian +#+end_src + +And then build the image: + +#+begin_src bash freedombone-image -t i386 -v meshclient #+end_src diff --git a/website/EN/mesh_images.html b/website/EN/mesh_images.html index ac777694..500a4768 100644 --- a/website/EN/mesh_images.html +++ b/website/EN/mesh_images.html @@ -4,7 +4,7 @@ - + @@ -390,16 +390,62 @@ First you will need to create an image. On a Debian based system (tested on Debi
-
sudo apt-get -y install git wget build-essential
-wget https://freedombone.net/downloads/v31/freedombone.tar.gz
-wget https://freedombone.net/downloads/v31/freedombone.tar.gz.sig
-gpg --verify freedombone.tar.gz.sig
-tar -xzvf freedombone.tar.gz
+
sudo apt-get install xz-utils nodejs
+sudo npm install -g dat
+
+
+ +

+To download images with dat: +

+ +
+ +
dat clone dat://e9cbf606e55cdaa85199f4e6ec25ff7456775389979a668b3faf33e057493f8e/
+cd e9cbf606e55cdaa85199f4e6ec25ff7456775389979a668b3faf33e057493f8e
+
+
+ +

+Check the signature: +

+ +
+ +
gpg --verify freedombone.tar.gz.sig
+
+
+ +

+Install it: +

+ +
+ +
tar -xzvf freedombone.tar.gz
 cd freedombone
 git checkout stretch
 sudo make install
-freedombone-image --setup debian
-freedombone-image -t i386 -v meshclient
+
+
+ +

+Setup your build environment. If you're using Arch/Parabola substitute debian for parabola. +

+ +
+ +
freedombone-image --setup debian
+
+
+ +

+And then build the image: +

+ +
+ +
freedombone-image -t i386 -v meshclient