No description
This is meant to replace zram-init. It's much simpler, since it only sets up zram swap and doesn't try to do all the things that zram-init does. This also lets us add additional logic, such as selecting different default algorithms based on the runtime CPU arch and conditionally applying sysctl settings that might be inappropriate when *not* using zram swap. To create zramstart, I took the zram-configurator, which reads config from deviceinfo vars, and extended it to create the zram swap device. zramstart and zramstop were inspired by what Fedora does. The sysctl config is from the work done here: https://source.puri.sm/Librem5/librem5-base/-/merge_requests/381 Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7754> |
||
|---|---|---|
| .ci | ||
| .githooks | ||
| .gitlab/issue_templates | ||
| .well-known | ||
| cross | ||
| device | ||
| docs | ||
| extra-repos/systemd | ||
| main | ||
| modem | ||
| temp | ||
| .clang-format | ||
| .ecrc | ||
| .editorconfig | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .mailmap | ||
| channels.cfg | ||
| COMMITSTYLE.md | ||
| kconfigcheck.toml | ||
| LICENSE | ||
| pmaports.cfg | ||
| README.md | ||
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:
- How to create a package
- APKBUILD reference
- pmaports commit style
- Review and merging guidelines
- 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