dee2c0a1a00f5741e75950d94b7c3ba2308a418c
Non-versioned provides with a provider priority as used before this commit are only useful for virtual packages. That is, packages which can be installed concurrently to each other. Therefore, having non-version provider signals that the forked package is intended to be allowed to be installed alongside the main package. Not only this is not the case (we don't wanted forked alsa-ucm-conf and the upstream one installed together), but in addition, doing so is impossible. That is because the main alsa-ucm-conf package provides by default a versioned provider of itself, making the concurrent installation not allowed. Therefore, using non-versioned provides, although harmless in practice, represents a packaging bug that makes understaning and reasoning about the fork harder. Instead of doing that, make the providers versioned, and remove the provider_priority. Now, it is clear that the forked alsa-ucm-conf packages must replace the upstream one. To avoid installations that do not need a forked alsa-ucm-conf, we must make sure that the version which the forked packages provide is lower than the version of the upstream package. We do so by prepending a 0. to the version, and adding an explanatory comment. Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9397>
postmarketOS aports repository
This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.
There are many more packages defined in the Alpine Linux aports on which these packages depend.
Helpful resources:
- Issues
- How to create a package
- APKBUILD reference
- pmaports commit style
- Approval rules
- Alpine Linux aports
- Alpine Linux package search
- postmarketOS package search
Git Hooks
You can find some useful git hooks in the .githooks directory.
To use them, run the following command after cloning this repository:
git config --local core.hooksPath .githooks
Languages
Shell
95.8%
Python
2.5%
C
1.2%
Batchfile
0.3%
Jinja
0.2%