Installing packages on a running phone: Difference between revisions
Appearance
update and simplify |
No edit summary |
||
Line 7: | Line 7: | ||
2. Add your own repository on top of your <code>/etc/apk/repositories</code> file on the phone (remember to adjust the IP): | 2. Add your own repository on top of your <code>/etc/apk/repositories</code> file on the phone (remember to adjust the IP): | ||
<source lang="shell"> | |||
# 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 | |||
</source> | |||
3. Upgrade the package you have built with <code>apk upgrade [package name]</code> | 3. Upgrade the package you have built with <code>apk upgrade [package name]</code> |
Revision as of 07:49, 16 November 2018
1. Go to the pmbootstrap packages dir and start a web server:
$ cd ~/.local/var/pmbootstrap/packages
$ python3 -m http.server
2. Add your own repository on top of your /etc/apk/repositories
file on the phone (remember to adjust the IP):
# 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
3. Upgrade the package you have built with apk upgrade [package name]