💾 Archived View for yaky.dev › notes › pmbootstrap captured on 2023-09-08 at 16:20:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-05-24)

➡️ Next capture (2024-03-21)

🚧 View Differences

-=-=-=-=-=-=-

Yaky's

home

notes

apps

links

Building postmarketOS packages using pmbootstrap

pmbootstrap on postmarketOS wiki

Build instuctions are in APKBUILD files.

pmbootstrap only includes postmarketOS-specific packages, most software is maintained in aports (Alpine Linux ports)

Alpine linux ports

$ git clone https://github.com/alpinelinux/aports.git

Move pmaports to home directory (pmbootstrap calls pmaports directory "aports" in config)

$ olddir="$(pmbootstrap config aports)"
$ newdir="$HOME/pmaports"
$ mv "$olddir" "$newdir"
$ pmbootstrap config aports "$newdir"

Fork aport (Alpine port) into pmaports (postmarketOS Alpine ports)

$ pmbootstrap aportgen --fork-alpine megapixels

Build a package for PinePhone

$ pmbootstrap build dino --force --arch=aarch64 --src=~/src/dino

CC-BY yaky.dev