Hacking on abuild

abuild is Alpine's package building program. This article describes a workflow, that allows you to build patches for it, and quickly test them with pmbootstrap.

1. Copy Alpine's abuild aport to pmaports.git:

2. Clone the abuild source code:

3. Create a shell script that builds abuild from your checked out source, installs it, and runs a specific test.

Now you can run that script, verify that it reproduces whatever behavior you would like to change. Modify the source code, until abuild does what you want. Then upstream the patch to Alpine.