Commit Graph
10924 Commits
Author SHA1 Message Date
Luca Weiss 7b9af8330d oneplus-kebab: split downstream into separate package (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 869f5726de oneplus-instantnoodlep: split downstream into separate package (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss cc3d816cc3 oneplus-bacon: split downstream into separate package (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss b8508b9275 motorola-peregrine: split downstream into separate package (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss ba3c38b51f motorola-falcon: split downstream into separate package (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 9adacec8f6 lg-mako: split downstream into separate package (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 10a8699fe7 lg-lenok: split downstream into separate package (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 0445cab53c lg-h815: split downstream into separate package (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss cd381c6619 lg-bullhead: split downstream into separate package (MR 6491) 2025-05-15 16:20:26 +01:00
Luca Weiss b5fcd384eb huawei-sturgeon: split downstream into separate package (MR 6491) 2025-05-15 16:20:26 +01:00
Luca Weiss 5a0a535b5f huawei-angler: split downstream into separate package (MR 6491) 2025-05-15 16:20:26 +01:00
Luca Weiss 781d03a32b htc-memul: split downstream into separate package (MR 6491) 2025-05-15 16:20:26 +01:00
Luca Weiss fc2e30e70a htc-m8: split downstream into separate package (MR 6491) 2025-05-15 16:20:26 +01:00
Luca Weiss 9cce6b3788 google-crosshatch: split downstream into separate package (MR 6491) 2025-05-15 16:20:26 +01:00
Luca Weiss 8fed9fc30a fairphone-fp2: split downstream into separate package (MR 6491) 2025-05-15 16:20:26 +01:00
Luca Weiss 9993428b64 asus-sparrow: split downstream into separate package (MR 6491) 2025-05-15 16:20:26 +01:00
Luca Weiss 03bd94639f linux: add shared patch to fix section mismatch in msm_pm_boot_probe() (MR 6491)
The same patch is already used on 3 devices, to make it shared.

WARNING: vmlinux.o(.devinit.text+0x1bd4): Section mismatch in reference from the function msm_pm_boot_probe() to the function .init.text:msm_pm_boot_init()
2025-05-15 16:20:26 +01:00
Luca Weiss 06a3fd31a7 main/postmarketos-base-downstream: fix conflict with systemd-udevd (MR 6491)
ERROR: postmarketos-base-downstream-disable-udev-v4l-2-r1: trying to overwrite usr/lib/udev/rules.d/60-persistent-v4l.rules owned by systemd-udevd-257.5-r0.
2025-05-15 16:20:26 +01:00
fossdd 0b6019b013 main/postmarketos-artwork: enable lockscreen background for phosh
By default it is disabled by upstream[1], but if we use a wallpaper
thats adapted to mobile (it is anyways) and g-c-c sets both wallpapers
already.

If users want to change the lockscreen wallpaper only, they have to use
p-m-s.

[1] https://gitlab.gnome.org/World/Phosh/phosh/-/commit/24a255401288e3793a3686bf5c605d1c55bb1176

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6511
[ci:skip-build]: already built successfully in CI
2025-05-15 16:05:04 +02:00
fossdd 2f55b55832 main/postmarketos-welcome: upgrade to 0.9.0
https://gitlab.postmarketos.org/postmarketOS/postmarketos-welcome/-/tags/0.9.0

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6510
[ci:skip-build]: already built successfully in CI
2025-05-15 10:29:19 +02:00
Clayton Craft ed19fab2a3 ci/test_provides: make exception for provides with valid versions hardcoded
The APKBUILD reference seems to suggest that versioned provides= can
have any valid version string (e.g. 0.12-r3) in the `provides=` var, and
that it doesn't have to match `$pkgver-r$pkgrel` for the APKBUILD. IIRC
this test intends to catch typos like `provides=foo=$pkgver-$pkgrel`, so
this makes it pass when any valid version string is given.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
[ci:skip-build]: already built successfully in CI
2025-05-15 10:22:04 +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 196748d419 main/postmarketos-base: don't depend on alpine-base
alpine-base directly depends on openrc. We have had different[1]
conversations[2] with upstream. And the main conclussion[3] has been:
if you want to do something different, just depend on things
yourself. This is indeed what docker images do. So let's just get the
things that we want from alpine base (quite some!), and ignore what we
don't want (openrc, busybox openrc and init packages). Up until commit
12d125ab8b72f0249fd6aae000170a4fa78a83ab in pmbootstrap every
postmarketOS installation would have alpine-base in
/etc/apk/world. Therefore, we add a versioned provides to
postmarketos-base with a very high version, which conflicts with the
upstream version but should be chosen instead.

alpine-conf is now a dependency of postmarketos-base-openrc, since it
dependes on openrc for calling setup-*
scripts. postmarketos-base-systemd already implements those needed.

Contrary to the first attempt[4], I have kept the dependency on
alpine-release. Changes to that are independent to the usr-merge, and
can be done as a follow-up.

This should allow to drop the fork of alpine-base currently in the
systemd-extra repository!

To this day, every single pmOS installation will have alpine-base in
the world file, which means that systemd installs will the forked
package until users specifically run "apk del alpine-base". We must
add this to release notes and to an edge blog post. Alternatively we
could have an empty package with a very high version providing
alpine-base. This also means that to get installs to work, we need a
pmbootstrap release with[5] on it.

[1] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/63935
[2] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71686
[3] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71686#note_435428
[4] https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5026
[5] https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2580

Fixes #2806

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 f1b840646c main/postmarketos-base: remove unnecessary old replaces
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:21:48 +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
postmarketOS CI 65505d41eb linux-next: upgrade to next-20250514 2025-05-15 04:45:06 +00:00
George Brooke a467bfd1b1 systemd/postmarketos-base-systemd: enable keyd.service in base preset
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6499

[ci:skip-build]: already built successfully in CI, except unrelated qemu
runner failures
2025-05-14 14:15:01 -07:00
George Brooke 59f47ddc1e systemd/systemd-services: add keyd service file
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6499
2025-05-14 20:39:34 +01:00
Henrik Grimler d5ba79031a device-raspberry-pi5: disable dhcpd
Otherwise the ip address 172.42.16.1 is assigned to eth0, preventing
the rpi to get internet access automatically.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6504
[ci:skip-build]: already built successfully in CI
2025-05-14 17:34:06 +02:00
Henrik Grimler d460ed9b72 device-raspberry-pi5: use ttyAMA10 for second console
When I test the build the serial console is attached to ttyAMA10, not
ttyAMA0:

  107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 16, base_baud = 0) is a PL011 rev3

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6504
2025-05-14 17:34:06 +02:00
Henrik Grimler ccaf9c9d20 device-raspberry-pi5: remove quiet from cmdline
This enable kernel logs over hdmi and serial, and hence simplifies
debugging.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6504
2025-05-14 17:34:06 +02:00
Luca Weiss f847873453 device-asus-flo: Rename subpackage of old mainline kernel
Downstream is not the correct label for this, it's v4.11 upstream with
13 patches, so let's rename it.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6505
[ci:skip-build]: already built successfully in CI
2025-05-14 17:28:09 +02:00
Alistair Francis 260c54a893 systemd/networkmanager: Support Librem5 WiFi Hotspot
This applies a patch from the Purism tree [1] to ensure that the Librem5
can create a WiFi Hotspot.

Adding a hacky patch to NetworkManager is less then ideal, but there
currently isn't a better way to get WiFi Hotspot working. pmOS already
has a fork of NetworkManager so adding one more patch isn't too much
worse. If the NetworkManager fork disapears I think this patch can also
just be dropped, but while we are maintaing NetworkManager we may as
well support the Librem5.

Hopefully Purism develop a cleaner fix for this in the future, as
Librem5 development seems to have started up again.

1: https://source.puri.sm/pureos/packages/network-manager/-/blob/pureos/latest/debian/patches/pureos/wifi-Disable-WPA-PSK-SHA256-in-AP-mode.patch

Resolves: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2508
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6421
[ci:skip-build]: already built successfully in CI
2025-05-14 11:11:20 +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
Samuel Dionne-Riel 2533d06c90 ci: Always add build jobs, but disable by default
This sounds counter-productive and counter-intuitive, but hear me out:
this allows using `needs` to depend on those jobs, without further
templating downstream jobs.

In turn, those jobs depending on a disabled jobs, while they still exist
in the “graph” of the pipeline, are also transitively disabled.

This change, for all intents and purpose, is a no-op regarding the
amounts of jobs being sent to CI runners.

Also updates the comment for the placeholder job, since the wording
could lead to think that *having jobs* is sufficient. In reality, having
jobs that ran succesfully is necessary for the child pipeline to be
successful.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6399
2025-05-13 09:34:45 -07:00
postmarketOS CI 8c0af36541 linux-next: upgrade to next-20250513 2025-05-13 15:44:39 +00:00
Robert Eckelmann 9e4e957840 linux-postmarketos-grate: add myself as co-maintainer
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6464

[ci:skip-build]: already built successfully in CI
2025-05-13 14:13:46 +02:00
Robert Eckelmann 32ae2f4a1f firmware-nvidia-tegra-armv7: add myself as co-maintainer
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6464
2025-05-13 14:13:46 +02:00
Robert Eckelmann 45ccc02f31 firmware-nvidia-tegra-armv7: upgrade to latest master
should best be merged after !6379 is merged

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6464
2025-05-13 14:13:46 +02:00
Rudraksha Gupta b2cdf1e6df device-samsung-expressatt: Use lk2nd and linux-next
The following has changed:
- use lk2nd instead of heimdall
- use linux-next
- drop msm8960 pmOS kernel

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6133
[ci:skip-build]: already built successfully in CI
2025-05-13 03:51:46 -07:00
Rudraksha Gupta 341d88e8fe .ci/lib: ignore pkgrel checks for linux-next
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6133
2025-05-13 03:51:00 -07:00
George Brooke 35ded7a2d7 device-google-trogdor: workaround accelerometer issue in buffered mode
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6495

[ci:skip-build]: already built successfully in CI
2025-05-13 09:46:59 +02:00
Jane Rachinger 655ac6716d systemd/systemd: upgrade to 257.5
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6441

[ci:skip-build]: already built successfully in CI
2025-05-12 14:53:10 -07:00
fossdd 8257d957f0 main/postmarketos-ui-lomiri: set button-layout override to ":"
"" is not the correct way since applications can't split it by colon and
causes unexpected behaviours like https://gitlab.gnome.org/GNOME/libadwaita/-/issues/1032

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6478
2025-05-12 21:15:35 +02:00
Caleb Connolly 4515a2c6ea device-postmarketos-trailblazer: move most depends to recommends
None of the devices running trailblazer actually need all these daemons
or firmware. Move almost everything to recommends so that users can free
up space and so that customised images can be built with
--no-recommends.

Since there are some folks already using trailblazer who DO depend on
these packages, let's try letting users know about this at least.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6239
2025-05-12 19:32:08 +02:00