Add a new architecture to postmarketOS

If you would like to port to a device architecture, that is supported by Alpine, but not by postmarketOS, you can bootstrap the architecture in pmOS with the following steps. As usually, please correct this manual if you find errors or outdated information in it.

1. Run all  calls with the following parameter to avoid querying the pmOS repos for the new architecture and therefore failing:

2. Add the architecture to  in.

3. Create aports for cross compilation (replace  with your new architecture):

4. Try to build one package for the new architecture. pmbootstrap will build necessary packages first, such as the cross compiler. If you get any Python errors, you might need to adjust architecture mappings in.

5. Build your device's linux-... package.

6. Do a full installation:

If everything worked out, please make one separate merge request to add the new architecture and mention there which device you have ported. After that merge request is through, make another one for the device.