Pablo Correa Gómez
af81f21fba
ci: simplify local usage of generate_build_jobs
...
There's no need why we can't have a default value
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7725 >
2026-01-24 22:09:38 +00:00
Pablo Correa Gómez
3195aee54b
device-oneplus-fajita: drop unnecessary systemd subpackage function
...
The default_systemd function already does what we want if we place the
files in the right directories
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489 >
2026-01-15 07:48:48 +00:00
Pablo Correa Gómez
5612550691
device-oneplus-fajita: remove nonfree-firmware subpackage
...
The device won't really work well without this firmware, and
simplifies and modernizes the packaging quite a bit.
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489 >
2026-01-15 07:48:48 +00:00
Pablo Correa Gómez
241bfc2b42
main/devicepkg-dev: remove devicepkg_pmtest_post_install
...
This is no longer used, and we have better ways to do this now!
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489 >
2026-01-15 07:48:44 +00:00
Pablo Correa Gómez
ef789fa35f
device-*: remove all devicepkg_pmtest_post_install uses
...
As explained in the previous commit, this was initially envisioned to
be used in a different way, and with ci-tron the way to add the
console is different (just a gitlab variable), so this won't be needed
in the future.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489 >
2026-01-15 07:48:44 +00:00
Pablo Correa Gómez
f8a7760f82
device-oneplus-fajita: enable on ci-tron, set the kernel console
...
To enable on ci-tron, just create the gitlab-ci.yml.j2 template. This
could be reused by most other sdm845, and probably qcom devices. This
also allows dropping the devicepkg_pmtest_post_install hack, since
ci-tron will concatenate all the CI_TRON_KERNEL_CMDLINE__* variables
into a single kernel commandline.
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489 >
2026-01-15 07:48:44 +00:00
Pablo Correa Gómez
55a97f8085
ci: fix generation of build-jobs.yaml on devices without kernel variants
...
The check in Python did not work with devices without kernel variants
due to it returning None and that breaking the has_kernel_variants
check. Fix that, and also adding the kernel variant to install
packages, which was missed. In the process, rename kernels to
kernel_variants. All devices have at least one kernel, but not all
have "variants" :)
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489 >
2026-01-15 07:48:41 +00:00
Pablo Correa Gómez
b7de1b3108
ci: enable support for fastboot devices in ci-tron
...
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489 >
2026-01-15 07:48:41 +00:00
Pablo Correa Gómez
9695134893
main/postmarketos-mkinitfs-hook-ci: keep dmesg enabled
...
So we can read the complete output in the logs. This was initially
done to avoid the output from being interrupted, and therfore easier
to read. However, it avoids kernel logs to be collected, which is an
important part of the tests, and necessary for debugging. So let dmesg
be as default.
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489 >
2026-01-15 07:48:41 +00:00
Pablo Correa Gómez
37ec13a7ee
ci: update ci-tron vendored dependencies
...
This should fix missing logs on error like in
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/jobs/1465845
[ci:skip-vercheck]
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7761 >
2026-01-14 15:26:51 -08:00
Pablo Correa Gómez
11e8136f44
ci: fetch ci-common files from "main" branch
...
Relates https://gitlab.postmarketos.org/postmarketOS/postmarketos/-/issues/122
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7726 >
2026-01-14 16:48:52 +00:00
Pablo Correa Gómez
cd5aaf8e9f
ci: cache get_base_commit function calls
...
The commit shall not be updated during a CI run, and this calls git
fetch, which is considerably slow at times. This reduces the git fetch
calls down to 1 from 3 in the generate-build-jobs step.
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7649 >
2025-12-27 01:19:44 +00:00
Pablo Correa Gómez
e41cce98e8
ci: use functools.cache instead of implementing custom cache global
...
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7649 >
2025-12-27 01:19:44 +00:00
Pablo Correa Gómez
51a7792aac
ci: get supported arches from pmbootstrap instead of hard-coding
...
supported_binary reads the pmaports.cfg file, and if that is changed
in the future, we can be pretty sure we will get what we expect.
Fixes #4195
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7648 >
2025-12-26 18:29:12 +00:00
Pablo Correa Gómez
93dfbad7ba
ci: remove unused imports
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7590 >
2025-12-26 13:29:15 +00:00
Pablo Correa Gómez
41d7b0c4b7
ci: improve dependency resolution in build-jobs.yaml.j2
...
The gitlab issue is now resolved! Although we still need gitlab 18.6
to test it.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7590 >
2025-12-26 13:29:15 +00:00
Pablo Correa Gómez
4e23818b18
docs: allow TCs to backport to stable releases
...
Relates https://gitlab.postmarketos.org/postmarketOS/postmarketos/-/issues/131
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7625 >
2025-12-25 23:32:43 +00:00
Pablo Correa Gómez
12541c1a6e
main/fbdebug: drop
...
Upstreamed in Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/commit/0ad0f346192132bae89857a03e995acf2bb42b3d
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7503 >
2025-12-19 22:52:53 +00:00
Pablo Correa Gómez
4e071ba624
main/keepfileopen: drop
...
Its only consumer is now vendoring it
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7495 >
2025-12-17 16:20:53 +00:00
Pablo Correa Gómez
7e145bad88
modem/msm-modem: embed keepfileopen utility
...
This is only used in this program, so we can have one less package
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7495 >
2025-12-17 16:20:53 +00:00
Pablo Correa Gómez
5781f22c48
main/unl0kr: drop pmtest subpackage
...
This has been made unnecessary since the latest changes
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
f048d723f5
device-qemu-amd64: use postmarketos-test-unl0kr for pmtest
...
This is device-agnostic, and allows to not depend on a package that
might end up in alpine in the future
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
52e3daf0d3
device-qemu-aarch64: use postmarketos-test-unl0kr for pmtest
...
This is device-agnostic, and allows to not depend on a package that
might end up in alpine in the future
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
78700ba2c9
device-shift-axolotl: use postmarketos-test-unl0kr for pmtest
...
This is device-agnostic, and allows to not depend on a package that
might end up in alpine in the future. In the process, also remove the
unnecessary postmarketos-test dependency in makedepends. That is just
an empty package.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
18817063ee
device-xiaomi-perseus: use postmarketos-test-unl0kr for pmtest
...
This is device-agnostic, and allows to not depend on a package that
might end up in alpine in the future
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
7df5d62494
device-oneplus-fajita: use postmarketos-test-unl0kr for pmtest
...
This is device-agnostic, and allows to not depend on a package that
might end up in alpine in the future
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
d6db12f1f4
device-oneplus-enchilada: use postmarketos-test-unl0kr for pmtest
...
This is device-agnostic, and allows to not depend on a package that
might end up in alpine in the future
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
2cefeddf7e
main/postmarketos-test: add generic unl0kr test
...
This will be removed from unl0kr in the following commits, since at
some point it might be that unl0kr is not packaged in postmarketOS,
and this is a completely device-agnostic test, which is what this
package is for.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
8733e062ac
main/postmarketos-test: drop depends="postmarketos-mkinitfs-hook-ci"
...
It's actually the other way around
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:54 +00:00
Pablo Correa Gómez
e039d54678
main/unl0kr: do not copy initramfs files during tests a second time
...
Since this was introduced, we no longer create "initramfs-extra"
unconditionally. So the "extra" files will be included in the
initramfs anyway. In addition, to be able to test the initramfs-extra
split for devices that need it, we require:
* To have one of those devices available for test.
* To modify our test setup to pass a rootfs that can be mounted.
Both are long into the future, if they will ever materialize. So let's
remove this, reducing the complexity.
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553 >
2025-12-17 16:11:51 +00:00
Pablo Correa Gómez
6e99b38fc8
kconfigcheck.toml: add missing "all" arch to category:rust
...
This makes the whole thing more consistent, and allows to verify
architectures in pmb
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7527 >
2025-12-08 16:04:43 +01:00
Pablo Correa Gómez
7bbac7dea6
kconfigcheck.toml: fix architecture typo
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7523 >
2025-12-08 01:01:19 +01:00
Pablo Correa Gómez
54a80d1d04
main/cros-keyboard-map: move maintainership
...
Jenneron is not available for a while, and WeirdTreeThing is the
maintainer upstream.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7505 >
2025-12-07 12:10:04 +00:00
Pablo Correa Gómez
017e8ea414
device/*: update maintainer email from Joel Selvaraj
...
See
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7235#note_510126
[ci:skip-vercheck] Co-Maintainer lines do not require pkgbump
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7507 >
2025-12-06 22:55:12 +01:00
Pablo Correa Gómez
3e9288e447
*/*: fix Co-maintainer lines having wrong capitalization
...
And resulting in the bot not pinging people
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7507 >
2025-12-06 22:47:22 +01:00
Pablo Correa Gómez
a9c8157e38
device-google-bonito: install hexagonrpcd script under /usr
...
This is the right path for distro-provided configs
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7303
2025-12-06 13:31:48 -08:00
Pablo Correa Gómez
94e59d71e4
device-google-sargo: install hexagonrpcd script under /usr
...
This is the right path for distro-provided configs
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7303
2025-12-06 13:31:48 -08:00
Pablo Correa Gómez
cb914b669a
main/bootchart2: drop
...
This is packaged in alpine since the beginning of the year
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7504 >
2025-12-06 21:20:09 +00:00
Pablo Correa Gómez
939405962d
ci: fix test_ui failing on removing UI packages
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7498 >
2025-12-06 16:50:50 +00:00
Pablo Correa Gómez
bdefd2fb18
main/postmarketos-ui-bananui: drop
...
As per the maintainer in
https://gitlab.alpinelinux.org/alpine/aports/-/issues/17221
"I am not planning to work on bananui anymore, so unless somebody else
is ready to take over these packages, it would make more sense to drop
them than to keep them. I'm not even sure if they still work."
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7498 >
2025-12-06 16:50:50 +00:00
Pablo Correa Gómez
fbd0ab3bd7
device-qemu-aarch64: run unl0kr tests under ci-tron
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7481 >
2025-12-05 07:26:24 +01:00
Pablo Correa Gómez
c2c19a85d6
device-qemu-amd64: run unl0kr tests under ci-tron
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7481 >
2025-12-05 07:26:24 +01:00
Pablo Correa Gómez
80a7481259
wl1251-cal: rebuild to kick CI
2025-11-26 14:24:05 +01:00
Pablo Correa Gómez
ff95dd7abc
device-xiami-scorpio: move from community to testing
...
[ci:skip-vercheck]
[ci:skip-build]
[ci:skip-dint]
[ci:skip-kconfigcheck]
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7420 >
2025-11-25 07:34:00 +00:00
Pablo Correa Gómez
6d879111b1
docs: add auto-generated deviceinfo reference
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7414 >
2025-11-23 20:26:30 +00:00
Pablo Correa Gómez
05efd122f2
docs: remove unused addition to path
...
This was copied from pmbootstrap, here we're not using anything
outside the "docs" folder.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7414 >
2025-11-23 20:26:30 +00:00
Pablo Correa Gómez
c70d9c10d8
systemd/systemd-services: remove flatpak subpackage
...
The missing tempfile is now upstream:
https://gitlab.alpinelinux.org/alpine/aports/-/commit/b3da694af2b8de59b9e51317521fdbaf0e619d54
Fixes #4111
Superseeds !7415
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7416 >
2025-11-23 14:23:58 +01:00
Pablo Correa Gómez
9b02cdac75
docs: add section on ci tags available in pmaports
...
Fixes https://gitlab.postmarketos.org/postmarketOS/docs.postmarketos.org/-/issues/13
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7336 >
2025-11-12 19:13:25 +00:00
Pablo Correa Gómez
85f542bc64
editorconfig: use spaces instead of tabs for markdown
...
For consistency with the postmarketos.org repo, and to prepare for the
future documentation.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7295 >
2025-11-05 11:21:30 +00:00
Pablo Correa Gómez
ae140cb6b8
main/postmarketos-base: install fwupd-efi if fwupd and systemd-boot available
...
So that firmware can be upgraded via fwupd EFI built-in methods
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7244 >
2025-10-24 20:41:52 +00:00
Pablo Correa Gómez
2115a3ed2b
main/postmarketos-config-nftables: remove unecessary function names
...
for subpackages. abuild picks them up automatically. They are only
needed when using "-" within the subpackage suffix, as that is not a
valid character in shell scripts function names
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6221 >
2025-10-23 21:53:04 -07:00
Pablo Correa Gómez
9150a760c2
main/postmarketos-config-nftables: add rule for ausweisapp2
...
In the process, bump the pkgver to 1 similarly to what we do with
device packages where version numbers don't have a meaning. We
specifically don't create a subpackage, since the app is in flathub,
which is officially supported by the provider, and is a common way for
most non-technical users to ust it, since it's offically endorsed.
Unconditionally opening this really high port should also not increase
the attack area in any remarkable way.
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org >
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6221 >
2025-10-23 21:53:04 -07:00
Pablo Correa Gómez
bc3fb78958
ci: lib: integrate add_upstream_git_remote into get_base_commit
...
add_upstream_git_remote was just being run at beginning of every
method using get_changed_packages or get_changed_files, to have
upstream available to use get_base_commit. So then, just move it to
get_base_commit. As a positive side-effect, since the previous commit
get_base_commit will just use the gitlab variable if available. So in
CI we will just completely avoid running these two commands!
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078 >
2025-09-25 20:02:53 +00:00
Pablo Correa Gómez
7bf7616490
ci: common: don't run git if we can just get the base sha from gitlab
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078 >
2025-09-25 20:02:53 +00:00
Pablo Correa Gómez
1d6eea7261
ci: common: remove unused import
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078 >
2025-09-25 20:02:49 +00:00
Pablo Correa Gómez
028f417255
ci: pytest.sh: remove unnecessary workaround
...
The issue has been closed, and the test runs successfully
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078 >
2025-09-25 20:02:46 +00:00
Pablo Correa Gómez
b1e18658c2
ci: test_ui: only run for changed ui packages
...
Previously, this test would 12 to 16 seconds to run locally, and
having it run unconditionally slows CI (it's always the last test in
the pipelines). This commit changes it to only run on changed UI
packages, speeding up the pytest CI by more than 75% in most situations.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078 >
2025-09-25 20:02:46 +00:00
Pablo Correa Gómez
3c19b268c2
docs/merging-rules: update backporting information
...
We haven't released service packs in years, so there's no point to
document them as a process.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077 >
2025-09-25 19:55:33 +00:00
Pablo Correa Gómez
c42e5e9a32
ci: make the pipeline trigger on the default branch
...
So that we can deploy docs. In the process, replace "master" with
CI_DEFAULT_BRANCH, so it does not break when we rename.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077 >
2025-09-25 19:55:33 +00:00
Pablo Correa Gómez
f332f1b306
docs: add review and merging guidelines specific to pmaports
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077 >
2025-09-25 19:55:33 +00:00
Pablo Correa Gómez
8a9814ddc3
docs/device-categorization: avoid nesting and repetions
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077 >
2025-09-25 19:55:30 +00:00
Pablo Correa Gómez
22e782faae
githooks: add docs prefix
...
In the process, update the README to point to how to add the githooks
folder. I had to go to aports to find the command.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077 >
2025-09-25 19:55:27 +00:00
Pablo Correa Gómez
6adc515825
docs/device-categorization: remove subjective image-building requirement
...
This is not something we can measure or reason about, since "obscure"
is very subjective. An alternative of using "multiple users" has also
been discarded, since we don't have a way to measure that either for
now.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7077 >
2025-09-25 19:55:23 +00:00
Pablo Correa Gómez
ce47303e35
ci: add job to build docs and trigger handbook pipeline for deployment
...
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7065
[ci:skip-build]: already built successfully in CI
2025-09-24 12:37:31 +02:00
Pablo Correa Gómez
ca97b715c7
ci: ignore docs while checking for files in packages
...
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7065
2025-09-24 12:37:31 +02:00
Pablo Correa Gómez
b4283dcbc9
docs: initial documentation for pmaports
...
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7065
2025-09-24 12:37:31 +02:00
Pablo Correa Gómez
dbd88de572
device-samsung-a40: stop depending on removed samsung-a40-headers
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7034 >
2025-09-12 13:13:38 +02:00
Pablo Correa Gómez
5c1bb690bf
linux-samsung-a40: do not provide linux-headers
...
Providing linux-headers is an unresolved issue (see
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/152 )
and this is currently breaking the build with
"pmbootstrap config build_pkgs_on_install True".
So remove them.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7034 >
2025-09-12 13:06:26 +02:00
Pablo Correa Gómez
7273e83141
README: improve wording for commit style
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6992 >
2025-09-03 13:51:05 +00:00
Pablo Correa Gómez
6d6fcd0340
README: add review and merging guidelines
...
As agreed in
https://wiki.postmarketos.org/wiki/Team_Meetings#2025-09-01
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6992 >
2025-09-03 13:51:05 +00:00
Pablo Correa Gómez
4ecc7ec4e0
main/postmarketos-base: add compatibility subpackage with alpine-baselayout-core
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6984 >
2025-08-29 16:28:27 +00:00
Pablo Correa Gómez
f9011849a3
temp/alpine-baselayout: remove
...
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6984 >
2025-08-29 16:28:27 +00:00
Pablo Correa Gómez
244d2ab398
ci: do not run downstream pipeline if the bot is the commiter
...
The reviewers are responsible to check that the pipeline actually
built and run successfully. The bot has the option to skip the
pipeline completely, but that means we also skip the checks about
bumping pkgver and pkgrel, which means some rebases could cause
issues. Since there is no straight-foward way to make the bot add
"[ci:skip-build]" to the commit message, then we can actually do this
check instead.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6963 >
2025-08-28 20:02:26 +00:00
Pablo Correa Gómez
88b1b45879
ci: move check for package counts to where it is used
...
common is otherwise over-used with things with very little
consumers. So reduce the list by moving the
get_changed_packages_sanity_check to check_changed_aports_versions,
which is the only user. In the process, also rename it to make it more
clear what it's used for: check_package_count
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6963 >
2025-08-28 20:02:26 +00:00
Pablo Correa Gómez
c83457fed4
ci: don't re-do packages check in build_changed_aports
...
Since 218d0b1745 the pipeline is created
dynamically. This check already exists in the "commits" lint job. So
let's avoid duplicating it.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6963 >
2025-08-28 20:02:23 +00:00
Pablo Correa Gómez
5de1ce365f
main/postmarketos-base: force migration of installs to /usr merge
...
This carries some risks, but we are willing to put up with them. We
need everybody to have a /usr-merge to continue moving on our
priorities. Fortunately, the merge-usr script has received quite a lot
of testing so far.
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6389 >
2025-08-27 15:27:42 +02:00
Pablo Correa Gómez
866f80708a
main/postmarketos-ui-moonlight: disable on armhf
...
Follow-up from
https://gitlab.alpinelinux.org/alpine/aports/-/commit/4b76290cf6da103663a0c48e84783fd763a1f9d9
[ci:skip-vercheck]
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6980 >
2025-08-27 13:26:33 +00:00
Pablo Correa Gómez
9efda70d16
build-jobs: use parallel:matrix instead of copy-pasting job definitions
...
This has the additional benefit that the job is always defined, and
then we can just add the placeholder as any other job
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6693
[ci:skip-build]: already built successfully in CI
2025-08-13 12:59:38 +02:00
Pablo Correa Gómez
80d1db23ba
main/postmarketos-ui-plasma-mobile: add replaces on plasma-mobile-meta
...
Since we replace some files, e.g: /etc/xdg/kscreenlockerrc
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6879
[ci:skip-build]: already built successfully in CI
2025-08-04 20:01:20 +02:00
Pablo Correa Gómez
653b73efce
main/postmarketos-base-ui-plasma: add replaces on plasma-mobile-meta
...
Since we replace some files, e.g:
/etc/skel/.local/share/kwalletd/kdewallet.kwl
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6879
2025-08-04 20:01:20 +02:00
Pablo Correa Gómez
1008b91e7b
main/0xffff: upgrade 0.10
...
picked by pmbootstrap aportupgrade
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6601
[ci:skip-build]: already built successfully in CI
2025-08-04 16:25:21 +02:00
Pablo Correa Gómez
6a62061056
main/bootchart2: upgrade to 0.14.9_git20220807
...
picked by pmbootstrap aportupgrade
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6601
2025-08-04 16:25:21 +02:00
Pablo Correa Gómez
0257d1ee5c
build-jobs: expose the locally-generated key as an artifact
...
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6696
2025-07-30 12:54:24 +02:00
Pablo Correa Gómez
20cecf9a7e
main/msm-firmware-loader: install openrc init scripts from upstream
...
These are now included upstream, no need to keep them in pmaports
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6824
[ci:skip-build]: already built successfully in CI
2025-07-27 12:47:31 +02:00
Pablo Correa Gómez
ad9d651dba
main/msm-firmware-loader: upgrade to 1.8.0
...
The firmware mountpoint is now created under /run, so no need to
create it
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6824
2025-07-27 12:47:27 +02:00
Pablo Correa Gómez
652e1afa0f
pmaports.cfg: add supported_usr_merge
...
Since 2a9d4da33a this is supported in
pmaports.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6825
2025-07-27 12:18:14 +02:00
Pablo Correa Gómez
2a9d4da33a
temp/alpine-baselayout: fork from alpine's /usr-merge branch
...
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/85504
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6754
[ci:skip-build]: already built successfully in CI
2025-07-17 19:07:09 +02:00
Pablo Correa Gómez
bce020ea36
postmarketos-mkinitfs-hook-ci: limit repetition counts to 3
...
As suggested by Martin in
https://gitlab.postmarketos.org/postmarketOS/postmarketos-mkinitfs/-/merge_requests/63#note_485885
In the process, move the pkgver to integers, since similar to device
packages, nothing else makes sense here.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6659
[ci:skip-build]: already built successfully in CI
2025-06-16 15:57:56 +02:00
Pablo Correa Gómez
6cd2c5bc2b
main/postmarketos-base: add main package replaces for baselayout and release
...
Otherwise upgrades will fail since the files amoved where owned by the
main package before
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6602
[ci:skip-build]: already built successfully in CI
2025-06-04 18:14:37 +02:00
Pablo Correa Gómez
6cad7cea9b
main/systemd-boot: remove
...
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6506
2025-05-15 22:48:30 +02:00
Pablo Correa Gómez
3fa97cac3e
extra-repos/systemd/alpine-base: remove
...
Since last commit, we no longer depend on it in postmarketos-base, and
this fork is not necessary
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:22:04 +02:00
Pablo Correa Gómez
a00d027b40
postmarketos-base{-systemd}: provide postmarketos-base-init
...
Why is this needed?
To be able to test the usr-merge downstream we need to stop
depending on alpine-baselayout. For that, we need to stop depending on
alpine-base. This is a first step to create a "provides" solution
downstream between openrc and systemd systems, so that in a follow-up
commit we can recreate alpine-base downstream without the hard-coded
openrc dependency. The virtual instead of a versioned dependency means
that:
* In theory systemd and openrc could be installed in parallel. In
practice we avoid that with !openrc in the systemd package and
!systemd in the postmarketos-base-openrc one. There is a lot more
work required with provides (both upstream and downstream) regarding
things like elogind and eudev to be able to even have them
package-wise ready to be installed in parallel
* There must always be one installed. Here we have 3 scenarios:
* pmbootstrap install where pmbootstrap will decide which one
* update from existing install. The virtual makes sure that APK
won't remove the local package because versions changed
* Manual APK work, where the provider_priority or the user will
choose
How does this work? Hypothesis:
* openrc upgrades: the postmarketos-base-openrc remains installed,
moves from being an "install_if", to be there because it fulfills
the postmarketos-base-init requirements.
* systemd upgrades: postmarketos-base-systemd is still in
/etc/apk/world, and it fulfills the new dependency in
postmarketos-base. Nothing happens.
* openrc installs: pmbootstrap will choose one of
postmarketos-base-openrc and postmarketos-base-systemd... But which?
The one with the higher version?
* systemd installs: postmarketos-base-systemd is installed before
anything else is. That means, postmarketos-base-init will already
be satisfied when postmarketos-base gets installed, and openrc will
not be installed
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:22:03 +02:00
Pablo Correa Gómez
d717031716
main/postmarketos-base{-ui}: move bootsplash dependency to base-ui
...
Forward port from
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5026 ,
it's a small cleanup, since the bootsplash better belongs to the
base-ui package.
In the process, order alphabetically dependencies for postmarketos-base
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:21:48 +02:00
Pablo Correa Gómez
4a12c98778
main/postmarketos-base-ui: remove "_" from beginning of split functions
...
This is inconsistent through the file. In addition, the "_" prefix is
often used when a function is not directly a split function from a
subpackage, but a "private" function that others call. So remove it to
make it clear that these are subpackage split functions
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:21:48 +02:00
Pablo Correa Gómez
6622982587
ci: remove global before_script
...
We should not need to apk upgrade on stable just to check that MR
settings are correct. Simplify that, and remove an anchor only used in
one place.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6471
[ci:skip-build]: already built successfully in CI
2025-05-13 09:37:57 -07:00
Pablo Correa Gómez
fe2009a846
ci: avoid using alpine:edge on lint CI jobs
...
It is a lot more prone to breaking than stable, which is the
default. The reason to have them there is also not very clear.
The editor-config has been there since its introduction in
e7a8141113 . It might be that at the time
it was not in community or in a stable release. The shellcheck-grep
has been there since 81872a59c1 , which
was already 6 years ago. Probably at the time our tooling was a lot
less integrated and stable in alpine as it is today, and everything
was running edge.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6471
2025-05-13 09:37:57 -07:00
Pablo Correa Gómez
437edbcce9
ci: simplify rules for running pipelines
...
We were formerly running pipelines on branches when we directly pushed
or cherry-picked commits. That is no longer the case, and this is just
leftover from that.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6471
2025-05-13 09:37:57 -07:00
Pablo Correa Gómez
967b9e5756
ci: add build-jobs.yaml.j2 to all changes that have gitlab-ci.yml
...
When one applies, the other one does too
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6399
[ci:skip-build]: already built successfully in CI
2025-05-13 09:34:45 -07:00
Pablo Correa Gómez
29c5cea80f
device-pine64-pinephone: depend on openrc when enabling services
...
Relates https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2585
Relates https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2097
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6474
[ci:skip-build]: already built successfully in CI
2025-05-05 14:02:20 -07:00
Pablo Correa Gómez
23894ca89d
extra-repos/systemd/alpine-base: remove
...
Since last commit, we no longer depend on it in postmarketos-base, and
this fork is not necessary
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6375
[ci:skip-build]: already built successfully in CI
2025-05-05 19:29:34 +02:00