Commit Graph
10853 Commits
Author SHA1 Message Date
Robert Eckelmann 97dbb45a3d cross/gcc-*: fix building
this reverts the change of removing !tracedeps from 42a507315b

With that the building of these packages should work again

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>

[ci:skip-vercheck]

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6489
2025-05-11 16:06:44 +09:00
Clayton Craft 92de2f095a main/postmarketos-base-ui: revert qcom/adreno flatpak workaround
This reverts commit d246f597de.

The Mesa bug was fixed upstream[1] and the fix is in Mesa 25.0.5.

1. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34628

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6472
[ci:skip-build]: already built successfully in CI
2025-05-10 22:50:22 -07:00
Casey Connolly 9b3769cced treewide: update my name
[ci:skip-build]

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6488
2025-05-10 17:59:34 +02:00
Clayton Craft 42a507315b cross/gcc-*: upgrade to 14.2.0-r6 2025-05-09 13:38:36 -07:00
postmarketOS CI 90a16918dc linux-next: upgrade to next-20250509 2025-05-09 15:56:35 +00:00
Clayton Craft 5d4ff3b1be cross/busybox-static-*: upgrade to 1.37.0-r17 2025-05-08 16:34:02 -07:00
postmarketOS CI f45a677acf linux-next: upgrade to next-20250508 2025-05-08 15:57:05 +00:00
Richard Acayan e562bac43f alsa-ucm-conf-qcom-sdm670: upgrade to 1.2.9_git20250503
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6452

[ci:skip-build]: already built successfully in CI
2025-05-08 15:47:28 +02:00
Richard Acayan ee67a5204d firmware-google-sargo: add cdsp and hexagon_nn firmware
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6452
2025-05-08 15:47:28 +02:00
Richard Acayan bac53efa59 linux-postmarketos-qcom-sdm670: upgrade to v6.14.5
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6452
2025-05-08 15:47:28 +02:00
postmarketOS CI 51da0e4281 linux-next: upgrade to next-20250507 2025-05-08 04:56:27 +00:00
fossdd 43b560f778 main/postmarketos-base-ui-gnome: apply green-accent gsettings override to phosh
The value after the colon is defines to apply only to the
XDG_CURRENT_DESKTOP. Phosh upstream defines it for setting a yellow
accent color and no background image, and therefore takes priority if we
don't enforce it to the XDG_CURRENT_DESKTOP value aswell.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6479
2025-05-07 19:52:32 +02:00
fossdd 6e3a1d838b main/postmarketos-artwork: apply pmOS-wallpaper gsettings override to phosh
The value after the colon is defines to apply only to the
XDG_CURRENT_DESKTOP. Phosh upstream defines it for setting a yellow
accent color and no background image, and therefore takes priority if we
don't enforce it to the XDG_CURRENT_DESKTOP value aswell.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6479
2025-05-07 19:52:32 +02:00
fossdd e704400c1f main/postmarketos-ui-phosh: depend on sound-theme-phosh
Enables the "Sound theme for Phosh" which contains sounds like
cellbroadcast.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6480
[ci:skip-build]: already built successfully in CI
2025-05-07 17:59:06 +02:00
Ferass El Hafidi feed256853 device-amlogic-tvbox: remove xiaomi-once port
The DTS patches for it do not apply anymore, and exkc has said that
their device is now broken, so they are unable to continue maintaining
the port.

As a stop-gap solution, xiaomi-once users who still wish to use
postmarketOS can use the p212 port. They are also welcome to fix the
devicetree patches and upstream them.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6412
2025-05-07 09:48:26 +00:00
Ferass El Hafidi b332f5854a linux-postmarketos-amlogic: upgrade to 6.12.23
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6412
2025-05-07 09:48:26 +00:00
Oliver Smith cb918b3286 main/postmarketos-release-upgrade: upgrade to 1.8.1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6466
2025-05-06 18:36:24 -07:00
Clayton Craft 7a9acf86ec systemd/postmarketos-base-systemd: add configuration for systemd-resolved
Installing systemd-resolved by default is still probably not a good
idea (e.g. until #1430 is fixed, at least?), but this adds config for
NM and sd-resolved to get the stub resolver set up automatically when
systemd-resolved is installed manually by a user.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6250
[ci:skip-build]: already built successfully in CI
2025-05-06 10:19:38 -07:00
postmarketOS CI 187efa9fac linux-next: upgrade to next-20250506 2025-05-06 15:56:28 +00:00
Clayton Craft f84adcd778 main/*: explicitly depend on openrc if install scripts call rc-update
[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
[ci:skip-build]: already built successfully in CI
2025-05-06 10:49:08 +02:00
Clayton Craft a308720ea9 device-realme-x3: add nonfree-fw-openrc subpkg
This should make it possible to build systemd images for this device. I
don't know if anyone cares, but I couldn't look away when I found this
until I fixed it :D

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
2025-05-06 10:48:44 +02:00
Clayton Craft 469374de6d device/*: explicitly depend on openrc if install scripts call rc-update
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
2025-05-06 10:48:44 +02:00
C-VD 4fafe4406f samsung-chagalllte: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6457
2025-05-06 13:35:36 +09:00
Robert Eckelmann d38efd838b main/postmarketos-base-ui: add workaround for Mali GPUs w/ mesa 25
This adds 'PAN_MESA_DEBUG=noafbc' to the environment for systems with
Mediatek SoCs

closes #3692

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6470
2025-05-06 08:50:05 +09:00
Clayton Craft de59cdaa67 device-generic-x86_64: add modules to initfs to support emmc storage
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6444

[ci:skip-build]: already built successfully in CI
2025-05-05 15:40:08 -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
Clayton Craft a5cefca7b2 Revert: usr merge preparations
pmbootstrap isn't ready yet for these patches, so building systemd
images is broken when they are in pmaports.

This reverts commits:
23894ca89d.
6c78abbde6.
9bcdec3337.
53500854fe.
8639c2c0e4.
9d33e4d812.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6473
[ci:skip-build]: already built successfully in CI
2025-05-05 13:13:00 -07:00
Samuel Dionne-Riel be29aa00d7 main/postmarketos-mkinitfs-hook-ci: Print markers many times
This helps ensure the logs are actually flushed.

The numbers chosen are relatively arbitrary, and it might be that using
a longer delay, maybe with more messages too, is desirable.

Right now, it's printing 20 times over a span of 2 seconds.

The whole `precision` schtick is how we can approximate float division,
when using only integer division. Then, the important trick is to shove
the given number back into the correct representation for `sleep`, and
careful `printf` application gives us exactly what we need.

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6335
[ci:skip-build]: already built successfully in CI
2025-05-05 21:01:29 +02:00
Samuel Dionne-Riel a3155b8985 main/postmarketos-mkinitfs-hook-ci: Add message about re-enabling kernel logs
This is not needed, but better mirrors the other call.

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6335
2025-05-05 21:00:50 +02:00
Samuel Dionne-Riel c8b513cc6e main/postmarketos-mkinitfs-hook-ci: Handle shellcheck checks
- Point shellcheck to the files this is sourcing
 - Tell it about the shell in use
 - Drop unused variable (grepped around)

The last change is about how the hooks are ran. The warning shellcheck
was giving was that using `if <command...>; then ...; fi` is preferred,
instead of comparing `$?`.

This is exactly what is now being done, so the branches have been
swapped around, and the command (full path to a hook) is being used
within the if condition.

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6335
2025-05-05 21:00:50 +02: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
Pablo Correa Gómez 6c78abbde6 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). 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.

[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

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6375
2025-05-05 19:29:34 +02:00
Pablo Correa Gómez 9bcdec3337 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/6375
2025-05-05 19:29:34 +02:00
Pablo Correa Gómez 53500854fe main/postmarketos-base: remove unnecessary old replaces
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6375
2025-05-05 19:29:34 +02:00
Pablo Correa Gómez 8639c2c0e4 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/6375
2025-05-05 19:29:34 +02:00
Pablo Correa Gómez 9d33e4d812 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/6375
2025-05-05 19:29:34 +02:00
panpanpanpan 53c1445d65 device-xiaomi-nabu: depend on firmware-xiaomi-nabu instead of msm-firmware-loader
Xiaomi didn't ship some firmware in the vendor partition, so i needed to package that firmware by myself, at that point i had some reports that in some devices (or some android versions) they were missing some firmware, so i would rather go back to package the firmware in a different package

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6429
2025-05-05 19:43:43 +03:00
panpanpanpan 1bc3c1d898 firmware-xiaomi-nabu: new aport
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6429
2025-05-05 19:43:43 +03:00
postmarketOS CI 1d2357ddff linux-next: upgrade to next-20250505 2025-05-05 16:02:44 +00:00
Alexey Minnekhanov 5627d617a5 device-xiaomi-whyred: switch to mainline kernel, take maintainership
Mainline port supports all features currently available on the
platform, bringing whyred in line with the best supported devices
on the sdm660 kernel.

Working:

 * framebuffer display
 * regulators
 * volume/power keys
 * gpio hall sensor
 * battery fulegauge & charger
 * PMIC vibrator
 * PMIC WLED backlight
 * notification LED
 * storage: eMMC, SD cards
 * USB (only USB2 and only gadget mode, like the rest of the platform)
 * hardware video enocder/decoder (venus)
 * WCN3990 Bluetooth, Wi-Fi
 * Synaptics rmi4 touchscreen
 * Display (mdss), GPU Adreno 509
 * LCD IPS video mode panel (Tianma TD4310)
 * sensors are automagically supported too

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6469
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2025-05-05 04:08:59 +03:00
Alexey Minnekhanov 2831217eb2 firmware-xiaomi-whyred: new aport
Contains Wi-Fi board + metadata file and Qualcomm Adreno zap firmware.

The rest of firmware is handled by msm-firmware-loader.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6469
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2025-05-05 04:08:53 +03:00
Alexey Minnekhanov c2660af703 linux-postmarketos-qcom-sdm660: upgrade to 6.14.5
* Fixed GPUfreq scaling
* Reworked GPU speedbin handling
* new device: sdm636-xiaomi-whyred (Redmi Note 5/Pro)
* new device: sdm630-motorola-beckham (Moto Z3 Play)
* updated SMGR patchset with new types of sensors
* lots of DTB checks warnings fixed

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6469
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2025-05-05 04:08:32 +03:00
postmarketOS CI 2c6510b7c9 linux-next: upgrade to next-20250501 2025-05-01 15:56:19 +00:00
Robert Eckelmann 0c8d309324 linux-postmarketos-marvell: upgrade to 6.14.4
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6456
2025-05-01 20:23:28 +09:00
Eisenbahnfan 8347bbfac8 samsung-v1awifi: add mainline kernel variant
And set myself as maintainer.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6453
2025-05-01 02:39:05 +02:00
postmarketOS CI 4c31f80b7e linux-next: upgrade to next-20250430 2025-04-30 15:56:28 +00:00
Aster Boese fc9ca1013a postmarketos-ui-niri: new package
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6449

[ci:skip-build]: already built successfully in CI
2025-04-30 17:12:10 +02:00
Aster Boese 020ffd888d systemd/postmarketos-base-systemd: add niri presets
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6449
2025-04-30 17:12:10 +02:00
Aster Boese 83e90ecc8b systemd/systemd-services: add wlgreet service
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6449
2025-04-30 17:12:05 +02:00
Robert Eckelmann 6a341b8e75 linux-postmarketos-grate: add new defconfig items
more built-in stuff, less modules

see also https://gitlab.com/grate-driver/linux/-/commit/211e8b463bec3b2fae21475d92220cb909dabea8

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6379
2025-04-30 23:10:11 +09:00