diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-07 22:05:24 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-07 22:05:24 +0300 |
| commit | 0c1370b5f1b3e8abc934ea913a4377f05f32e4a9 (patch) | |
| tree | 64822a223696279b0869417a59a8112a7de5ad66 /docs/wiki/Installing-packages-on-a-running-phone | |
| parent | 91d00222d692b80a8eb22f0f193479545846ac89 (diff) | |
Initial static build
Diffstat (limited to 'docs/wiki/Installing-packages-on-a-running-phone')
| -rw-r--r-- | docs/wiki/Installing-packages-on-a-running-phone/index.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/docs/wiki/Installing-packages-on-a-running-phone/index.html b/docs/wiki/Installing-packages-on-a-running-phone/index.html new file mode 100644 index 0000000..8a358e4 --- /dev/null +++ b/docs/wiki/Installing-packages-on-a-running-phone/index.html @@ -0,0 +1,62 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + + <title>postmarketOS</title> + + <meta name="description" content="Aiming for a 10 year life-cycle for smartphones"> + <meta name="keywords" content="postmarketOS"> + + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="robots" content="all"> + + <link rel="canonical" href="https://postmarketos.org/wiki/Installing-packages-on-a-running-phone/"> + + <link href="/static/css/tachyons.min.css" rel="stylesheet"> + <link href="/static/css/main.css" rel="stylesheet"> + </head> + + <body> + <div class="mw7 center"> + <div class="cf ph2-ns"> + <a class="title" href="/"> + <h1 class="f2 lh-title"> + <img src="/static/img/recycle.png"></img> + <span>postmarketOS</span> + </h1> + </a> + <div class="menu"> + <ul> + <li><a href="/">Home</a></li> + <li><a href="/wiki/">Wiki</a></li> + <li><a href="/blog/">Blog</a></li> + </ul> + </div> + +<h1>Installing packages on a running phone</h1> +<ol> +<li>Go to the pmbootstrap packages dir (by default it's <code>~/.local/var/pmbootstrap/packages</code>)</li> +<li>Start a webserver <code>python3 -m http.server</code></li> +<li>Change repository on the phone to point to your dev machine in <code>/etc/apk/repositories</code>:</li> +</ol> +<pre class="codehilite"><code># You can remove this line +/home/user/packages/user + +# Add your dev machine, change the ip-address for your network +http://192.168.2.42:8000 + +https://nl.alpinelinux.org/alpine/edge/main +https://nl.alpinelinux.org/alpine/edge/community +https://nl.alpinelinux.org/alpine/edge/testing</code></pre> + + +<ol> +<li>Upgrade the package you built with <code>apk upgrade [package name]</code></li> +</ol> + + </div> + </div> + </body> +</html>
\ No newline at end of file |
