diff --git a/doc/EN/mesh_images.org b/doc/EN/mesh_images.org index 2d23bc8eb9436e8b38a68c6ae2f87e6e3b8c1673..6091bf9738b952f61943f7f090c7255172a857a1 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 ac77769406adef0ecb0bf029047490967ad7b07e..500a47682e121f128d2388af51c840cfa8982196 100644 --- a/website/EN/mesh_images.html +++ b/website/EN/mesh_images.html @@ -4,7 +4,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title></title> -<!-- 2018-06-16 Sat 11:38 --> +<!-- 2018-06-16 Sat 12:10 --> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="generator" content="Org-mode" /> <meta name="author" content="Bob Mottram" /> @@ -390,16 +390,62 @@ First you will need to create an image. On a Debian based system (tested on Debi <div class="org-src-container"> -<pre class="src 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 -gpg --verify freedombone.tar.gz.sig -tar -xzvf freedombone.tar.gz +<pre class="src src-bash">sudo apt-get install xz-utils nodejs +sudo npm install -g dat +</pre> +</div> + +<p> +To download images with dat: +</p> + +<div class="org-src-container"> + +<pre class="src src-bash">dat clone dat://e9cbf606e55cdaa85199f4e6ec25ff7456775389979a668b3faf33e057493f8e/ +cd e9cbf606e55cdaa85199f4e6ec25ff7456775389979a668b3faf33e057493f8e +</pre> +</div> + +<p> +Check the signature: +</p> + +<div class="org-src-container"> + +<pre class="src src-bash">gpg --verify freedombone.tar.gz.sig +</pre> +</div> + +<p> +Install it: +</p> + +<div class="org-src-container"> + +<pre class="src src-bash">tar -xzvf freedombone.tar.gz cd freedombone git checkout stretch sudo make install -freedombone-image --setup debian -freedombone-image -t i386 -v meshclient +</pre> +</div> + +<p> +Setup your build environment. If you're using Arch/Parabola substitute <i>debian</i> for <i>parabola</i>. +</p> + +<div class="org-src-container"> + +<pre class="src src-bash">freedombone-image --setup debian +</pre> +</div> + +<p> +And then build the image: +</p> + +<div class="org-src-container"> + +<pre class="src src-bash">freedombone-image -t i386 -v meshclient </pre> </div>