1b20c249cf573aa81b72b7cb8249d0b7bc28ea78
This fixes a bug where template presets with a specified instance were not being handled. The install script previously parsed the entire line, including the instance(s) and ran 'systemctl preset' on it all, e.g. 'systemctl preset unudhcpd@.service usb0'. The script will now: - detect lines that contain a template + instance(s) - diff the instances - run preset on template@instance for all added or removed instances Template presets that don't have any instances specified in the preset file (because they have a DefaultInstance= set) are treated just like any other unit since we can run preset on those and it enables the template with the default instance. Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9026>
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%