Installing packages on a running phone: Difference between revisions
Appearance
m fix numbers |
m Fix formatting |
||
Line 1: | Line 1: | ||
1. Go to the pmbootstrap packages dir (by default it's <code>~/.local/var/pmbootstrap/packages</code>) | 1. Go to the pmbootstrap packages dir (by default it's <code>~/.local/var/pmbootstrap/packages</code>) | ||
2. Start a webserver <code>python3 -m http.server</code> | 2. Start a webserver <code>python3 -m http.server</code> | ||
3. Change repository on the phone to point to your dev machine in <code>/etc/apk/repositories</code>: | 3. Change repository on the phone to point to your dev machine in <code>/etc/apk/repositories</code>: | ||
Revision as of 15:22, 10 August 2018
1. Go to the pmbootstrap packages dir (by default it's ~/.local/var/pmbootstrap/packages
)
2. Start a webserver python3 -m http.server
3. Change repository on the phone to point to your dev machine in /etc/apk/repositories
:
# You can remove this line /mnt/pmbootstrap-packages # Add your host machine address http://172.16.42.2:8000 https://nl.alpinelinux.org/alpine/edge/main https://nl.alpinelinux.org/alpine/edge/community https://nl.alpinelinux.org/alpine/edge/testing
4. Upgrade the package you built with apk upgrade [package name]