Installing packages on a running phone

From postmarketOS
Jump to: navigation, search
  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
  1. Upgrade the package you built with apk upgrade [package name]