No description
Find a file
Clayton Craft 7aee3f6f58
main/postmarketos-zram: new aport
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>
2026-01-17 16:56:28 +00:00
.ci ci: fix generation of build-jobs.yaml on devices without kernel variants 2026-01-15 07:48:41 +00:00
.githooks githooks/pre-commit: remove file size check 2025-12-22 23:53:09 +00:00
.gitlab/issue_templates gitlab/issue_templates: mark v25.12 as released 2025-12-23 14:26:08 +01:00
.well-known well-known/funding-manifest-urls: new file (MR 6074) 2025-01-20 18:59:41 +01:00
cross cross/*: add empty maintainer= variables 2026-01-17 00:51:36 +00:00
device device-samsung-a50: remove calls to fbdebug 2026-01-17 16:46:01 +01:00
docs docs: Document kconfigcheck and process for changing requirements 2026-01-13 18:00:57 +00:00
extra-repos/systemd systemd/pipewire: upgrade to 1.4.10 2026-01-17 11:14:31 +00:00
main main/postmarketos-zram: new aport 2026-01-17 16:56:28 +00:00
modem modem/pd-mapper: remove 2026-01-13 10:41:44 +00:00
temp main/postmarketos-usb-moded: add support for openrc 2026-01-15 16:52:13 +01:00
.clang-format Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.ecrc CI: .ecrc: Exclude temp from check (MR 4858) 2024-02-27 08:24:53 -08:00
.editorconfig editorconfig: use spaces instead of tabs for markdown 2025-11-05 11:21:30 +00:00
.gitignore docs: add auto-generated deviceinfo reference 2025-11-23 20:26:30 +00:00
.gitlab-ci.yml ci: fetch ci-common files from "main" branch 2026-01-14 16:48:52 +00:00
.mailmap */*: update my name and email 2026-01-11 18:52:28 +01:00
channels.cfg channels.cfg: mark v25.12 as released 2025-12-23 13:55:12 +01:00
COMMITSTYLE.md editorconfig: use spaces instead of tabs for markdown 2025-11-05 11:21:30 +00:00
kconfigcheck.toml kconfigcheck: enable all compression backends for zram 2026-01-14 21:59:26 +00:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg Build loongarch64 in CI and mark it as supported 2026-01-13 14:31:30 +00:00
README.md docs: add review and merging guidelines specific to pmaports 2025-09-25 19:55:33 +00:00

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:

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