💾 Archived View for yaky.dev › notes › pmbootstrap captured on 2024-03-21 at 15:17:41. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

➡️ Next capture (2024-05-10)

🚧 View Differences

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

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

home

contact

CC-BY yaky.dev

built using spaceport