💾 Archived View for yaky.dev › notes › pmbootstrap captured on 2024-05-10 at 10:55:45. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

➡️ Next capture (2024-08-31)

🚧 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

(C) 2024 CC BY Anton Yaky

built using spaceport