Compare commits

..
Author SHA1 Message Date
Casey Connolly cc0b993dff optee-test: fix build
properly build all TAs and pull them in, yeah we have to build
optee-client too urgh

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
2025-05-09 07:57:35 +02:00
Caleb Connolly b0a5bdaec8 main: optee-test: new aport
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-05-06 18:23:48 +02: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
Robert Eckelmann 3ccf292fc9 linux-postmarketos-grate: upgrade to 6.12.5
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
Oliver Smith 7b8aadabb3 systemd: add systemd-stage0 to provides
Prepare to add a systemd-stage0 package that will replace the existing
bootstrap logic. First we need to let systemd provide systemd-stage0 and
wait until the new binary packages are built.

In follow-up patches (MR 6440), a systemd-stage0 package will be
introduced (that does not depend on systemd-enabled dbus or polkit). The
systemd/dbus and systemd/polkit will be changed to use
systemd-stage0-dev and systemd-stage0-libs as makedepends. This makes
the following bootstrap work when building without a binary repository:

1. systemd-stage0
2. dbus
3. polkit
4. systemd

If we already have the binary repository, dbus and polkit will be built
against systemd proper as it provides systemd-stage0 packages with this
patch.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6451
[ci:skip-build]: already built successfully in CI
2025-04-29 10:30:35 -07:00
Caleb Connolly 9fbdd4e5cf systemd/*: rebuild with abuild patches
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6380

[ci:skip-build]: already built successfully in CI
2025-04-29 09:46:30 -07:00
Caleb ConnollyandClayton Craft f0b81c44b6 abuild: systemd fixes
* upgrade/rebased patches onto 3.15-rc3
* don't stop services on removal
* run preset with --force to replace symlinks (like
  display-manager.service alias).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6380
2025-04-29 09:46:30 -07:00
postmarketOS CI 7f14263f57 linux-next: upgrade to next-20250429 2025-04-29 15:56:06 +00:00
Oliver Smith 992ef34c9d systemd/gnome-session: remove _shell subpackage
Remove the _shell subpackage that Alpine has from our forked package, as
pmbootstrap currently can't handle it. It tries to build the dependency
gnome-shell for armhf even through this, even though it has !armhf.

A WIP fix for this is in pmbootstrap MR 2592. But let's try to get the
upstream compat check green again first.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
[ci:skip-build]: already built successfully in CI
2025-04-28 19:57:15 +02:00
Oliver Smith 962688a441 systemd/mutter: upgrade to 48.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:15 +02:00
Oliver Smith ee887bdbfc systemd/gnome-shell: upgrade to 48.1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:15 +02:00
Oliver Smith ef7f756fcd systemd/gnome-settings-daemon: upgrade to 48.1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:15 +02:00
Oliver Smith 0313a5af0e systemd/gnome-session: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:15 +02:00
Oliver Smith d1b63efb7a systemd/gnome-keyring: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:11 +02:00
postmarketOS CI 325bbcddbd linux-next: upgrade to next-20250428 2025-04-28 16:00:11 +00:00
Oliver Smith 02f9a9da4b systemd/upower: upgrade to 1.90.8
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6462
2025-04-27 21:10:26 +02:00
Oliver Smith 0ba46961bb systemd/dsme: upgrade to 0.84.6
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6462
2025-04-27 21:10:15 +02:00
Oliver Smith 303f1b0052 systemd/drkonqi: upgrade to 6.3.4
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6462
2025-04-27 21:10:14 +02:00
Duje Mihanović 638391bb9e linux-samsung-coreprimevelte: use patch files
Bundle patch files with the aport instead of using a custom tarball.
This allows using official tarballs and also gives more transparency.

Besides this, there's other small changes:

* Update to 6.14.4
* Add zstd to makedepends (fixes compile error)
* Drop unneeded CC assignment
* Drop unneeded mkdir call (nitpick from pmaports!6409)

Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6459
[ci:skip-build]: already built successfully in CI
2025-04-27 20:15:13 +02:00
Alexander Martinz 862f6a0919 firmware-shift-otter: add support for 8.0 and 8.1
The currently shipped firmware only worked on early EVT and DVT1
devices, because it is unsigned.

Signed firmware, to enable support for 8.0 was uploaded a long
time ago, but the firmware package was not bumped.

With this bump now all variations of otter are supported:
- EVT
- DVT1
- DVT2
- 8.0 (MP)
- 8.1 (MP)

Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6454
[ci:skip-build]: already built successfully in CI
2025-04-27 16:06:15 +02:00
Barnabás Czémán 73e6d02c1d xiaomi-kenzo: archive device specific packages
Archive Redmi Note 3 kernel, device and firmware package
in favor of device-qcom-msm8956

Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
[ci:skip-vercheck]
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5694
[ci:skip-build]: already built successfully in CI
2025-04-27 16:02:54 +02:00
Barnabás Czémán 9ca4170417 device-qcom-msm8956: new device
Add generic port for MSM8956/MSM8976 based devices.

Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5694
2025-04-27 16:02:54 +02:00
Barnabás Czémán f87489e471 linux-postmarketos-qcom-msm8956: initial package
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5694
2025-04-27 16:02:54 +02:00
Alexander Martinz 95518b7a66 device-shift-otter: remove initfs compression and kernel cmdline
The initfs compression was a leftover from when the device aport
was using the sdm845 mainline kernel (as we played with the otter
bringup there).

This resulted in causing the device to not boot.

Also remove the kernel cmdline as it is already handled by getty.

Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6455
[ci:skip-build]: already built successfully in CI
2025-04-27 15:59:39 +02:00
Alexander Martinz 383e4bcd1a device-shift-otter: depend on unl0kr-fbforcerefresh
We need to refresh the fb to show unl0kr on bootup.

Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6455
2025-04-27 15:59:38 +02:00
Duje Mihanović bb34939bc7 samsung-coreprimevelte: move from testing to community
The device has seen a decent amount of work put into it and is usable
on a basic level. Many features unfortunately remain unavailable, but
the device fulfills the wiki requirements to be moved to community, so
let's do that to increase visibility.

The PXA1908 firmware package and the U-Boot package are moved together
with the device packages.

[ci:skip-vercheck]

Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6409
[ci:skip-build]: already built successfully in CI
2025-04-27 15:55:07 +02:00
Duje Mihanović 46a3a0a7ce linux-samsung-coreprimevelte: configure for community
Change the kernel config to pass the community kconfig check.

Also update the local build version to use the flavor instead of just
-postmarketOS.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6409
2025-04-27 15:55:02 +02:00
Clayton Craft 85728d6861 main/postmarketos-ui-os-installer: new aport
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6320

[ci:skip-build]: already built successfully in CI
2025-04-25 15:52:55 -07:00
Caleb Connolly 07e2bf526c linux-next: switch to CONFIG_HZ_1000
250 is not a lot, let's try this out i guess. if it's bad we can switch
back??

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6393
[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2025-04-25 15:43:56 +03:00
postmarketOS CI ca2f28ec05 linux-next: upgrade to next-20250424 2025-04-25 04:55:43 +00:00
Robert Mader af116e013d systemd/pipewire: upgrade to 1.4.2
And switch the gitlab.freedesktop.org mirror again, see 95a5fc5dff

Release notes:
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/1.4.2

Notably this updates makes PW reliably stop on logout on systemd.
Logging out and in again previously would often leave cameras unusable.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6448
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6448
[ci:skip-build]: unable to test armhf, armv7, riscv64 because qemu runner busted, everything else OK
2025-04-24 15:17:31 -07:00
Clayton Craft ec2c2564e0 device-alcatel-ttab: update checksums
[ci:skip-vercheck]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6447
2025-04-24 12:35:15 -07:00
Oliver Smith 6530fb7496 linux-alcatel-ttab: fix missing deps
As many other downstream kernels, this needs to depend on linux-headers
to fix:

In file included from /home/pmos/build/src/android_kernel_alcatel_ttab-1795ea3c237773d32616954a03738d67d209a8d7/scripts/sortextable.c:31:
/home/pmos/build/src/android_kernel_alcatel_ttab-1795ea3c237773d32616954a03738d67d209a8d7/tools/include/tools/be_byteshift.h:4:10: fatal error: linux/types.h: No such file or directory
    4 | #include <linux/types.h>
      |          ^~~~~~~~~~~~~~~

It also needs xz:

/home/pmos/build/src/android_kernel_alcatel_ttab-1795ea3c237773d32616954a03738d67d209a8d7/scripts/xz_wrap.sh: exec: line 23: xz: not found

Related: https://builds.sr.ht/~postmarketos/job/1477748#task-pmbootstrap_build-583

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6446
[ci:skip-build]: already built successfully in CI
2025-04-24 11:48:22 -07:00
Oliver Smith 15465008dc cross/busybox-static-*: upgrade to 1.37.0-r16 2025-04-24 20:39:28 +02:00
Error504TimeOut 1b69da9511 alcatel-ttab: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6422

[ci:skip-build]: already built successfully in CI
2025-04-24 18:20:34 +02:00
Affe Null 2504124b25 jolla-c2: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6426

[ci:skip-build]: already built successfully in CI
2025-04-24 18:12:29 +02:00
Affe Null 48bad75444 CI: deviceinfo: add manufacturer exception for Jolla
Some phones sold under the Jolla brand are manufactured by a partner,
e.g. the Jolla C2 is manufactured by Reeder. Although these phones
usually have another name given to them by the manufacturer, the name
used by Jolla is more recognizable. Allow specifying a name that
starts with "Jolla" instead of the manufacturer name.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6426
2025-04-24 18:12:29 +02:00
fossdd feacb49148 modem/qrtr: remove
Upstreamed to Alpine already

Ref: https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/qrtr

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6403
[ci:skip-build]: already built successfully in CI
2025-04-24 17:47:21 +02:00
fossdd 84f364fd5a device-google-gru: fix pkgver typo
Fixes https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/11107

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6445
[ci:skip-build]: already built successfully in CI
2025-04-24 14:41:16 +02:00
Clayton Craft 60778a8e82 systemd/systemd-services: remove zram-init -s param from zram_swap.service
This causes zram-init to write to a device attr that was dropped from the 6.15 kernel, and fail:

https://github.com/torvalds/linux/commit/4127e13c9302f6892f73793f133ea4b4fffb2964

Reported upstream:
https://github.com/vaeth/zram-init/issues/50

fixes #3677

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6443
[ci:skip-build]: already built successfully in CI
2025-04-23 13:59:59 -07:00
fossdd 79deaef247 systemd/systemd-services: re-add fbd-alert-slider.service
Was previously added (052b0dc801) and removed (4e0c698208) again.
But since feedbackd from Alpine doesn't provide the service again,
re-add the service.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6401
[ci:skip-build]: already built successfully in CI
2025-04-23 10:14:00 -07:00
postmarketOS CI 20c37ca9fd linux-next: upgrade to next-20250423 2025-04-23 15:56:30 +00:00
Anton Bambura 9294392f75 device-amlogic-tvbox: disable dhcpd
These devices have an ethernet port, therefore from the wiki:

Do not set the static ip to the network interface and do not run the
DHCP daemon on it. This makes sense for devices with an ethernet
port, like the Raspberry Pi (!1580).

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6435
2025-04-23 12:52:26 +00:00
d2 c858786e73 xiaomi-rosemary: new device (Xiaomi Redmi Note 10S)
Wiki page: https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_10S_/_POCO_M5s_(xiaomi-rosemary)

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6430
[ci:skip-build]: already built successfully in CI
2025-04-23 15:35:28 +03:00
iAboothahir ff3c929a05 firmware-asus-x00td: Clean-ups
* msm-firmware-loader loads fws from partitions and add board-2.bin
* create firmware-5.bin directly in the package

Signed-off-by: iAboothahir <aboothahirpkd@gmail.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6431
[ci:skip-build]: already built successfully in CI
2025-04-23 15:31:59 +03:00
iAboothahir c805081e64 asus-x00td: move downstream port to unmaintained
device-asus-x00td:
 * Add firmware-qcom-adreno-a530 for adreno fws
 * Add msm-firmware-loader to load fws from device partitions

Signed-off-by: iAboothahir <aboothahirpkd@gmail.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6431
2025-04-23 15:31:32 +03:00
Henrik Grimler 95fe04886c device-samsung-m3: use msdos partition type
If a custom bl1 is used on sdcard, then it should be embedded at
0x200 (512). If a GPT filesystem is used, then the GPT header uses
roughly the first 0x500 bytes, and hence bl1 overwrites part of the
GPT header in that configuration.

Change to msdos partition type so that the filesystem works fine
whether or not we use stock bl1 or custom one.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6442
2025-04-23 10:45:25 +00:00
Henrik Grimler 5d9f009336 device-odroid-xu4: use msdos partition type
bl1 is embedded at 0x200 (512), but the GPT header uses roughly the first
0x500 bytes, and hence bl1 overwrites part of the GPT header.

Fix issue by changing to msdos partition type.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6442
2025-04-23 10:45:25 +00:00
Henrik Grimler b42d3861c6 device-odroid-u2: use msdos partition type
bl1 is embedded at 0x200 (512), but the GPT header uses roughly the first
0x500 bytes, and hence bl1 overwrites part of the GPT header.

Fix issue by changing to msdos partition type.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6442
2025-04-23 10:45:25 +00:00
jane400 f3659cf8d5 systemd/linux-pam-pmos: drop
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6229

[ci:skip-build]: already built successfully in CI
2025-04-22 09:38:33 -07:00
jane400 af0127e6cd systemd/postmarketos-base-systemd: use aports linux-pam
https://git.alpinelinux.org/aports/commit/main/linux-pam/APKBUILD?id=7f80c5aed763d12f46a92ea73d5d3ea979dfa7c9

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6229
2025-04-22 09:38:33 -07:00
postmarketOS CI bc4caf3b2f linux-next: upgrade to next-20250422 2025-04-22 15:56:27 +00:00
Frieder Hannenheim 3a88bde105 device-oneplus-kebab: remove debug kernel args
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6411

[ci:skip-build]: already built successfully in CI
2025-04-22 15:33:24 +02:00
Frieder Hannenheim b0892d2cbe device-oneplus-kebab: remove weston.ini, only needed for downstream kernel
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6411
2025-04-22 15:33:24 +02:00
Frieder Hannenheim 4b746b298c device-oneplus-kebab: add mainline kernel
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6411
2025-04-22 15:33:24 +02:00
Luca Weiss e319a5675b linux-postmarketos-qcom-msm8226: upgrade to 6.13.4
Manual kconfig changes:
* CONFIG_PSI=y (as required by kconfigcheck)

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6416
2025-04-22 10:36:33 +02:00
Eisenbahnfan 458952ca0c samsung-n2awifi: enable gpu support
And use modules-initfs and improve Wifi reliability and set myself as maintainer.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6433
2025-04-21 21:51:55 -07:00
Oliver Smith a2ccee27f6 Revert "ci/pytest: make sure tests run on correct branch (MR 6418)"
The wrong branch was not only used for pytest, but for all CI tests that
used pmbootstrap. I've fixed the bug in pmbootstrap now and added a
generic check to ensure we would catch a similar bug if we had one in
the future.

This reverts commit 7fd9e01f7f.

Related: pmaports issue 3674
Related: pmbootstrap MR 2586
Related: ci-common MR 14

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6439
2025-04-21 19:59:37 +02:00
Oliver Smith 6d6f2c4aa1 nokia-n900: move wl1251-cal-openrc dep to openrc
Fix master:nokia-n900:console, which is failing since the console UI was
switched to systemd by default:

  (66/230) Installing wl1251-cal-openrc (1.2-r4)
  Executing wl1251-cal-openrc-1.2-r4.post-install
  lib/apk/exec/wl1251-cal-openrc-1.2-r4.post-install: line 3: rc-update: not found
  ERROR: wl1251-cal-openrc-1.2-r4.post-install: script exited with error 127

Related: https://builds.sr.ht/~postmarketos/job/1474072#task-img-730

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6436
2025-04-21 19:20:22 +02:00
Dylan Van Assche 6d5ed690bc main/mobile-config-thunderbird: upgrade to v0.1.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6413
2025-04-21 17:14:18 +02:00
revuyd d78d8c6f2b temp/iio-sensor-proxy: upgrade to 3.7
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6423
2025-04-21 15:13:37 +02:00
postmarketOS CI ac3a8c403e linux-next: upgrade to next-20250417 2025-04-21 13:05:34 +00:00
Nikita Travkin 87ba9776d3 main/dtbloader: upgrade to 1.4.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6428
2025-04-21 14:31:36 +02:00
Alexey Minnekhanov f5c24236f9 device/archived/*: add missing tags
Only non-essential metadata was changed, no need to bump versions.
And no need to build changed packages.

[ci:skip-vercheck]
[ci:skip-build]

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6438
2025-04-21 15:06:37 +03:00
Alexey Minnekhanov c4ae7b17f0 CI: fix test_device_unmaintained -> test_device_archived
The pmbootstrap commit https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/commit/0df75422b4c6984ee6e0df23d8feec963ef449c9
renamed few things around, but pmaports CI scripts were forgotten.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6438
2025-04-21 14:27:10 +03:00
Minecrell d976b06e74 main/postmarketos-base-ui: avoid flatpak workaround conflict with adreno quirks
MR 6417 added a workaround for a GTK4 issue in flatpak by setting
GSK_RENDERER=ngl for all Qualcomm devices. This is now causing crashes on
many of the older Qualcomm devices that specifically avoid usage of the ngl
renderer. These devices already set a custom GSK_RENDERER in /etc/profile.d
(e.g. on MSM8916 devices: gl in v24.12, cairo in edge).

Several device packages install those settings into /etc/profile.d/adreno*
so let's avoid the conflict for now by reducing the priority of the flatpak
workaround and installing it to /etc/profile.d/99-flatpak*. That way the
setting from the device packages takes priority.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6434
2025-04-21 10:55:02 +02:00
Luca Weiss 1510e69d9e linux-postmarketos-qcom-sm6350: upgrade to 6.14.0
Manual kconfig changes:
* SM_VIDEOCC_6350=y

User nyl91 in #sm6350-mainline tried this out and they didn't report any (new) problems

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6388
2025-04-20 22:30:43 -07:00
Alistair Francis cd236af1b3 device-purism-librem5: upgrade to 68pureos1
Update to versino 68 of Librem5 base. As part of this we also add
u-boot-tools to makedepends as we don't install depends for building
anymore. u-boot-tools which provides mkimage does not get installed by
default.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6397
2025-04-20 22:05:27 -07:00
adamthiede dd7e924962 linux-postmarketos-mediatek-mt8173: upgrade to 6.14.3
tested on c330.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6400
2025-04-20 21:19:07 -07:00
Stefan Hansson 5d12875a20 systemd: remove duplicated option "wheel-group=true"
This is specified later in the abuild-meson invocation. Remove the extra
one to avoid confusion.

[ci:skip-vercheck]: Doesn't change the built package

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6406
2025-04-20 21:14:17 -07:00
Henrik Grimler 9ff36d0861 linux-postmarketos-exynos5: update to 6.6.87
This will be the last 6.6.x update, next update will be based on the
6.12 lts.

* Support for exynos5420-samsung-v1awifi is added thanks to
  @Eisenbahnfan

* Several: fixes for usb and charging for Exynos 5250
  devices (manta in particular) has been added thanks to @Alexmrqt

Tested on exynos5250-google-snow, exnyos5420-samsung-klimtlte and
exynos5422-odroid-xu4.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6432
[ci:skip-build]: already built successfully in CI
2025-04-20 15:23:15 +03:00
Jens Reidel bfdb04cfc4 main/hexagonfs-firmware-loader: upgrade to 1.1.0
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6402

[ci:skip-build]: already built successfully in CI
2025-04-18 17:29:21 -07:00
Jens Reidel 1da574b0c4 linux-postmarketos-qcom-sm7150: Upgrade to 6.15.0_rc2
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6420

[ci:skip-build]: already built successfully in CI
2025-04-18 17:10:50 -07:00
Oliver Smith 43fd2502a2 device-pine64-pinephonepro: fix openrc install bug
Let the openrc subpackage depend on eg25-manager-openrc to ensure the
latter gets installed first. Otherwise this can happen:

(122/741) Installing device-pine64-pinephonepro-openrc (4-r3)
Executing device-pine64-pinephonepro-openrc-4-r3.post-install
 * rc-update: service `eg25-manager' does not exist
ERROR: device-pine64-pinephonepro-openrc-4-r3.post-install: script exited with error 1
(123/741) Installing eg25-manager-openrc (0.5.2-r0)

Related: https://builds.sr.ht/~postmarketos/job/1472555#task-img-521

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6424
[ci:skip-build]: already built successfully in CI
2025-04-18 09:58:48 +02:00
Oliver Smith cce5fc272f device-samsung-lt023g: fix call to devicepkg_build
"$pkgname " was pasted in there by mistake.

Fixes: cfac29e5 ("device-samsung-lt023g: add audio subpkg to install pw")
2025-04-18 09:53:56 +02:00
Clayton Craft 5075aa3523 device-xiaomi-nabu: add audio subpkg to install pw
This also relocates some audio-related config into the new audio subpkg
so that it's only installed in cases where a UI requires audio.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
[ci:skip-build]: already built successfully in CI
2025-04-17 20:50:01 +02:00
Clayton Craft cfac29e5c0 device-samsung-lt023g: add audio subpkg to install pw
This also relocates some audio-related config into the new audio subpkg
so that it's only installed in cases where a UI requires audio.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:50:01 +02:00
Clayton Craft 01deb2b288 device-pine64-pinephone: add audio subpkg to install pw
This also relocates some audio-related config into the new audio subpkg
so that it's only installed in cases where a UI requires audio.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:50:01 +02:00
Clayton Craft af9283e9d9 main/postmarketos-ui-*: update relevant UIs to depend on pmos-base-ui-audio
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:49:58 +02:00
Clayton Craft b95fc85cbc main/postmarketos-base-ui: make -audio subpkg
This removes the audio-none subpkg, and the dependency that
postmarketos-base-ui had on it.

This renames the pmos-base-ui-audio virtual that the pw and pa backends
provided to `postmarketos-base-ui-audio-backend`.

To allow UIs to select no audio components, a new pmos-base-ui-audio
subpkg was added. UIs that need audio should depend on the virtual
pkg `postmarketos-base-ui-audio`. UIs that don't want audio can simply
depend on postmarketos-ui-base and no audio stuff will be pulled in.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:37:14 +02:00
Oliver Smith 20461d317a Revert "main/postmarketos-ui-console: do not install any audio backend by default (MR 6192)"
This reverts commit e2557598d7. The patch
caused installs to fail where the device package explicitly depends on
postmarketos-base-ui-audio-pipewire:

ERROR: unable to select packages:
  postmarketos-base-ui-audio-pipewire-35-r0:
    conflicts: postmarketos-base-ui-audio-none-35-r0[postmarketos-base-ui-audio=35-r0]
    satisfies: device-xiaomi-nabu-5-r0[postmarketos-base-ui-audio-pipewire]
               postmarketos-base-ui-35-r0[postmarketos-base-ui-audio]
  postmarketos-base-ui-audio-none-35-r0:
    conflicts: postmarketos-base-ui-audio-pipewire-35-r0[postmarketos-base-ui-audio=35-r0]
    satisfies: world[postmarketos-base-ui-audio-none]
               postmarketos-base-ui-35-r0[postmarketos-base-ui-audio]

I've also tried to move the postmarketos-base-ui-audio-pipewire
dependency into a subpackage that doesn't get installed when
postmarketos-ui-console gets installed. But that did *not* work:

audio() {
	# This does NOT work!
	install_if="$pkgname=$pkgver-r$pkgrel postmarketos-base-ui !postmarketos-ui-console"
	mkdir "$subpkgdir"
}

It could work if postmarketos-ui-console did not depend on
postmarketos-base-ui, maybe that should be looked at in a follow-up
patch. Or just install the audio stack and require the user to do
UI=none if they want a really minimal system. Let's revert the patch now
to fix failing installs in bpo, e.g. master:xiaomi-nabu:console.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:37:10 +02:00
Clayton Craft e9c344bf7a main/postmarketos-ui-cosmic: add gnome-keyring to pmb_recommends
This is used by the DE's upstream (popOS), and works reasonably well so
let's install it by default so that apps that depend on secret manager
things work OOTB.

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6410
2025-04-15 16:06:52 -07:00
Clayton Craft 225bb4696e ci: don't run test_kernel on linux-pam-pmos (MR 6418)
The pkg name changed a while back in d3545fc941.

[ci:skip-build]: already built successfully in CI
2025-04-15 14:05:27 -07:00
Clayton Craft 7fd9e01f7f ci/pytest: make sure tests run on correct branch (MR 6418)
This works around a situation where pmbootstrap init checks out the
wrong branch and we end up executing the wrong version of the tests.

For context:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6418#note_477266
2025-04-15 14:05:27 -07:00
Caleb Connolly 00919cd2c0 postmarketos-ui-conosle: use systemd
As with ever

Signed-off-by: Casey Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6415
[ci:skip-build]: already built successfully in CI
2025-04-14 13:39:36 -07:00
Oliver Smith d246f597de main/postmarketos-base-ui: add flatpak workaround (MR 6417)
Set GSK_RENDERER=ngl for QCOM devices to fix that GTK4 doesn't work in
flatpak for some of those.

[ci:skip-build]: already built successfully in CI
2025-04-14 21:28:17 +02:00
postmarketOS CI fd23d77201 linux-next: upgrade to next-20250414 2025-04-14 15:59:55 +00:00
fossdd 040111f247 systemd/phosh: upgrade to 0.46.0
https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings/-/blob/v0.46.0/NEWS

Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/e1af3dbde45fe4e7713f3fa013814ba63e3ee77a
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/49820f837d41b019dc140b5fc7aac924b3d9e90c

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6365
[ci:skip-build]: already built successfully in CI
2025-04-13 21:10:37 +02:00
Oliver Smith ff6810f821 device-pine64-pinephone: u-boot-tools in makedeps
Put u-boot-tools into makedepends to fix building the package with
current pmbootstrap master, which has stricter dependency handling.

Related: https://postmarketos.org/blog/2025/03/04/pmOS-update-2025-02/#pmbootstrap

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6407
2025-04-13 19:58:17 +02:00
Clayton Craft 2d77fa6662 ci: verify_checksums: support packages in systemd repos
In 65038ce26a the logic for also checksum checking pkgs in the systemd
repo was dropped when the logic was moved from build_changed_aports.py,
this re-introduces that logic so that checksums for packages in the
systemd repo are also checked.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6404
2025-04-12 09:17:19 -07:00
Omar Mahboubi 36875d85f2 device-xiaomi-spes: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6398

[ci:skip-build]: already built successfully in CI
2025-04-12 15:13:11 +03:00
Pablo Correa GómezandClayton Craft 218d0b1745 ci: build packages in a child pipeline instead of in the main one (MR 6366)
Following Alpine's example. This allows some optimizations:
* Don't start one job per architecture simply to skip them after
  rebase and before merge
* If there are no packages, don't start the jobs at all (not true,
  gitlab bug)
* Avoid creating jobs for architectures that don't have changed
  packages, thus further reducing the unnecessary
  jobs and possibly reducing transient failures

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-04-11 12:26:20 -07:00
Pablo Correa Gómez 65038ce26a ci: split verifying package checksums into its own job (MR 6366)
This simplifies the build_changed_aports job, and makes it a lot
easier to use dynamic pipelines in the future
2025-04-11 12:02:24 -07:00
postmarketOS CI 8328a37895 linux-next: upgrade to next-20250411 2025-04-11 15:56:32 +00:00
Bart Ribbers 5598730cb4 systemd/plasma*: upgrade to 6.3.4
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6374

[ci:skip-build]: already built successfully in CI
2025-04-11 17:03:34 +02:00
Aster Boese 02434fcd88 linux-postmarketos-apple: upgrade to 6.15.0-rc1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6392

[ci:skip-build]: already built successfully in CI
2025-04-11 16:41:11 +02:00
Alistair Francis 973e23c251 linux-purism-librem5: upgrade to 6.6.83
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6396

[ci:skip-build]: already built successfully in CI
2025-04-11 16:38:20 +02:00
postmarketOS CI 87f71e0265 linux-next: upgrade to next-20250410 2025-04-10 15:59:44 +00:00
postmarketOS CI c54467f9a8 linux-next: upgrade to next-20250409 2025-04-09 15:59:45 +00:00
WeirdTreeThing 7ff5fd8918 modem/msm-cros-efs-loader: upgrade to 1.2
adds support for systemd

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6378
[ci:skip-build]: already built successfully in CI
2025-04-09 15:35:23 +02:00
Barnabás Czémán 16e38f8760 linux-postmarketos-qcom-msm8953: upgrade to v6.14.0-r1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6383

[ci:skip-build]: already built successfully in CI
2025-04-09 15:31:48 +02:00
Luca Weiss b0eb896358 linux-postmarketos-qcom-sc7280: upgrade to 6.14.0
No manual kconfig changes.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6386
[ci:skip-build]: already built successfully in CI
2025-04-09 15:26:51 +02:00
fossdd 60b726c56a systemd/pipewire: rebuild against libcamera 0.5.0
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/82452

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6385
[ci:skip-build]: already built successfully in CI
2025-04-09 14:30:44 +02:00
fossdd 450e347047 temp/libcamera: upgrade to 0.5.0
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/82366

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6385
2025-04-09 14:30:44 +02:00
Clayton Craft 8fb9f32e44 linux-postmarketos-qcom-laptop: upgrade to 6.14
- Updated kconfig to be compliant with latest kconfigcheck
- Dropped patch for workaround, the issue is now fixed upstream

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6216
[ci:skip-build]: already built successfully in CI
2025-04-08 15:39:06 -07:00
Caleb Connolly 72de80dd30 postmarketos-initramfs: bump pkgver and fix checksums
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182

[ci:skip-build]: already built successfully in CI
2025-04-08 13:35:31 -07:00
Caleb Connolly 959786494a postmarketos-initramfs: add unit tests
Introduce some initial unit tests for the initramfs.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:31 -07:00
Caleb Connolly 2e37d40f84 CI: ignore unreferenced tests/ subdir in packages
These are used for unit testing

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:31 -07:00
Caleb Connolly 1e7fe0c4f7 CI: introduce shell unit-test infra
Introduce some basic infrastructure to allow running per-package unit
test jobs, as well as a library to support unit-testing shell scripts.

Packages can provide their own unit tests by adding a tests/
subdirectory to the package, this should contain a .gitlab-ci.yml file
with jobs that extend the .package-test job template as well as any
supporting data and scripts.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:31 -07:00
Caleb Connolly 036c802769 CI: shellcheck: allow informative checks to fail
There are lots of informative checks which are safe to ignore but happen
a lot especially with unit testing scripts. Adjust shellcheck to only
fail on warning or above.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:30 -07:00
Caleb Connolly 9eb1f8d1e7 postmarketos-initramfs: fix caching in find_root/boot_partition
These two functions echo their output, requiring the use of a subshell
to capture it. However they also attempt to cache the output in global
variables.

Unfortunately, we can't do both. Variables set in the subshell aren't
reflected in the parent shell.

Rework these functions so they take a variable to set as a parameter
(like the "read" command). This avoids spawning a subshell and enables
the caching functionality that was added previously.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:30 -07:00
Luca Weiss ac68999ebe kconfigcheck: Require HID_LENOVO only for x86(_64)
Since kernel v6.14-rc3 HID_LENOVO now depends on ACPI which we don't
want to require enabling on various non-ACPI phones.

Move to it x86 & x86_64 since it's anyways apparently only useful for
"Lenovo / Thinkpad devices".

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6387
[ci:skip-build]: already built successfully in CI
2025-04-08 11:59:40 +02:00
postmarketOS CI 6e8bc38bef linux-next: upgrade to next-20250408 2025-04-08 05:00:09 +00:00
Adam Honse 1c08b6d0ff device-samsung-hlte: enable lk2nd
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6384

[ci:skip-build]: already built successfully in CI
2025-04-07 16:18:44 +02:00
postmarketOS CI f213b76840 linux-next: upgrade to next-20250407 2025-04-07 04:59:46 +00:00
Barnabás Czémán 8cbef8ecdd device-qcom-msm89x7: enable qm215 ad sdm439
Enable qm215 and sdm439 devices.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6368
[ci:skip-build]: already built successfully in CI
2025-04-05 16:44:14 +02:00
Barnabás Czémán a6292e3187 linux-postmarketos-qcom-msm89x7: Upgrade to v6.14-r0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6368
2025-04-05 16:44:09 +02:00
WeirdTreeThing c99b9d5f4c linux-postmarketos-mediatek-mt8183: upgrade to 6.12.21
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6358

[ci:skip-build]: already built successfully in CI
2025-04-04 17:24:14 +02:00
Oliver Smith 602f1a6131 main/mobile-config-firefox: upgrade to 4.6.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6377
2025-04-03 22:00:44 -07:00
postmarketOS CI 3f52ee4eeb linux-next: upgrade to next-20250404 2025-04-04 04:56:28 +00:00
Clayton Craft bc850c6250 abuild: upgrade to 3.15-rc2
We were already running abuild > 3.14.0, but the pkgver for these forked
pkgs was wrong.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6376
2025-04-03 13:46:29 -07:00
postmarketOS CI 233e6c8722 linux-next: upgrade to next-20250403 2025-04-03 15:59:45 +00:00
Pablo Correa Gómez 329a69efa7 main/postmarketos-ui-gnome: do not use mobile version
Equivalent for GNOME of 69a4afc838

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6373
[ci:skip-build]: already built successfully in CI
2025-04-03 11:20:13 +02:00
Sicelo A. Mhlongo 9b19e3e248 main/postmarketos-base: drop udev-based firmware loading
udev no longer supports using userspace to service kernel requests for
firmware. While the kernel can be configured to send such requests to
userspace, udev will not do anything about them.

Reference: https://github.com/eudev-project/eudev/commit/3b717594600fa717cdf9bcfd0c7c1b703b245482

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6332
[ci:skip-build]: already built successfully in CI
2025-04-03 10:50:28 +02:00
panpanpanpan eb2391f497 linux-postmarketos-qcom-sm8150: Upgrade to v6.14.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6367

[ci:skip-build]: already built successfully in CI
2025-04-02 16:58:47 +02:00
panpanpanpan 9e5298babd device-xiaomi-nabu: Add a640_zap firmware and small fixes
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6367
2025-04-02 16:58:46 +02:00
David Furey 0c6620f7a2 Allow the USB network host address to be configured rather than random
The USB network host address is used by some hosts to define the interface
name. Making the host address deterministic can simplify host network
configuration.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6232
[ci:skip-build]: already built successfully in CI
2025-04-02 12:13:41 +02:00
fossdd 5a65176f72 main/postmarketos-base-ui: remove 50-firefox-wayland.sh
firefox, firefox-esr and thunderbird already default to Wayland.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6372
[ci:skip-build]: already built successfully in CI
2025-04-02 12:09:14 +02:00
fossdd d6d96bdd7c main/postmarketos-ui-gnome: remove firefox-wayland.sh
firefox, firefox-esr and thunderbird already default to Wayland.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6372
2025-04-02 12:09:14 +02:00
fossdd 4bf90844db main/postmarketos-ui-gnome-mobile: remove firefox-wayland.sh
firefox, firefox-esr and thunderbird already default to Wayland.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6372
2025-04-02 12:09:14 +02:00
fossdd dc89a04eec main/postmarketos-ui-gnome-mobile: remove blue accent color override
GNOME Mobile was upgraded to 48

This reverts commit a9e97f5aa6.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6372
2025-04-02 12:09:14 +02:00
Connor Eliffe d8b390202b device-amazon-biscuit: add alsa and pulseaudio configs
- Add UCM2 configurations for biscuit
- Add udev rule to switch headphone output
- Add asound config
- Add pulseaudio configs

This commit provides a basic pulseaudio setup for biscuit. The device appears
to only support 48kHz audio. Resampled 44kHz audio crackles and pops currently
due to the buffer underrunning. Some more tweaking may be needed to improve
audio playback quality.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6304
[ci:skip-build]: already built successfully in CI
2025-04-02 11:57:29 +02:00
fossdd 9a363671c8 main/postmarketos-ui-kodi: enable pmb:systemd
kodi.service was added in adada180b2

[ci:skip-vercheck]: only "pmb:" options changed

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6363
[ci:skip-build]: already built successfully in CI
2025-04-02 11:45:26 +02:00
Alexander Baransky b27074b162 device-qcom-sm7150: Add feedbackd udev rules for drv260x haptics
Signed-off-by: Alexander Baransky <alexander.baranskiy@yandex.ru>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6364

[ci:skip-build]: already built successfully in CI
2025-04-02 11:40:57 +02:00
Duje Mihanović ca77951c52 device-samsung-coreprimevelte: pull DTBs from /boot/dtbs
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6362

[ci:skip-build]: already built successfully in CI
2025-04-02 11:36:27 +02:00
Duje Mihanović 9b9d8a82f6 linux-samsung-coreprimevelte: install DTBs in /boot/dtbs
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6362
2025-04-02 11:36:26 +02:00
Duje Mihanović d935034c1d linux-samsung-coreprimevelte: upgrade to 6.14.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6362
2025-04-02 11:36:26 +02:00
Duje Mihanović 8721693469 device-samsung-coreprimevelte: add UDC driver to initfs
With the UDC driver being modularized, it not probing in the initfs will
cause the NCM gadget to not be set up.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6362
2025-04-02 11:36:26 +02:00
Duje Mihanović cc97d8bcfe linux-samsung-coreprimevelte: streamline config
Enable PSI, disable some unneeded options and modularize some other ones.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6362
2025-04-02 11:36:26 +02:00
Duje Mihanović b99f4bdfd4 linux-samsung-coreprimevelte: refactor APKBUILD
This also fixes envkernel building.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6362
2025-04-02 11:36:26 +02:00
r10nw7fd3 49e036cae0 device-samsung-j1mini3g: Use Samsung's sparse image format
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6349

[ci:skip-build]: already built successfully in CI
2025-04-02 11:30:36 +02:00
r10nw7fd3 b3534bd5c6 linux-samsung-j1mini3g: Add a few patches to fix build
linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
linux3.4-fix-piggy.gzip.S.patch

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6349
2025-04-02 11:30:35 +02:00
postmarketOS CI 20f3bd4963 linux-next: upgrade to next-20250402 2025-04-02 04:57:07 +00:00
Robert Mader 9f93a01375 temp/libcamera: Add workaround for black output without tuning files
Works around
https://bugs.libcamera.org/show_bug.cgi?id=259

Disable qcam RISCV because of ongoing Qt/libicuuc issues.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6328
2025-04-02 00:09:58 +02:00
fossdd 0994d42231 systemd/gnome-shell-mobile: strictly depend on mutter-mobile
Even though abuild tracks that gnome-shell-mobile depends on
libmobile.so, don't tempt apk to install the non-mobile variant.

Just like added to temp/gnome-shell-mobile in 4321b29b99

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6371
2025-04-01 23:26:43 +02:00
Barnabás Czémán f364e6551d device-xiaomi-clover: update devicetree name
sdm660-xiaomi-clover was renamed to sda660-xiaomi-clover,
update deviceinfo for follow the change.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6370
2025-04-02 00:19:40 +03:00
fossdd 7c9a78da22 temp/gnome-shell-mobile: fix missing makedependency
The issue didn't exist locally or in CI because pmb already installed py3-docutils
as a makedependency of mutter-mobile

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6369
[ci:skip-build]: already built successfully in CI
2025-04-01 21:00:16 +02:00
fossdd 5f1fee66e8 systemd/gnome-shell-mobile: fix missing makedependency
The issue didn't exist locally or in CI because pmb already installed py3-docutils
as a makedependency of mutter-mobile

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6369
2025-04-01 21:00:08 +02:00
EDK 8687aa720f device-apple-tonga: GPU fixed by adding proper mesa and gallium packages (mesa-asahi)
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6360

[ci:skip-build]: already built successfully in CI
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6360
2025-04-01 20:46:46 +02:00
fossdd 1ffebc4599 systemd/gnome-settings-daemon-mobile: provide -lang as g-s-d-lang
The provides is needed that g-s-d-lang doesnt get installed due to
the install_if to g-s-d.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:15:27 +02:00
fossdd 06af3bdb82 systemd/gnome-settings-daemon-mobile: split systemd
The provides is needed that g-s-d-systemd doesnt get installed due to
the install_if to g-s-d.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd d2cf05663a systemd/gnome-shell-mobile: upgrade to 48.0
https://gitlab.gnome.org/verdre/gnome-shell-mobile/-/blob/48.mobile.0/CHANGELOG.md

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd 2c0fa10988 systemd/mutter-mobile: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd 9aa018e762 systemd/gnome-settings-daemon-mobile: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd 74be50469e temp/gnome-shell-mobile: upgrade to 48.0
https://gitlab.gnome.org/verdre/gnome-shell-mobile/-/blob/48.mobile.0/CHANGELOG.md

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd f338ed1c2e temp/mutter-mobile: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd 483ab43906 temp/gnome-settings-daemon-mobile: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
postmarketOS CI 0a4d0fe362 linux-next: upgrade to next-20250401 2025-04-01 16:00:03 +00:00
postmarketOS CI 96c6f7b95a linux-next: upgrade to next-20250331 2025-03-31 15:56:08 +00:00
postmarketOS CI 3e440bbc3d linux-next: upgrade to next-20250328 2025-03-28 16:59:33 +00:00
postmarketOS CI 5911cfb597 linux-next: upgrade to next-20250327 2025-03-28 05:56:29 +00:00
Felix Urbasik 4dc833abc2 main/postmarketos-initramfs: add support for multi-device btrfs
This change allows mounting btrfs root filesystems which are spread
across multiple devices or partitions.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5508
[ci:skip-build]: already built successfully in CI
2025-03-27 20:49:25 +01:00
Denys Vitali e018836089 device-google-smaug: use deviceinfo_depthcharge_compression="lzma"
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6353

[ci:skip-build]: already built successfully in CI
2025-03-27 20:45:24 +01:00
Oliver Smith 9c9c62143b systemd: rework trigger script
* apk-tools passes the directories it triggers on as arguments to the
  trigger script. Use them to only run the relevant parts of the
  triggers.
* Remove "|| :" from commands, as we run the script without "set -e", it
  won't fail if a single command fails. Put explicit "exit 0" at the end
  to ensure this even if the last command beforehand failed.
* Print messages for each action so we know what is happening.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6346
[ci:skip-build]: already built successfully in CI
2025-03-27 20:33:05 +01:00
Oliver Smith fe59d6ebc5 main/mobile-config-firefox: upgrade to 4.5.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6356

[ci:skip-build]: already built successfully in CI
2025-03-26 22:20:22 +01:00
Caleb Connolly f2e83e42eb systemd-services/tailscale: use nftables backend
The iptables frontend for nftables seems to not play nice. Since we use
nftables in postmarketOS anyway, tell tailscale to use it directly. This
fixes routing not working and the following error seen in tailscale status

- adding [-i tailscale0 -j MARK --set-mark 0x40000/0xff0000] in v4/filter/ts-forward: running [/usr/sbin/iptables -t filter -A ts-forward -i tailscale0 -j MARK --set-mark 0x40000/0xff0000 --wait]: exit status 2: Warning: Extension MARK revision 0 not supported, missing kernel module?

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6344
2025-03-26 20:56:05 +01:00
Clayton Craft 2d103255db systemd/systemd: add patch to install legacy tmpfiles config
This patch is in 257, so we can drop it when upgrading. Without this
patch, we'd have to the enable sysv compat stuff in systemd just to get
this legacy.conf file generated/installed, which totally doesn't seem
worth it (the sysv compat stuff seems to be a lot!)

Fixes #3616

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6352
[ci:skip-build]: already built successfully in CI
2025-03-26 20:52:30 +01:00
Clayton Craft 55755615c4 device-lenovo-21bx: always resize the root partition
It's common to build installs for this device to flash on USB drives or
whatever, and the rootfs alwys runs out of space fast because it's not
resized on boot. Let's fix that...

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6340
2025-03-26 20:30:16 +01:00
postmarketOS CI 3c29ead9cc linux-next: upgrade to next-20250326 2025-03-26 17:16:19 +00:00
knuxify 89fe8efd03 device-odroid-hc2: take over maintainership
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6350
2025-03-26 08:17:44 +01:00
knuxify ea85ffe451 device-odroid-hc2: disable big.LITTLE switcher by default
The linux-edge kernel enables the BL_SWITCHER kernel option, which enables
an in-kernel big.LITTLE switcher - with it enabled, only 4 cores are enabled
at a time, and the kernel switches between the big and little cores. However,
in a server workload, it's more likely that a user wants all 8 cores to work
simultaneously.

Disable the switcher by default by providing the no_bL_switcher cmdline option.
It can still be re-enabled by writing 1 to /sys/kernel/bL_switcher/active.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6350
2025-03-26 08:17:44 +01:00
postmarketOS CI 0e0046687a linux-next: upgrade to next-20250325 2025-03-25 17:00:03 +00:00
adamthiede 496284b001 linux-postmarketos-mediatek-mt8173: upgrade to 6.14
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6355

[ci:skip-build]: already built successfully in CI
2025-03-24 19:29:14 -05:00
postmarketOS CI ffd706aedc linux-next: upgrade to next-20250324 2025-03-24 16:59:37 +00:00
Arnav Singh a28e39b985 linux-postmarketos-allwinner: upgrade to 6.13.8_git20250323
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6345
2025-03-23 22:14:31 -07:00
Clayton Craft 4e3a7ad0bf systemd/systemd-services: fix install_if, try 2
Typo caused an invalid install_if to be generated, convincing apk to remove pkgs

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6351
[ci:skip-build]: already built successfully in CI
2025-03-23 10:14:56 -07:00
Oliver Smith a0cc21b80c systemd/systemd-services: fix install_if
It's important to use a versioned constraint so that if the
package is ever removed from the binary repository it will actually be
removed from the users system too.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6347
[ci:skip-build]: already built successfully in CI
2025-03-23 16:10:36 +01:00
Oliver Smith c3e868d073 systemd/pipewire: pulse-systemd: add install_if
Fixes: issue 3620

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6347
2025-03-23 16:10:36 +01:00
Oliver Smith de11b06610 COMMITSTYLE: update for systemd directory
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6348
2025-03-23 14:28:11 +01:00
Oliver Smith e6bda25a0b githooks/prepare-commit-msg: add systemd prefixes
Extend the hook to automatically make useful titles for packages in
systemd directories. We had two styles for modifying the systemd package
itself, either "systemd/systemd:" or "systemd:". Pick the shorter one.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6348
2025-03-23 14:28:11 +01:00
Oliver Smith d203541889 githooks/prepare-commit-msg: refactor case...esac
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6348
2025-03-23 14:28:07 +01:00
knuxify b8866555b2 device-odroid-hc2: add u-boot-tools to makedepends
Since we don't install depends for building anymore, u-boot-tools which provides
mkimage did not get installed for CI builds. Add it to makedepends.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6342
2025-03-23 11:15:00 +01:00
knuxify 8756674afc device-odroid-hc2: Force MBR/msdos partition table type
GPT paritions seem to interfere with the firmware baked into the SD card image;
both U-Boot and various Linux tools report the GPT partition table as broken
and fall back to the backup table. Notably, this makes the card difficult to
mount in another device. "Fixing" the partition table makes it refuse to boot.

Force the msdos partition type in deviceinfo to fix this.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6342
2025-03-23 11:15:00 +01:00
Bart Ribbers ed550137da systemd/kjournald: upgrade to 24.12.3
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6339
[ci:skip-build]: already built successfully in CI
2025-03-23 11:12:40 +01:00
Oliver Smith 250e128249 systemd/plasma-workspace: set !check
As discussed with PureTryOut, let's skip checks in pmaports for this
one.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6339
2025-03-23 11:12:23 +01:00
Bart Ribbers dc7736577e systemd/plasma*: upgrade to 6.3.3
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6339
2025-03-23 11:12:13 +01:00
Caleb Connolly 7e9ed34e9d linux-next: enable USB_SND_CARD
I'd like to use my USB audio interface with my laptop!

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6343
[ci:skip-build]: already built successfully in CI
2025-03-22 20:41:48 +00:00
Clayton Craft a375ff0451 systemd/systemd: move udevadm into udev subpkg
Fixes a conflict between systemd and systemd-udev where apk thinks they both provide cmd:udevadm:

ERROR: unable to select packages:
  systemd-256.11-r2:
    conflicts: systemd-udevd-256.11-r2[cmd:udevadm=256.11-r2]
  systemd-udevd-256.11-r2:
    conflicts: systemd-256.11-r2[cmd:udevadm=256.11-r2]

[ci:ignore-count]
[ci:skip-build] already built in CI

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:33 +00:00
Clayton Craft eb8b32bdaa systemd/pipewire: update install script to match aports
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb Connolly 46ec88715c systemd/cups: restart on upgrade
Mark cups.service as requiring a restart after package upgrade.
default_systemd will pick this up and generate the post-upgrade script
for us.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb ConnollyandClayton Craft a679e5132c systemd/*: use new abuild systemd helpers
Adjust everything to use the new systemd abuild helpers. These generate
the post-install/pre-deinstall and post-upgrade scripts automagically,
and abuild now provides some helpers where it's necessary to finegle
things a bit (e.g. see the pipewire-pulse-systemd subpackage).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb Connolly 310ce2f500 abuild: switch to reworked systemd support
Switch to the new refactored systemd service support.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb Connolly 659b9c4394 systemd: add triggers for reloading/restarting services
What we want is to reload services that need to be reloaded after
upgrade (those that are marked with needs-reload or needs-restart), to
handle systemctl daemon-reload too, and to reload udev, sysusers,
tmpfiles, etc.

This all needs to be done in a particular order, which we would ideally
do with different triggers (and triggers with consistent ordering!), but
apk can't do that so instead we have this inefficient solution which
will probably do a bunch of useless processing. ah well

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb ConnollyandClayton Craft 0ddba42a61 systemd-services: use systemd funcs from abuild
Use the new default_systemd_install_scripts function from [1]. This
generates the install scripts automatically and detects what services
need to be preset/disabled/reloaded.

default_systemd wasn't used on purpose, see the comment in the patch for
an explanation.

[1]: https://gitlab.alpinelinux.org/calebccff/abuild/-/tree/85969550e41b80c82d90cd07fec7b276e8a1e1ee

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:28 +00:00
Caleb Connolly 16126b25a4 systemd-services: fix usb-moded-systemd package name
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:28 +00:00
Caleb Connolly 5f74dc3f60 systemd: add stub systemd-apk-macros to get packages building
Since we have cyclical dependencies we need this stub for everything to
build, once the binary repo is updated to drop all uses we can remove
it.

This is now all handled in abuild directly

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:18 +00:00
postmarketOS CI 8bd95745c2 linux-next: upgrade to next-20250321 2025-03-21 17:03:17 +00:00
postmarketOS CI 92044d2f94 linux-next: upgrade to next-20250320 2025-03-20 16:57:13 +00:00
panpanpanpan d1143376f8 device-xiaomi-nabu: Remove subpackages and hexagonrpcd to simplify the package (MR 6317)
As recommended on matrix, there is no need to keep everything in subpackages,
so they are being removed. Also, hexagonrpcd is being removed as it
doesn't work on this device’s soc yet.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6317

[ci:skip-build]: already built successfully in CI
2025-03-20 10:27:38 +01:00
panpanpanpan 1d87d02cb2 firmware-xiaomi-nabu: drop, this is managed by device package instead (MR 6317)
We are now using msm-firmware-loader for most of the firmware, so we can drop this

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6317
2025-03-20 10:27:34 +01:00
Sicelo A. Mhlongo 5f1119f7bb wl1251-cal: extract nvs into pmos firmware search path
This also allows us to not interfere with the upstream firmware, and thus the
trigger is no longer needed.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6333
[ci:skip-build]: already built successfully in CI
2025-03-20 10:22:27 +01:00
fossdd 25c8c04b44 systemd/mutter: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6337

[ci:skip-build]: already built successfully in CI
2025-03-19 22:04:22 +01:00
fossdd 0cfd91bb1a systemd/gdm: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6337
2025-03-19 22:04:18 +01:00
fossdd e14e379824 systemd/gnome-shell: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6337
2025-03-19 22:04:15 +01:00
fossdd 040dda1c24 systemd/gnome-settings-daemon: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6337
2025-03-19 22:04:11 +01:00
Alexey Minnekhanov c1a6d832d6 device-xiaomi-lavender: add battery modules to initfs
Having battery charger and fuelgauge modules in initfs will
allow device battery to be charged e.g. in debug-shell mode,
instead of slowly discharging and dying.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6336
[ci:skip-build]: already built successfully in CI
2025-03-19 21:16:13 +01:00
Alexey Minnekhanov 12fc6da4a4 device-xiaomi-clover: add battery modules to initfs
Having battery charger and fuelgauge modules in initfs will
allow device battery to be charged e.g. in debug-shell mode,
instead of slowly discharging and dying.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6336
2025-03-19 21:16:13 +01:00
Alexey Minnekhanov 24ac036659 device-asus-x00td: add missed rradc dependency module to initfs
qcom-spmi-rradc is a dependency of already specified charger and
fuelgauge modules.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6336
2025-03-19 21:16:13 +01:00
postmarketOS CI 0653b52b34 linux-next: upgrade to next-20250319 2025-03-19 16:59:34 +00:00
Samuel Dionne-Riel 1463902dac CI: Remove vestigial shell function wrapper
This shell function exists only within the scope of the shell. The
python script is entirely unaware of it.

(Introduced in da52dace85).

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6330
[ci:skip-build]: already built successfully in CI
2025-03-19 15:59:43 +01:00
Dzmitry Sankouski eda09407de device-samsung-starqltechn: add alsa ucm profiles dependency (MR 6322)
Starqltechn alsa ucm profiles was included in alsa-ucm-conf-sdm845
repository. Add it to dependency list to get audio working.

This also sorts depends and source lists alphabetically.

[ci:skip-build]: already built successfully in CI
2025-03-18 12:26:55 -07:00
Oliver Smith 3240d9fd57 main/postmarketos-mkinitfs: trigger: add skip hint (MR 6325)
The recent optimization of not running "mkinitfs" during the trigger
script when running in pmbootstrap lead to unexpected behavior for some
use cases: testing initramfs changes and upgrading the initramfs in the
chroot (e.g. with pmbootstrap chroot --image). Let the user know that it
gets skipped and tell them how they can force building a new initramfs,
as discussed with Caleb.

[ci:skip-build]: already built successfully in CI
2025-03-18 11:45:47 -07:00
postmarketOS CI 1cd8b92bb4 linux-next: upgrade to next-20250318 2025-03-18 16:59:51 +00:00
postmarketOS CI e4656cc2ce linux-next: upgrade to next-20250317 2025-03-17 16:59:53 +00:00
Clayton Craft 2beeeca388 systemd/systemd-services: add unit files for alsa-utils
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6287
2025-03-17 08:47:11 +01:00
Clayton Craft f0a72fc9e1 systemd/postmarketos-base-systemd: add presets for alsa-utils
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6287
2025-03-17 08:46:48 +01:00
Barnabás Czémán 6250f405f6 soc-qcom-msm89x7: Add wireplumber config
Add wireplumber config for fix low volume issue.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6327
[ci:skip-build]: already built successfully in CI
2025-03-16 22:20:55 +01:00
Barnabás Czémán 80c5a8df14 linux-postmarketos-msm89x7: Upgrade to v6.13.6-r0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6327
2025-03-16 22:20:50 +01:00
Oliver Smith 95a5fc5dff systemd/{pipewire,networkmanager}: use github mirror
The gitlab.freedesktop.org mirror is currently not available:
> Currently planned outage: 2025-03-16 -> 2025-03-22

Let's use the github.com mirror until then. Impressively they have the
same checksum.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
Oliver Smith a7a53ade27 systemd/multipath-tools: upgrade to 0.11.1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290

[ci:skip-build]: already built successfully in CI
2025-03-16 21:05:53 +01:00
Oliver Smith 3191d49ae0 systemd/drkonqi: upgrade to 6.3.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
fossdd 2372400b69 systemd/networkmanager: upgrade to 1.52.0
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/ec41b2fc0fec4d8e98d2c96f319988e402db598a

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
fossdd 49ec30d635 systemd/mutter: upgrade to 47.6
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/b541cbddc6ea52afb782c614f237682c6c7e2781

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
Oliver Smith ea30fd0e26 systemd/xorg-server: upgrade 21.1.16
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
fossdd 3c0cba8a7e systemd/gnome-shell: upgrade to 47.5
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/10392e5e13e9a098dc79b009227d7d1a4cc2bdc8

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
Oliver Smith fda0890ed4 systemd/pipewire: disable tests
One of the tests fails with a timeout when building through pmbootstrap
and our gitlab CI. Disable it for now, as the package is very similar to
the Alpine package this shouldn't be much of a problem.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
fossdd 05336c554d systemd/pipewire: upgrade to 1.4.1
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/a0b4c813c66f812bba56da6603a11d5bdeba662d
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/a1c2f5b55925d1febc3feb2e6772e63ffb0334c1
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/5f7e0b7cbb6c786ce07a6393c804c7c5cb4d0ea1
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/d93edb2de92923915f04d9420393f64f8b334cd3
- https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/81346

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
Gianluca Boiano d2bb0c8068 firmware-xiaomi-tulip: remove unused files
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6323

[ci:skip-build]: already built successfully in CI
2025-03-16 20:48:04 +01:00
Alexey Minnekhanov dc0c90738d linux-postmarketos-qcom-sdm660: upgrade to 6.13.7
Perhaps the biggest highlight of this release is addition of
Qualcomm Sensor Manager support (thx @Tooniis).

Several little impovements:

 * Notification LED support for clover, laevnder, tulip ( @setotau )
 * missing SDCC block resets were added, several devices ( @alexeymin )
 * missing SD card detect GPIOs were added, several devices ( @alexeymin )
 * SD card instability was fixed, several devices ( @alexeymin )
 * pd_mapper module now supports SDM630/636 ( @alexeymin )
 * numerous dtbs_check warnings fixed, in preparation for upstreaming
 * several commits were dropped, they are now upstream!

Manual config changes:
 * SNS_REG/SMGR modules were enabled
 * LED/QCOM_LPG modules were enabled

FIXME: qrtr as a bus requires some kconfigs to be =y (for SMGR patchset):
 * CONFIG_QRTR=y
 * CONFIG_QRTR_SMD=y

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6321
[ci:skip-build]: already built successfully in CI
2025-03-16 20:43:19 +01:00
Paul Sajna 2bdcf3dbf1 device-lg-judy{ln,p},linux-postmarketos-qcom-sdm845: backport judy uart to fix getty
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6324

[ci:skip-build]: already built successfully in CI
2025-03-15 22:02:38 -07:00
postmarketOS CI c5cc2e47bd linux-next: upgrade to next-20250314 2025-03-15 05:59:23 +00:00
Caleb Connolly 6f1862193c linux-next: enable QCOM_CPUCP_MBOX
This isn't used yet but will be required for SCMI cpu frequency scaling
on X1 Elite. Let's get ready for that by enabling it now.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build] already built in CI
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5814
2025-03-14 22:08:01 +00:00
Pablo Correa Gómez 4dbf379cdb main/postmarketos-dev: add openssh-client as dependency
And reorder deps alphabetically. This is a follow-up from
f85eabcca6

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6305
[ci:skip-build]: already built successfully in CI
2025-03-14 21:55:34 +01:00
Caleb Connolly b7118581dd postmarketos-initramfs: bump pkgver and checksum
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:07 +00:00
Caleb Connolly 865653c97d postmarketos-initramfs: log splash messages
log splash messages with the new info log level. This can be useful when
working on headless devices.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:07 +00:00
Caleb Connolly 4d3958c4a5 postmarketos-initramfs: add rd.info arg and reduce logging
Support the rd.info cmdline argument to enable additional info logging,
and reduce the log level of some things to info so we print less
overall.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:07 +00:00
Caleb Connolly 8400fffefb postmarketos-initramfs: refactor cmdline parsing
Currently the initramfs is littered with various code snippets which
read /proc/cmdline. This is error prone and results in more complicated
code especially as we want to standardise all the pmos specific cmdline
arguments, and where some arguments have the same behaviour as
deviceinfo variables.

Let's do the parsing correctly, once, and set global variables to
enable/disable/configure parts of the initramfs. At the same time
introduce namespaced and standard versions of the remaining arguments
which haven't been standardised yet.

Now (for example) to check if the splash is disabled, rather than
grepping /proc/cmdline for PMOS_NOSPLASH AND checking if
deviceinfo_no_framebuffer is true, you can just check if "$nosplash" =
"y".

This will drastically simplify the process of adding additional
configuration options in the future.

Most of the code here was taken from the Arch Linux initramfs and
simplified/adjusted to better fix our use case.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:07 +00:00
Caleb Connolly 91c5784bd4 postmarketos-initramfs: refactor find_root/boot_partition
These functions are almost identical and follow the same logic.
Introduce a generic find_partition function which they can both call
into so we can abstract the logic away from the specific usage and make
everything much cleaner.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:06 +00:00
Caleb Connolly 024422416f postmarketos-initramfs: refactor setup_log
Simplify things by putting all the log targets in one variable, and add
a special-case to log to consoles when pmos.nosplash is set and no
consoles are used by the kernel (e.g. because console=null is set).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:06 +00:00
Caleb Connolly 4133f4aeb5 postmarketos-initramfs: use local for more function-local variables
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:06 +00:00
Caleb Connolly acb5d895b3 postmarketos-initramfs: reword debug-shell usb storage info
Make it clearer what is exposed over USB and why rather than just
printing the cmdline option.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:02 +00:00
Clayton Craft 8947f03100 systemd/postmarketos-base-systemd: add some missing user presets 2025-03-14 10:20:42 -07:00
Clayton Craft 8447742b20 systemd/systemd: ship a default user preset
This adds a default preset for user units, that disables them by
default. This behavior is identical to what we do with system presets,
which means that if we want a unit enabled by default then we need
to add a preset for it or rely on some other unit to pull it in
automatically. Without this default preset, user units are enabled by
default when `systemctl preset` is run on them, which may not always be
the desired behavior (i.e. we don't want this behavior with system units).
2025-03-14 10:20:42 -07:00
jane400andClayton Craft d9c21e9058 systemd/postmarketos-base-systemd: run systemctl on preset changes for already installed units (MR 6120)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

[ci:skip-build]: already built successfully in CI
2025-03-14 10:20:37 -07:00
Dzmitry Sankouski 267126bc8a firmware-samsung-sdm845: delete package
Delete package - it was replaced with msm-firmware-loader.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6315
[ci:skip-build]: already built successfully in CI
2025-03-14 17:31:10 +01:00
Dzmitry Sankouski d2430d5b9e device-samsung-starqltechn: firmware: add msm-firmware-loader
Starqltechn required firmware to be pulled out of the particular phone.
Replace starqltechn firmware package dependency with
msm-firmware-loader.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6315
2025-03-14 17:31:10 +01:00
J. Neuschäfer 40bb2bc9ca linux-postmarketos-amlogic: fix wifi on Ugoos AM3
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6319

[ci:skip-build]: already built successfully in CI
2025-03-14 17:24:23 +01:00
Clayton Craft 2679dce766 systemd/dbus: upgrade to 1.16.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6289
2025-03-14 15:41:57 +01:00
Jens Reidel 3c15d13757 linux-postmarketos-qcom-sm7150: Upgrade to 6.13.7
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6318
2025-03-14 06:23:47 +01:00
Clayton Craft 0faf7b73d1 issue template: add COSMIC UI option (MR 6274)
[ci:skip-build]: already built successfully in CI
2025-03-13 10:57:35 -07:00
Clayton Craft f62fc95d7d main/postmarketos-ui-cosmic: new aport (MR 6274) 2025-03-13 10:57:35 -07:00
Clayton Craft ad6dc88dd7 systemd/systemd-services: add unit files for COSMIC greeter (MR 6274) 2025-03-13 10:57:35 -07:00
Clayton Craft 71df49fd16 systemd/postmarketos-base-systemd: add preset for COSMIC greeter (MR 6274) 2025-03-13 10:57:35 -07:00
postmarketOS CI 94a830e9a2 linux-next: upgrade to next-20250313 2025-03-13 16:59:49 +00:00
Stephanie Bread b3f4741789 main/postmarketos-base-ui-gnome: add gvfs packages (MR 6314)
[ci:skip-build]: already built successfully in CI
2025-03-13 16:35:00 +01:00
Dzmitry Sankouski be40ee69cf device-samsung-starqltechn: add modules-initfs (MR 6310)
Add starqltechn initfs modules, recently enabled in linux kernel.
This provides touchscreen and haptics support when in initramfs.
This allows to use onscreen keyboard in initramfs debug mode.
2025-03-13 11:48:30 +03:00
Caleb Connolly 993429917f HACK: systemd: dbus: disable bootstrap logic (MR 6313)
Get dbus building in edge again. This regressed due to the cross-native2
work in pmb which stopped using abuild to install makedepends and does
it in pmb instead. But pmbootstrap's parsing logic can't handle
conditions in the APKBUILD.

Related: issue 3604
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-03-12 22:08:45 +01:00
fossdd 85e415e5e7 systemd/postmarketos-base-systemd: add system preset for kodi (MR 6273)
[ci:skip-build]: already built successfully in CI
2025-03-12 21:11:48 +01:00
fossdd adada180b2 systemd/systemd-services: add kodi service (MR 6273) 2025-03-12 21:11:48 +01:00
fossdd f757629409 main/postmarketos-ui-kodi: enable some architectures (MR 6273)
[ci:skip-vercheck] only $arch changed, doesnt affect APKINDEX or .apk
2025-03-12 21:11:43 +01:00
postmarketOS CI 86313545a6 linux-next: upgrade to next-20250312 2025-03-12 16:56:42 +00:00
fossdd ae7b3c1cdb main/postmarketos-base-ui-gnome: remove epiphany user agent override
Our epiphany got blocked by https://gitlab.gnome.org/ due to their new
AI scraping protection. We used a older User-agent that is not
regocnized by their protection and blocked us with "Access Denied.".

Nowadays Epiphany uses a dynamic user agent by default depending on the
chassis reported by systemd-hostnamed (e.g. mobile or desktop).

Fixes: 2722f6cac5 ("main/postmarketos-ui-{gnome,phosh}: less revealing epiphany user-agent (MR 1402)")

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6293
[ci:skip-build]: already built successfully in CI
2025-03-12 13:29:08 +01:00
Ermine 80ecf976c3 device-microsoft-dempsey: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6294

[ci:skip-build]: already built successfully in CI
2025-03-12 13:01:13 +01:00
Aster Boese e520df71bb google-x64cros: Add 'psi=1' to kernel_cmdline
linux-lts from Alpine sets CONFIG_PSI_DEFAULT_DISABLED, so we
     need to enable it manually with the kernel cmdline.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6303
[ci:skip-build]: already built successfully in CI
2025-03-12 12:57:05 +01:00
Aster Boese 2b7d848537 generic-x86_64: Add 'psi=1' to kernel_cmdline
linux-lts from Alpine sets CONFIG_PSI_DEFAULT_DISABLED, so we
need to enable it manually with the kernel cmdline.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6303
2025-03-12 12:57:05 +01:00
Paul Sajna 7ee4100179 lg-judyp: enable getty on ttyMSM0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6302

[ci:skip-build]: already built successfully in CI
2025-03-12 12:53:05 +01:00
Paul Sajna d66f753f74 lg-judyln: enable getty on ttyMSM0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6302
2025-03-12 12:53:05 +01:00
Luca Weiss 809be0cfe2 firmware-fairphone-fp5: Drop .mdt symlinks
These are no longer used, remove them.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6248
[ci:skip-build]: already built successfully in CI
2025-03-12 12:44:28 +01:00
Richard Acayan 7080a0627b linux-postmarketos-qcom-sdm670: backport the qcom-spmi-adc-tm5 scaling fix (MR 6298)
The thermal monitor measures an NTC thermistor which decreases voltage
when the temperature increases.

When fixing the scaling for the first time, a wrong division by 20 was
removed. The voltage code was still high by a factor of 28900/16384,
enough that the thermal monitor constantly signalled/interrupted at a
low voltage/high temperature trip point. The thermal monitor still
reports the correct temperature so the kernel keeps the wrong trip
points and lets the thermal monitor keep interrupting 1000 times/sec.
Fix the other scaling amount so the thermal monitor sends interrupts at
the right temperature (with some imprecision).
2025-03-12 10:32:33 +03:00
postmarketOS CI d1bbf43ab2 linux-next: upgrade to next-20250311 2025-03-11 16:59:34 +00:00
J. Neuschäfer a8fa909bb7 testing/device-amlogic-tvbox: add Ugoos AM3 support
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6276
2025-03-11 20:57:32 +09:00
Oliver Smith 6cc823e729 main/postmarketos-mkinitfs: use cross-native2 (MR 6297)
Speed up cross compilation.

Related: https://docs.postmarketos.org/pmbootstrap/cross_compiling.html
[ci:skip-build]: already built successfully in CI
2025-03-10 22:09:26 +01:00
Oliver Smith 79fc4d2cd8 main/postmarketos-mkinitfs: build with cgo (MR 6297)
Set CGO_ENABLED=1 to fix the following when cross compiling with
cross-native2 from x86_64 to (armv7,riscv64,armhf):

  -buildmode=pie requires external (cgo) linking, but cgo is not enabled

Depends: pmbootstrap MR 2565
Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15809
2025-03-10 22:09:26 +01:00
Oliver Smith 6b56b58193 main/postmarketos-mkinitfs: trigger: skip in pmb (MR 6297)
Don't run mkinitfs inside "pmbootstrap install" with the trigger
script, as it triggers multiple times as the rootfs gets constructed,
slowing down the process. Instead, pmbootstrap runs "mkinitfs"
explicitly once at the end of "pmbootstrap install".

pmaports master has pmbootstrap_min_version=2.3.2 in pmaports.cfg, which
already runs "mkinitfs" at the end of "pmbootstrap install", see
pmb/install/_install.py, install_system_image().
2025-03-10 22:09:26 +01:00
Oliver Smith 200529afe0 main/postmarketos-mkinitfs: tweak clean print (MR 6297)
Don't print the "Cleaning up old boot files..." message every time in
post-upgrade, only when it actually deletes files.
2025-03-10 22:09:17 +01:00
Jens Reidel eddffe3ec9 soc-qcom-sm7150: Drop, this is in the generic package now
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286

[ci:skip-build]: already built successfully in CI
2025-03-10 15:09:23 +01:00
Jens Reidel dd2b636f3a device-xiaomi-surya: Drop, we have a generic package now
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00
Jens Reidel 9642bb2a4b device-xiaomi-davinci: Drop, we have a generic package now
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00
Jens Reidel 6ca5f01ee4 qcom-sm7150: New device
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00
Jens Reidel 459fd71186 alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00
Jens Reidel f774ce2648 linux-postmarketos-qcom-sm7150: Update to 6.13.6, prepare for EFI
This also prepares a bunch of our changes for upstream and drops
unsupported devices for now. They will be re-added when they have been
tested to work at all.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00
Jens Reidel d8f88307b8 systemd/postmarketos-base-systemd: add hexagonfs-firmware-loader to system preset
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:22 +01:00
Jens Reidel 17dd7eb87d main/hexagonfs-firmware-loader: New package
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:08:12 +01:00
Jens Reidel ffc486b71d main/msm-firmware-loader: Upgrade to 1.6.0
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:08:12 +01:00
Stefan Hansson 543f67353b CI: Check all commit messages for string (MR 6301)
This way you can add e.g. [ci:skip-vercheck] to the commit it actually
belongs to instead of having to add it to the last one in the series,
which is unintuitive. It still doesn't only run the check on commits
that contain the message, which might be a nice future improvement.
2025-03-09 14:01:22 +01:00
Stefan Hansson 22d6f312e1 CI: Break out base commit logic from get_changed_files() (MR 6301)
This makes the code more self-documenting and allows re-using this logic
in other parts of the code.
2025-03-09 14:01:18 +01:00
Robert Mader d30dd361ee main/postmarketos-base-ui-gnome: Move fprintd from depends to pmb_recommends
It's an optional service, thus users should be free to remove it.

Fixes: 5cffcf7ea ("main/postmarketos-base-ui-gnome: add fprintd to depends (MR 6206)")

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6300
[ci:skip-build]: already built successfully in CI
2025-03-09 13:25:05 +01:00
Robert Mader b437864625 main/postmarketos-base-ui-gnome: add ffmpegthumbnailer to pmb_recommends
So that the file managers and choosers - Nautilus by default - show thumbnails
not only for images but also videos. Apart from being a nice-to-have, it
can help prevent privacy issues like uploading/sending wrong videos - an
increasingly realistic scenario as camera recording becomes more usable.

Note that Gnome usually uses totem-video-thumbnailer for that job,
but ffmpegthumbnailer has fewer dependencies, seems to be more stable,
is slightly faster - and pmOS already comes with ffmpeg, so there are
no additional licensing issues.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6300
2025-03-09 13:25:05 +01:00
Clayton Craft fcf2b87a26 systemd/postmarketos-base-systemd: enable systemd-oomd by default (MR 6246)
This enables systemd-oomd by default and provides some default
configuration for system.slice and for all slices that run under user.

This default slice config is inspired by what Fedora ships,
which seems like a sensible default for us to start with. Units/slices
within these two top-ish level slices can set their own limits and
actions if they want.
2025-03-09 00:14:20 -08:00
Clayton Craft a398d7c069 kconfigcheck: require PSI by default (MR 6246) 2025-03-09 00:08:51 -08:00
Anjandev Momi 71bd7963a6 main/postmarketos-base-ui: drop redundant dependency on openssh-server-pam (MR 6244)
It's now a dependency of postmarketos-base, which is always installed on .
2025-03-08 23:59:05 -08:00
Anjandev Momi f85eabcca6 main/postmarketos-base: depend on openssh-server-pam (MR 6244)
Always make sure openssh server w/ PAM support is installed. This also
drops an implicit dependency on `openssh-client`, this was pulled in
previously by `depends="openssh"`.

fixes #3570
2025-03-08 23:58:17 -08:00
Daniel Fancsali cc855d8812 community/linux-google-veyron: upgrade to 6.6.74 (MR 6201)
Upgrading from the old LTS (6.1.y) to the latest LTS (6.6.y) version.
Kept most of the defaults, except where the current/previous config dictated another logical decision.
2025-03-08 23:10:47 -08:00
Robert Mader 250904dd1d temp/libcamera: Add tuning files for IMX371 and IMX376 (MR 6299)
Only containing black levels for now.

This should only slightly increase image quality, but apparently also
works around a bug in libcamera making the output all black, with
occasional purple or red flashes.
[ci:skip-build]: already built successfully in CI
2025-03-08 18:24:26 +01:00
postmarketOS CI b9d048b672 linux-next: upgrade to next-20250307 2025-03-07 16:59:14 +00:00
Jakob Hauser 4ebe03a264 main/swclock-offset: upgrade to 0.2.5 (MR 6295)
Changelog:
- Support busybox 'date' command
  BB's `date` doesn't support the long form for args (e.g. `--utc`), only
  the short form, while coreutils supports both versions. By using the
  short form swclock-offset can support both versions of `date`

Fixes #3585
[ci:skip-build]: already built successfully in CI
2025-03-07 16:31:03 +01:00
Joel Selvaraj 5b1d92a999 linux-postmarketos-qcom-sdm845: update to 6.14-rc5 and add cameras for op6 (MR 6291)
[ci:skip-build]: already built successfully in CI
2025-03-06 16:33:40 -08:00
postmarketOS CI 6ecff66a58 linux-next: upgrade to next-20250306 2025-03-06 16:59:23 +00:00
Devin Lin fc2dfa0dd7 systemd/systemd-services: fix polkit-kde-agent-1-systemd name (MR 6288)
The package name was missing the -systemd suffix, causing it to conflict
with the real polkit-kde-agent-1 package.

[ci:skip-build]: already built successfully in CI
2025-03-05 10:50:40 -08:00
fossdd 9eb5dfcbf0 main/postmarketos-base: enable apk --cache-pre-download (MR 5921)
This allows safer installation of packages, since the upgrade doesn't
fail with a half-installed system if the download fails while installing.

Note that this will only take effect when Alpine upgrades to apk-tools 3.

Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3383
See: https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10891
2025-03-05 19:16:27 +01:00
postmarketOS CI e4088c9370 linux-next: upgrade to next-20250305 2025-03-05 16:56:35 +00:00
David Furey 7606236702 postmarketos-base-ui: honour deviceinfo_disable_dhcpd flag in NetworkManager scripts (MR 6230)
deviceinfo_disable_dhcpd only disables dhcpd during init, but it should
also be disabled in other contexts.

[ci:skip-build]: already built successfully in CI
2025-03-05 14:14:22 +01:00
Luca Weiss 2123dec738 linux-postmarketos-qcom-sm6350: upgrade to 6.13.4 (MR 6261)
Add some patches which finally fix mobile data on this SoC!

https://lore.kernel.org/netdev/20250227-ipa-v4-7-fixes-v1-0-a88dd8249d8a@fairphone.com/T/
[ci:skip-build]: already built successfully in CI
2025-03-05 14:08:09 +01:00
Clayton Craft d60a83adaf systemd/systemd-services: add localsearch unit files (MR 6194)
[ci:skip-build]: already built successfully in CI
2025-03-05 11:22:51 +01:00
postmarketOS CI ec89ceffe9 linux-next: upgrade to next-20250304 2025-03-05 05:59:26 +00:00
Pablo Correa Gómez 5d881843a3 mrhlpr.json: remove (MR 6284)
The regex has not been working for a long while, there have been
previous attempts to try fix it, but it's still failing. There is
also common understanding in the team, that the regex is not terribly
useful. So remove it.
2025-03-04 17:31:42 +01:00
faveoled a1be8ba3ab linux-samsung-a30: update source and fix build (MR 6267)
[ci:skip-build]: already built successfully in CI
2025-03-04 16:13:23 +01:00
Bart Ribbers dcf2e557e0 systemd/kwin: upgrade to 6.3.2.1 (MR 6283)
[ci:skip-build]: already built successfully in CI
2025-03-04 15:45:29 +01:00
panpanpanpan 38f0780bc3 firmware-xiaomi-nabu: add mantainer (MR 6224)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2025-03-04 15:37:58 +01:00
panpanpanpan c36df7fc93 device-xiaomi-nabu: replace device specific kernel in favor of generic sm8150 kernel (MR 6224) 2025-03-04 15:37:58 +01:00
panpanpanpan 80a2f5186f linux-postmarketos-qcom-sm8150: upgrade to 6.13.0 (MR 6224) 2025-03-04 15:37:58 +01:00
Pablo Correa Gómez eb18caefb5 Update APKBUILDS to use Maintainer and Co-Maintainer instead of CODEOWNERS (MR 6272)
We now have a bot that reads those lines from APKBUILD files, instead
of using a proprietary gitlab feature. Relevant changes:

* Change @ollieparanoid for @Newbyte as maintainer for GNOME packages
  where Oliver was listed.
* Don't add @craftyguy as Librem5 maintainer, as he dropped it long
  ago
* Remove entries referencing archived ports
* Don't touch jenneron's maintainership. That's a task for another day
* Don't add "balejk" as maintainer. We have tried pinging them, but
  seem to be currently idle
  person is. Help figuring it out would be welcomed.
* Don't add "binarycraft" as maintainer. Last contribution was years
  ago: https://gitlab.com/binarycraft
* Don't add more maintainers to linux-postmarketos-qcom-msm8953, as it
  would have ended up with 7, which might be a bit too much
* Don't add more maintainers to the PinePhone. The current ones seem
  to actually be the most active
* Don't add Danct12 to N900. Sicelo has been single-handedly managing
  it for a long while
* Update maintainer emails for Nikita Travkin, Alexey Minnekhanov, and
  Barnabás Czémán

[ci:skip-vercheck] Co-Maintainer changes require no pkgrel updates
since the names do not make it to the package itself

[ci:ignore-count]

Fixes #3530
[ci:skip-build]: already built successfully in CI
2025-03-04 12:50:09 +01:00
Pablo Correa Gómez bffa50ed34 firmware-samsung-espresso10: move to archived (MR 6272)
Fixes 85f9a49ad6
2025-03-04 12:49:19 +01:00
postmarketOS CI af6020694c linux-next: upgrade to next-20250303 2025-03-04 06:00:17 +00:00
Kidd Lee d269ac20bf linux-xiaomi-ido: upgrade kernel to 3.10.108 (MR 6256)
[ci:skip-build]: already built successfully in CI
2025-03-03 21:25:48 +01:00
Caleb Connolly 5cfcb8545f linux-next: add BINFMT_MISC (MR 6275)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2025-03-03 21:21:53 +01:00
Clayton Craft 7ee9d24cf2 systemd/systemd-services: add power-profiles-daemon unit file (MR 6265)
[ci:skip-build]: already built successfully in CI
2025-03-03 19:01:51 +01:00
Clayton Craft 57678bf70a systemd/systemd-services: fix path in fnott.service (MR 6254)
[ci:skip-build]: already built successfully in CI
2025-03-03 18:56:46 +01:00
Bart Ribbers 4ba6a06771 systemd/plasma*: upgrade to 6.3.2 (MR 6266)
[ci:skip-build]: already built successfully in CI
2025-03-03 09:49:27 -08:00
Bart Ribbers 51fdc0ae3e systemd/plasma*: upgrade to 6.3.1 (MR 6240)
[ci:skip-build]: already built successfully in CI
2025-03-03 18:38:51 +01:00
Devin Lin 5b620c3d4f main/postmarketos-ui-plasma-mobile: switch to Dolphin from Index (MR 6255)
[ci:skip-vercheck]

Dolphin is now mobile friendly, we can use it instead of Index as the
default file manager.
2025-03-03 18:32:39 +01:00
Richard Acayan e18c9fb2b2 device-google-bonito: add unl0kr quirk for full display drivers (MR 6281)
[ci:skip-build]: already built successfully in CI
2025-03-03 09:28:41 -08:00
Bart Ribbers 9ba315de93 main/postmarketos-ui-asteroid: enable systemd support (MR 6160)
[ci:skip-build]: already built successfully in CI
2025-03-03 18:20:08 +01:00
Bart Ribbers 986b312ab9 systemd/postmarketos-base-systemd: enable AsteroidUI-related services (MR 6160) 2025-03-03 18:20:08 +01:00
Bart Ribbers 98962e40c8 systemd/systemd-services: add AsteroidUI-related unit files (MR 6160) 2025-03-03 18:20:08 +01:00
Bart Ribbers b7ac3683ad systemd/dsme: fork from Alpine to add systemd support (MR 6160) 2025-03-03 18:20:07 +01:00
r00t dcf72bea5c samsung-crownlte: workaround for touchscreen not working when booted by plugging charger (MR 6219)
[ci:skip-build]: already built successfully in CI
2025-03-03 18:16:39 +01:00
Yahia Shamaa 05a6b40e65 samsung-lt023g: Fix audio (MR 6260)
[ci:skip-build]: already built successfully in CI
2025-03-03 09:12:02 -08:00
jane400 bec405cddf systemd/linux-pam-pmos: upgrade to 1.7.0 (MR 6137)
pam_dump_runtime_dir isn't needed with systemd. if a user install this
module, this might break with logind integration..

[ci:skip-build]: already built successfully in CI
2025-03-03 18:06:19 +01:00
David Heidelberg f127ff6540 temp/iio-sensor-proxy: re-enable tests (MR 6126)
As we compile package only for aarch64

Signed-off-by: David Heidelberg <david@ixit.cz>
2025-03-03 18:00:03 +01:00
vboxuser c43f2078ed samsung-beyond2lte: new device (MR 6161)
[ci:skip-build]: already built successfully in CI
2025-03-03 17:37:03 +01:00
Ferass El Hafidi e087403c1f device-amlogic-tvbox: add support for Amlogic P241 reference board (MR 6099)
(S805X)

Tested on Xiaomi Mi TV Stick (S805Y).

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-03-03 17:33:48 +01:00
Sicelo A. Mhlongo 3044830032 device-nokia-n900: minor packaging improvements (for i3) (MR 6258)
1. dependencies useful for all X11 DEs/WMs moved to x11 subpackage
2. add dmenu-based power key menu with options for shutdown, reboot, and
    screenshot
3. handle power and screenlock keys using i3 directly, instead of acpi/evtest
4. add mouse key emulation via Shift+keyboard-keys

[ci:skip-build]: already built successfully in CI
2025-03-03 17:05:39 +01:00
adamthiede 1fa198e2bf main/mobile-config-firefox: add subpackage for librewolf (MR 6270)
[ci:skip-build]: already built successfully in CI
2025-03-02 13:09:39 +01:00
Connor Eliffe b046aebbbb linux-amazon-biscuit: remove dummy mmap from pcm audio driver (MR 6233)
More detail in the included patch but tl;dr patches a dummy mmap
function in the PCM audio driver that causes a kernel panic
when used by pulse.

[ci:skip-build]: already built successfully in CI
2025-03-01 19:42:36 +01:00
Teemu Ikonen 413070a04d systemd/phosh: upgrade to 0.45.0 (MR 6277) 2025-03-01 17:47:54 +01:00
Devin Lin ca37436209 systemd/systemd-services: add plasma-polkit-agent (MR 6252)
kde-polkit-agent-1 needs a systemd unit file to be started up on session
login, so that we have a polkit greeter.
2025-03-01 06:57:39 +00:00
Richard Acayan fc122c6fe1 device-google-sargo: remove kernel modules for display (MR 6241)
These kernel modules are now built-in.

[ci:skip-build]: already built successfully in CI
2025-02-28 20:40:09 -08:00
Richard Acayan 79a1c66789 linux-postmarketos-qcom-sdm670: upgrade to v6.13.3 (MR 6241) 2025-02-28 20:40:09 -08:00
Oliver Smith 09965ce877 device-nokia-n900: fix missing makedepend (MR 6268)
pmbootstrap > 3.3.1 is stricter with the dependencies, it will only
install packages that are in makedepends during builds. Before it also
installed packages from depends.

Add postmarketos-mvcfg to makedepends, as it gets used in build().

postmarketos-mvcfg will be removed in the future (see issue 3580), but
let's unbreak the build first.

Related: pmbootstrap issue 2574
[ci:skip-build]: already built successfully in CI
2025-02-28 20:35:47 -08:00
postmarketOS CI b9c187b890 linux-next: upgrade to next-20250228 2025-02-28 16:57:02 +00:00
adamthiede 4af4a32b2f linux-postmarketos-mediatek-mt8173: upgrade to 6.13.5 (MR 6262) 2025-02-27 23:39:19 +01:00
Sicelo A. Mhlongo 6589a57e26 device-nokia-n900: force SD card partition resizing (MR 6257)
Reverts 82a8d55197 (device-nokia-n900: drop partition resize cmdline option
(MR 6164)) since it seems resizing does not actually take place automatically,
at least as far as the N900 is concerned

[ci:skip-build]: already built successfully in CI
2025-02-27 12:06:55 -08:00
jane400 6da432b150 systemd/systemd: upgrade to 256.11 (MR 6145)
There are some notable changes:
- systemd-journal-upload is now available, but not tested
- pam files now live under `/usr/lib/pam.d`. users can easily override
  configuration by putting files under /etc/pam.d with the same name.
- journalctl should now work for `wheel` groups without privilege
  esclation to root. ACLs' for /var/log/journal should hopefully be
  set correctly now.
- /bin/udevadm /sbin/{init,udevd} are now provided by the APKBUILD itself
- The split-usr backport lives now in the downstream release.
2025-02-27 09:57:13 -08:00
jane400 ec84571f9b systemd/phosh: use abuild's systemd splitfunc and launch dbus via socket-activation (MR 6243)
The current -systemd subpackage isn't getting installed due to the
invalid install_if statement. As abuild's fork in pmOS for systemd
specifies a default_systemd() and systemd() function, overriding it
here isn't needed.

The -systemd subpackage contains configuration for gnome-session in
systemd mode.
- By placing a file into systemd/user/gnome-session@phosh.target.d,
  we generate a valid gnome-session@phosh.target.
- The first invokation of gnome-session by phosh-session includes
  the arg `--session phosh`. When gnome-session sees a running
  systemd user manager via dbus, it will signal to systemd to start
  `gnome-session@phosh.target`.

As we switched to tinydm/autologin for phosh on systemd-edge, this
will only work when autologin also tries to load pam_systemd.so.
[ci:skip-build]: already built successfully in CI
2025-02-27 09:48:03 -08:00
postmarketOS CI 99b062b484 linux-next: upgrade to next-20250227 2025-02-27 17:00:24 +00:00
postmarketOS CI 082b6f1908 linux-next: upgrade to next-20250226 2025-02-26 06:00:26 +00:00
postmarketOS CI d4fffe484e linux-next: upgrade to next-20250225 2025-02-25 16:57:43 +00:00
postmarketOS CI de8e3f1455 linux-next: upgrade to next-20250224 2025-02-24 17:17:48 +00:00
David Wronek 1493549cb6 firmware-xiaomi-{davinci,surya}: move to community (MR 6253)
It seems like these packages have been missed during the community move.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6210
Signed-off-by: David Wronek <david@mainlining.org>

[ci:skip-vercheck]: no changes to packages
2025-02-23 19:13:51 +01:00
Danct12 f4dcc93f90 linux-pine64-pinetab2: upgrade to kernel 6.13.4 (MR 6251) 2025-02-23 10:34:17 +01:00
Luca Weiss 25db9f4c54 firmware-fairphone-fp3: squash .mdt firmware, drop unused adreno firmware (MR 6249)
Keep symlinks for mdt around until the kernel is using the new paths.
2025-02-23 10:28:12 +01:00
Luca Weiss 1b0c2a4006 device-fairphone-fp3: add Adreno firmware dependency (MR 6249)
As required by new kernel version due to different paths.
2025-02-23 10:28:11 +01:00
User0 d289089272 linux-postmarketos-qcom-msm8930: update to 6.13.0 (MR 6238)
Update the close-to-mainline linux kernel fork for the MSM8930 processor to 6.13.0.
According to wctrl, this also makes WiFi work, if you place the drivers in the initramfs. Haven't tried that.

[ci:skip-build]: already built successfully in CI
2025-02-22 23:41:12 -08:00
Devin Lin 7d017f5f08 extra-repos/systemd/systemd-services: rename kded to plasma-kded6 (MR 6247)
kded currently doesn't start with the session, but when I rename the systemd unit file to plasma-kded6.service, it starts automatically.

[ci:skip-build]: already built successfully in CI
2025-02-22 23:38:16 -08:00
Robert Eckelmann 30d0bbaa55 device-solidrun-cubox: deviceinfo updates (MR 6222)
1. disable USB-gadget as this device has a UART available in HW
2. disable the fb detection (used for pbsplash), as I am not progressing
   with getting HDMI working.

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-02-22 23:33:57 -08:00
Luca Weiss b3da4de87b linux-postmarketos-qcom-sm6350: upgrade to 6.13.1 (MR 6165)
[ci:skip-build]: already built successfully in CI
2025-02-22 23:28:10 -08:00
Ferass El Hafidi 65f06007b3 device-raspberry-pi{,0}: explicitely use MBR (MR 6171)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2025-02-22 23:23:27 -08:00
Luca Weiss c998666991 device/*: add Maintainer line for devices that I practically maintain (MR 6170)
Since we have aports-qa-bot now set up to ping maintainers, let's make
it explicit that I maintain these packages.

Clean up CODEOWNERS as well for my entries which anyways contain my
username which is not used on gitlab.p.o.

[ci:skip-vercheck] # even though Maintainer line is embedded in .apk, it
doesn't make sense to mass rebuild these packages just for that.
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2025-02-22 23:18:07 -08:00
Luca Weiss 3edb2de81c linux-fairphone-fp2: fix compile (MR 6170)
And add Maintainer line for myself.
2025-02-22 23:18:07 -08:00
Luca Weiss a768607db5 linux-fairphone-fp1: fix compile (MR 6170)
And add Maintainer line for myself.
2025-02-22 23:18:07 -08:00
Jens Reidel 72312c90a1 linux-postmarketos-qcom-sm7150: Upgrade to 6.13.4 (MR 6235)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:skip-build]: already built successfully in CI
2025-02-23 07:38:20 +01:00
Luca Weiss f26fce2a43 linux-fairphone-fp3: drop (MR 6245)
The kernel doesn't compile anymore due to updated toolchain:

  scripts/Makefile.lib:414: *** prerequisites cannot be defined in recipes.  Stop.
  make[3]: *** [../scripts/Makefile.modbuiltin:54: techpack/audio/dsp] Error 2

Remove it since mainline kernel is working better anyways.
2025-02-22 22:09:53 +01:00
Luca Weiss 7b2e353252 device-fairphone-fp3: drop downstream kernel variant & clean up (MR 6245)
Also fold the nonfree-firmware subpackage into the main package as per
updated packaging guidelines since this APKBUILD was created.
2025-02-22 22:09:53 +01:00
Kidd Lee e59720ad8c linux-xiaomi-ido: fix kernel compile error cuased by Sun Solaris style flag on section (MR 6242) 2025-02-22 21:10:24 +09:00
Clayton Craft 0860262282 systemd/postmarketos-base-systemd: add zram-init/zram_swap preset (MR 6208)
I evaluated using systemd/zram-generator but decided against it for the following reasons:

1) it was more difficult to configure using the existing deviceinfo var
we have for zram_pct, this meant that we would ultimately couldn't have
a consistent way to configure zram stuff for all supported init systems

2) it's a Rust app, and was failing to build in CI for armv7, riscv64,
and armhf with some weird qemu crashes, failed tests, etc

3) zram-init Just Works, upstream ships a unit file for it so they
support running under systemd already
[ci:skip-build]: already built successfully in CI
2025-02-21 10:28:22 -08:00
Clayton Craft 73dd694b16 systemd/systemd-services: add zram-init unit file (MR 6208) 2025-02-21 10:28:22 -08:00
Clayton Craft e78a913153 main/postmarketos-base: move zram size calc logic to standalone script (MR 6208)
This allows re-using it elsewhere, like in pmos-base-systemd
2025-02-21 10:28:22 -08:00
postmarketOS CI 1ea30defd5 linux-next: upgrade to next-20250221 2025-02-21 17:00:40 +00:00
Luca Weiss dfe67680a0 linux-postmarketos-qcom-msm8974: upgrade to 6.13.2 (MR 6179)
Manual kconfig changes:
* QCOM_RPMPD=y

[ci:skip-build]: already built successfully in CI
2025-02-21 11:31:02 +03:00
postmarketOS CI e754327457 linux-next: upgrade to next-20250220 2025-02-20 16:58:00 +00:00
Jens Reidel 3fdc261482 CODEOWNERS: Add entries for xiaomi-davinci, xiaomi-surya and qcom-sm7150 (MR 6210)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:skip-vercheck]: no changes to packages
[ci:skip-build]: already built successfully in CI
2025-02-20 08:57:13 +01:00
Jens Reidel 4f19839510 device-xiaomi-{davinci,surya}: Move from testing to community (MR 6210)
The SM7150 devices have seen a lot of work put into them and are
generally very usable except for microphone/earpiece audio and cameras.
Both of these features are still work in progress and should be
available sometime in the future. They fulfil the requirements for
community in the Wiki, so let's promote them.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-20 08:57:13 +01:00
Oliver Smith 1bce4af9d8 main/qmi-ping: remove
This package has been upstreamed to Alpine.
2025-02-19 23:16:45 +01:00
Oliver Smith f630ab79b5 main/extract-dtb: remove
This package has been upstreamed to Alpine.
2025-02-19 23:16:24 +01:00
Caleb Connolly 53da3e2a0e linux-next: enable PMEM (MR 6228)
PMEM aka persistent memory enables a region of memory to be treated as a
block device. This is particularly useful as a way for EFI bootloaders
to retrieve a full OS image (via HTTP) and make it accessible to the OS.

Support for this is making its way to U-Boot: https://lore.kernel.org/u-boot/20250203105912.196654-1-sughosh.ganu@linaro.org/

Let's enable this in postmarketOS so we can enable HTTP booting images
directly from postmarketOS.org.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-02-19 21:30:36 +01:00
Clayton Craft 65b913b5b1 ci: drop CODEOWNERS check (MR 6189)
This is really annoying to fight with, especially since it's going to be
going away soon in https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3530

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2025-02-19 08:13:25 -08:00
Clayton Craft 0d7a9af890 soc-qcom-sdm845: drop package (MR 6189)
No longer needed since soc-qcom provides all of the config/dependency
requirements that this pkg used to. It can be re-added later if some new
sdm845-specific stuff is needed
2025-02-19 08:13:25 -08:00
Clayton Craft e7a2d73803 device-lg-judyp: depend on soc-qcom (MR 6189) 2025-02-19 08:13:25 -08:00
Clayton Craft 8eb5904936 device-lg-judyln: depend on soc-qcom (MR 6189) 2025-02-19 08:13:25 -08:00
Clayton Craft d103fe9eef device-postmarketos-trailblazer: depend on soc-qcom-qbootctl (MR 6189) 2025-02-19 08:13:25 -08:00
Clayton Craft 435c770893 device-ayn-odin: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft 3c6007d1e6 device-google-blueline: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft e2c58b62d4 device-qualcomm-sdm845: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft 94a7f962ab device-google-bonito: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft f45e69b753 device-xiaomi-sagit: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft fa689f2b58 device-xiaomi-polaris: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft 262d6fd569 device-xiaomi-equuleus: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft 7b76811ba1 device-xiaomi-beryllium: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft be22d32df2 device-oneplus-fajita: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft 9fd9e45cfd device-google-sargo: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft 049514c7dc device-lenovo-yoga-c630: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft df6f66bc48 device-shift-axolotl: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft fedf4608f3 device-thundercomm-db845c: depend on soc-qcom (MR 6189) 2025-02-19 08:13:22 -08:00
Clayton Craft dd21e5df0f device-samsung-starqltechn: depend on soc-qcom (MR 6189) 2025-02-19 08:13:22 -08:00
Clayton Craft d9ad333b82 device-oneplus-enchilada: depend on soc-qcom (MR 6189) 2025-02-19 08:13:22 -08:00
Clayton Craft f242b07fa0 soc-qcom-msm8998: depend on soc-qcom (MR 6189) 2025-02-19 08:13:22 -08:00
Clayton Craft fcb6becab0 alsa-ucm-conf-sdm845: new aport (MR 6189) 2025-02-19 08:13:22 -08:00
Clayton Craft bd4c139c4d soc-qcom: new aport (MR 6189)
This is basically a copy of soc-qcom-sdm845, which many things (even
non-sdm845 stuff) were depending on.
2025-02-19 08:13:22 -08:00
Jens Reidel d41a2282b0 device-xiaomi-davinci: Stop depending on now nonexistent unl0kr quirk (MR 6234)
Commit cb7074d8a8 removed this subpackage
and unconditionally enabled the unl0kr quirk in soc-qcom-sm7150, but the
xiaomi-davinci device package was never updated to account for this.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
[ci:skip-build]: already built successfully in CI
2025-02-19 16:09:29 +01:00
Yahia Shamaa 63598e5147 linux-samsung-lt023g: upgrade to 3.4.113 (MR 6231)
And backport memfd-related patches

[ci:skip-build]: already built successfully in CI
2025-02-19 12:36:30 +03:00
postmarketOS CI 4a6bda4f68 linux-next: upgrade to next-20250219 2025-02-19 05:57:37 +00:00
Piotr Halama 70e8d1af82 nokia-ant: new device (MR 6134) 2025-02-18 21:53:22 +09:00
postmarketOS CI d45164ac5f linux-next: upgrade to next-20250218 2025-02-18 06:04:40 +00:00
Jianhua Lu 4baacf948d device-lenovo-q706f: add alsa-ucm-conf to depends (MR 6175)
[ci:skip-build]: already built successfully in CI
2025-02-17 11:18:24 -08:00
Jianhua Lu 1df4d9cbbd device-fairphone-fp5: add alsa-ucm-conf to depends (MR 6175) 2025-02-17 11:18:24 -08:00
Jianhua Lu 7ab487c314 device-acer-aspire1: add alsa-ucm-conf to depends (MR 6175) 2025-02-17 11:18:24 -08:00
Jianhua Lu 076080039b device-xiaomi-elish: add alsa-ucm-conf to depends (MR 6175) 2025-02-17 11:18:24 -08:00
postmarketOS CI 440419d97e linux-next: upgrade to next-20250217 2025-02-17 17:00:14 +00:00
Pablo Correa Gómez e9acb14510 device-generic-x86_64: depend on unl0kr-fbforcerefresh (MR 6185)
This has caused some issues for me, specifically in my framework,
where unl0kr was otherwise not showing in the main screen (but would
if connected an HDMI over the USB-C port)

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez cb7074d8a8 soc-qcom-sm7150: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually. In the process, update the
maintainer lines to not have Co-Maintainer (relates #3530)
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez e211e97777 device-xiaomi-olive: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez d5b6316edc device-qualcomm-sdm845: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez ef55870612 device-lg-hammerhead: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez 50b5acb237 device-google-blueline: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez 8482e8abaf device-fairphone-fp5: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez 76f5633d2c device-oneplus-fajita: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez 7857c8af18 device-oneplus-enchilada: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez 701ca385d3 device-google-sargo: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez caa3ef1a50 main/unl0kr: introduce subpackage for the fb_force_refresh quirk (MR 6185)
A surprinsingly amount of devices use this quirk. So instead of having
each of those packages package the file individually, let's create a
single unl0kr subpackage that they can depend on
2025-02-17 08:48:41 +01:00
Pablo Correa Gómez 4c62b255a6 main/unl0kr: slightly packaging improvement (MR 6185) 2025-02-17 08:48:40 +01:00
Pablo Correa Gómez 00a26bad78 main/postmarketos-initramfs: move unlock_root_partition to 2nd funcs (MR 6177)
It is used in the "2nd" part of the initramfs, not in the first one

[ci:skip-build]: already built successfully in CI
2025-02-17 08:41:01 +01:00
Oliver Smith 67ed1ad917 device-google-veyron: use initfs_extra (MR 6226)
Fix that building phosh, gnome, plasma-mobile images fails with:

==> Generating vmlinuz.kpart
Building depthcharge image for board 'Unnamed veyron board' ('veyron').
Couldn't build a small enough image for this board.

Related: https://builds.sr.ht/~postmarketos/job/1422513#task-img-1544
Related: bpo issue 153
[ci:skip-build]: already built successfully in CI
2025-02-16 16:07:53 +01:00
Luca Weiss b48a3cf194 systemd/phosh: disable crossdirect (MR 6223)
Workaround since building for armv7 on x86_64 fails, see
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2820

[ci:skip-vercheck] # no rebuild necessary
[ci:skip-build]: already built successfully in CI
2025-02-16 14:30:29 +01:00
Mattijs Korpershoek be3686c69e device-khadas-vim3: new device (MR 6220)
The Khadas VIM3 [1] is a popular devboard (SBC).
It has an Amlogic A311D SoC and is well supported in mainline linux.

Add board support in testing.

Note that we use the soc-amlogic-s905 package which also provides
support for A311d.

[1] https://www.khadas.com/vim3
Signed-off-by: Mattijs Korpershoek <mattijs.korpershoek@gmail.com>
2025-02-16 11:19:56 +00:00
fossdd 1d732b5a8a main/postmarketos-base-ui: recommend lang (MR 6146)
Installation of lang gets moved from pmbootstrap to pmaports, since
pmbootstrap previously had installed lang only on non-default locale
systems. With this change also systems on the default locale can switch
between languages.

Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3314

[ci:skip-vercheck]: only _pmb_recommends was changed
[ci:skip-build]: already built successfully in CI
2025-02-14 16:40:51 -08:00
Jakob Hauser b670515aab main/postmarketos-ui-lxqt: increase window buttons size (MR 6068)
At first fix issue #3315 caused by config file snippet openbox/rc.xml. The
snippet results in unresponsive window headers after changing the Openbox
theme. The Openbox settings GUI ObConf-Qt is not set up to handle config
snippets. Therefore replace the snippet by the full file of openbox/rc.xml.
The issue was investigated at:
https://github.com/Mikachu/openbox/issues/23

Secondly custom Openbox themes of dark style Onyx and bright style Clearlooks
with larger window buttons are added.

Thirdly the default Openbox theme is set to custom Clearlooks with larger
window buttons and additionally the Openbox font size is increased.

Detailed changelog of GitLab repository antoni.aloytorrens/lxqt-tablet:
- Increase Openbox font sizes
- Set default Openbox theme to "Clearlooks-L" with larger buttons
- Add custom Openbox themes Clearlooks with larger window buttons
- Add custom Openbox themes Onyx with larger window buttons
- Set the number of desktops to two again
- Restore full openbox/rc.xml config file
[ci:skip-build]: already built successfully in CI
2025-02-14 16:10:26 -08:00
postmarketOS CI 7ca97d24fc linux-next: upgrade to next-20250214 2025-02-14 20:00:24 +00:00
Clayton Craft e799a582f2 systemd/systemd-services: fix wg-quick@ unit (MR 6218)
I accidentally commented out an important section header and didn't
notice until now...

[ci:skip-build]: already built successfully in CI
2025-02-14 10:54:59 -08:00
VaporGame d9bfb7f301 i9105p: add wifi support and correct vc-firmware path (MR 6110)
[ci:skip-build]: already built successfully in CI
2025-02-14 10:43:38 -08:00
Robert Mader 105d4b3911 device-google-sargo: install hexagonrpcd conf to new location (MR 6217)
This was missed in
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6188

[ci:skip-build]: already built successfully in CI
2025-02-14 12:26:29 +01:00
Clayton Craft b395936171 ci/build_changed_aports: fix systemd build testing (MR 6214)
copypasta failure on my part :(

fixes 2238b8e734

[ci:skip-build]: already built successfully in CI
2025-02-13 14:17:44 -08:00
Clayton Craft 302b38eb24 systemd/wireplumber: fix checksum 2025-02-13 14:03:07 -08:00
Oliver Smith a9209f909f cross/musl-*: upgrade to 1.2.5-r10 2025-02-13 21:57:28 +01:00
fossdd 4a1ee90648 systemd/wireplumber: upgrade to 0.5.8 (MR 6213)
Upstream: https://gitlab.alpinelinux.org/alpine/aports/-/commit/b9c39e72a1a11b44dbb37c006f3e697c9e522d62
2025-02-13 21:09:13 +01:00
Robert Mader 5cffcf7ea2 main/postmarketos-base-ui-gnome: add fprintd to depends (MR 6206)
So fingerprint support is shipped by default if supported by the
hardware.

[ci:skip-build]: already built successfully in CI
2025-02-13 11:50:17 -08:00
Clayton Craft 2238b8e734 ci/build_changed_aports: skip building systemd pkgs when there are none for the arch (MR 6197)
[ci:skip-build]: already built successfully in CI
2025-02-13 11:42:01 -08:00
Bart Ribbers 699303cc2e systemd/plasma*: upgrade to 6.3.0 (MR 6197) 2025-02-13 11:42:01 -08:00
David Wronek 0678d9392d device-xiaomi-surya: fix touchscreen module in initfs (MR 6212)
This fixes the touchscreen in unl0kr.

Signed-off-by: David Wronek <david@mainlining.org>
[ci:skip-build]: already built successfully in CI
2025-02-13 11:33:36 -08:00
Sicelo A. Mhlongo b99b919290 wl1251-cal: modernize and improve reliability (MR 6202)
Alpine now ships compressed firmware, so the old firmware file name is no
longer available, causing wl1251-cal to fail. Fix by manually creating the
expected uncompressed file.

Additionally, wl1251-cal has not been running early enough in most cases,
causing the kernel to use default nvs. Fix by blacklisting the driver and
probing it after the correct nvs has been extracted and saved.
[ci:skip-build]: already built successfully in CI
2025-02-13 11:29:32 -08:00
Clayton Craft 359b2d8451 systemd/systemd-services: hexagonrpcd: use new path for env in unit files (MR 6188)
Changed in: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/79927

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2025-02-13 08:58:50 -08:00
Clayton Craft 7ae8f9d25a device-xiaomi-davinci: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:58:49 -08:00
Clayton Craft 29353f3d6a device-xiaomi-surya: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:57:10 -08:00
Clayton Craft ce731e2c19 soc-qcom-sm7150: depend on the latest hexagonrpcd (MR 6188) 2025-02-13 08:55:42 -08:00
Clayton Craft 318ab06a29 device-xiaomi-miatoll: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:57 -08:00
Clayton Craft a817674771 device-fairphone-fp4: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:57 -08:00
Clayton Craft 623053fa97 device-fairphone-fp5: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:57 -08:00
Clayton Craft 3d9d00d103 device-ayn-odin: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:57 -08:00
Clayton Craft d2cf5de15d device-oneplus-enchilada: install hexagonrpcd conf to new location (MR 6188)
fixes #3537
2025-02-13 08:52:56 -08:00
Clayton Craft b3c4334b78 device-xiaomi-nabu: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft 749ffd227b device-lenovo-q706f: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft ac9466b52f device-oneplus-fajita: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft 47f9209987 device-xiaomi-beryllium: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft a3c158a081 device-shift-axolotl: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft 1b58ec9b60 device-xiaomi-elish: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Robert Mader 6ed4f78241 systemd/systemd-services: add unit file for fprintd (MR 6205)
[ci:skip-build]: already built successfully in CI
2025-02-13 08:47:35 -08:00
Eisenbahnfan e6a1193f3d linux-samsung-v1awifi: fix for not compiling kernel (MR 6211)
The kernel couldn't be compiled. Additional patches were necessary to compile the linux kernel again.

[ci:skip-build]: already built successfully in CI
2025-02-13 14:39:08 +01:00
Arnav Singh 8bf5b2e6b2 linux-postmarketos-allwinner: upgrade to 6.13.2_git20250209 (MR 6199)
This does not yet switch to mainline wifi driver [^1]. I will do that later
so that if that needs to be reverted the kernel upgrade itself can stay.

[^1]: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3420
[ci:skip-build]: already built successfully in CI
2025-02-13 10:10:37 +01:00
Danila TikhonovandJens Reidel 0652ab1a0f device-xiaomi-surya: support more panels, fix deps and modules-initfs (MR 6195)
modules-initfs: Add touchscreen and panels, drop gpi and spi

1. Add the touchscreen (nt36xxx-spi), panels (panel-huaxing-nt36672c,
panel_tianma_nt36672c) and wled to modules-initfs, as these drivers
have been switched to modules.

2. Drop GPI and SPI from the module list as they have been configured
as built-in within the kernel.

Refine nonfree firmware dependencies:

1. Removed the common GPU firmware package from soc-qcom-sm7150 and
subsequently re-added it to firmware-xiaomi-surya in earlier commits.
We now ensure the GPU ZAP firmware is installed by adding
firmware-xiaomi-surya-gpu as a dependency to nonfree_firmware.

2. Incorporated firmware-xiaomi-surya-sensors into nonfree_firmware,
following its prior inclusion in firmware-xiaomi-surya.

3. Extended the integration of the soc-qcom-sm7150-libssc-180-degrees
udev rule into nonfree_firmware, building on its earlier addition to
soc-qcom-sm7150.

4. Install firmware unconditionally and provide a path for hexagonfs.

The Xiaomi POCO X3 NFC (xiaomi-surya) has two possible panel variants:
Huaxing and Tianma. The kernel dts file has been split to accommodate
these variants. Update the device package to enable panel selection
during the pmbootstrap init.

Co-authored-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
2025-02-13 11:52:12 +03:00
Danila TikhonovandJens Reidel 5523be6326 firmware-xiaomi-surya: Update and add sensors firmware (MR 6195)
1. Added maintainers information.
2. Use a new method for firmware installation.
3. Add firmware for sensors.

Co-authored-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
2025-02-13 11:52:12 +03:00
Arian 591e3a4e84 {device,firmware}-xiaomi-davinci: Add myself as Co-Maintainer (MR 6195) 2025-02-13 11:52:11 +03:00
Jens Reidel 9d4eb8e8a6 device-xiaomi-davinci: Update firmware deps and initfs modules (MR 6195)
The panel driver was renamed and i2c and spi are now built-in.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-13 11:51:22 +03:00
Jens Reidel 8781683807 firmware-xiaomi-davinci: Update and add sensors and decommonized GPU firmware (MR 6195)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-13 11:51:22 +03:00
Danila Tikhonov 210cb4e60a soc-qcom-sm7150: multiple improvements (MR 6195)
Drop the signed A615 GPU ZAP firmware from soc-qcom-sm7150 due to
compatibility issues causing crashes on Xiaomi (sweet/courbet) devices.

This firmware will be re-added in device-specific firmware packages
without being added to initramfs modules. Removing this firmware from
initramfs modules will not impact FDE functionality, as it is not
necessary for basic image display on panels.

Removal from initramfs modules is due to a change in the path to the
A615 GPU ZAP firmware, now device-specific.

Depend on new alsa ucm config package.

Add hexagonrpcd as a dependency and enable the
hexagonrpcd-adsp-sensorspd service for SSC.

Implement accel libssc_180_degrees mount matrix:
Introduce new udev rules tailored for Xiaomi devices (surya/davinci)
and potentially applicable to a broader range of sm7150 devices.
These rules are added to the SoC package and will be set as dependencies
in device packages for nonfree_firmware in subsequent commits.

Drop userspace pd-mapper, we have switched to the in-kernel
pd-mapper.

Add bootmac to set bt mac address.

Install nonfree firmware unconditionally.

Co-developed-by: Danila Tikhonov <danila@jiaxyga.com>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Co-developed-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-13 11:44:12 +03:00
Jens Reidel e6e35145fe testing/alsa-ucm-conf-qcom-sm7150: New package (MR 6195)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-13 11:44:05 +03:00
Barnabás Czémán c110eaf7f0 linux-postmarketos-msm89x7: Upgrade to v6.13-r1 (MR 6207)
[ci:skip-build]: already built successfully in CI
2025-02-13 09:11:16 +01:00
postmarketOS CI d1639b4a71 linux-next: upgrade to next-20250213 2025-02-13 06:00:17 +00:00
Clayton Craft f3fb6c17a9 systemd/postmarketos-base-systemd: add system preset for cups (MR 6196)
[ci:skip-build]: already built successfully in CI
2025-02-12 15:41:14 -08:00
Clayton Craft 0721feeec0 systemd/systemd-services: add msm-modem (MR 6173)
Also add config to rmtfs so systemd starts stuff in the correct order.

I added the msm-modem unit here instead of in pmaports/modem/msm-modem
because systemd-services handles creating boilerplate install scripts
automatically.

fixes #3451
[ci:skip-build]: already built successfully in CI
2025-02-12 14:56:52 -08:00
Clayton Craft b23fff2aa5 systemd/postmarketos-base-systemd: add msm-modem-uim-selection to system preset (MR 6173)
Also sorted the list of qcom-related units
2025-02-12 14:56:35 -08:00
Clayton Craft 49b25396b0 modem/msm-modem: move service logic to standalone script (MR 6173)
This allows other things to run the logic, like a systemd unit
2025-02-12 14:56:35 -08:00
Clayton Craft e2557598d7 main/postmarketos-ui-console: do not install any audio backend by default (MR 6192)
Users who want pulseaudio or pipewire (for audio) can still install
them, but by removing any audio backend by default we can avoid creating
images that include pulseaudio/gstreamer/mesa.

Before:
$ ls -hal /home/clayton/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/qemu-aarch64.img
-rw-r--r-- 1 root 12345 1.1G Feb 10 14:49 /home/clayton/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/qemu-aarch64.img

After:
$ ls -hal /home/clayton/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/qemu-aarch64.img
-rw-r--r-- 1 root 12345 806M Feb 10 14:49 /home/clayton/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/qemu-aarch64.img

fixes #3541
[ci:skip-build]: already built successfully in CI
2025-02-12 14:38:20 -08:00
Oliver Smith 8a14416374 temp/libcamera: rebuild against libgtest (MR 6204)
Our libcamera fork needs a rebuild, as pointed out by the
upstream-compat monitoring job:

Increase 'libcamera' pkgrel (9 -> 10), missing depend(s): so:libgtest.so.1.15.2
[ci:skip-build]: already built successfully in CI
2025-02-12 22:55:36 +01:00
Oliver Smith c5a9a7f67f cross/busybox-static-*: upgrade to 1.37.0-r14 2025-02-12 22:52:03 +01:00
Bart Ribbers efdaf964c2 systemd/systemd-services: add unit file for kwallet-pam (MR 6203)
[ci:skip-build]: already built successfully in CI
2025-02-12 22:02:04 +01:00
Clayton Craft c2ca0f73ce systemd/{postmarketos-base-systemd,systemd-services}: fix maintainer line
abuild doesn't allow multiple "maintainer" lines, I should have used
Co-maintainer instead...

[ci:skip-vercheck]
2025-02-11 22:10:57 -08:00
postmarketOS CI 354229f9e5 linux-next: upgrade to next-20250212 2025-02-12 06:00:15 +00:00
adamthiede 6ca3a66c10 linux-postmarketos-mediatek-mt8173: upgrade to 6.13.2 (MR 6176)
[ci:skip-build]: already built successfully in CI
2025-02-11 18:03:31 -08:00
Robert Eckelmann 4bf0235bed linux-postmarketos-marvell: switch to 6.13.2 (MR 6174)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2025-02-11 17:55:32 -08:00
Clayton Craft df218ae134 systemd/postmarketos-base-systemd: add Clayton as maintainer (MR 6183)
[ci:skip-build]: already built successfully in CI
2025-02-11 16:22:52 -08:00
Clayton Craft a0673b8378 systemd/systemd-service: add Clayton as maintainer (MR 6183) 2025-02-11 16:22:48 -08:00
Clayton Craft 0354bfdc6f systemd/postmarketos-base-systemd: add user preset for vvmd (MR 6183) 2025-02-11 13:06:36 -08:00
Clayton Craft 656fc0206d systemd/systemd-services: add vvmd (MR 6183)
Also sent this upstream here: https://gitlab.com/kop316/vvmd/-/merge_requests/86
2025-02-11 13:06:36 -08:00
Jianhua Lu 70b2068fe2 main/postmarketos-base-ui-gnome: drop polkit-elogind from depends (MR 6184)
[ci:skip-build]: already built successfully in CI
2025-02-11 18:10:38 +01:00
jane400 cfbcc5710c main/postmarketos-initramfs: remove stale /dev/log from syslog (MR 6156)
[ci:skip-build]: built successfully in CI for x86_64,x86,aarch64

riscv64,armv7,armhf failes at binfmt_misc, which isn't related to
this MR.
2025-02-11 07:11:27 +01:00
Jens Reidel 3b26a054a5 linux-postmarketos-qcom-sm7150: spgrade to 6.13.2 (MR 6193)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:skip-build]: already built successfully in CI
2025-02-11 07:24:43 +03:00
Devin Lin 5afe39283c systemd/systemd-services: add hfd-service (MR 6191)
Unit file is from https://gitlab.com/ubports/development/core/hfd-service/-/blob/main/init/hfd-service.service.in?ref_type=heads

This fixes system vibrations not working in Plasma.
[ci:skip-build]: already built successfully in CI
2025-02-10 17:44:11 -08:00
AbortRetryFail 31accb15ae ouya-ouya: Use deviceinfo_create_initfs_extra to keep boot.img <=8MB.
Fixes #3522

[ci:skip-build]: already built successfully in CI
2025-02-10 14:31:24 -08:00
Sam Day 4a7588d0e2 {device,soc}-*: use cairo software GTK renderer on quirky devices (MR 6178)
GTK shipped the ngl (new GL) renderer last year and deprecated the
legacy gl renderer. In GTK 4.17 this renderer has been removed entirely,
which means the devices that were forcing the use of this legacy
renderer need to now fallback to software rendering instead.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3533
Signed-off-by: Sam Day <me@samcday.com>
[ci:skip-build]: already built successfully in CI
2025-02-10 22:48:36 +01:00
Barnabás Czémán 5258a6b5bf soc-qcom-msm89x7: Add gpu and ucm subpackages as dependencies (MR 6180)
Add gpu and ucm supackages as dependecies.

[ci:skip-build]: already built successfully in CI
2025-02-10 13:16:12 -08:00
Pablo Correa Gómez c3273472e0 device-generic-x86_64: add psmouse to initfs modules (MR 6187)
This could serve a wide variety of old touchpads and mouses, to be
functional in unl0kr

Fixes https://gitlab.postmarketos.org/postmarketOS/buffybox/-/issues/42
[ci:skip-build]: already built successfully in CI
2025-02-10 08:51:39 -08:00
Alexey Minnekhanov 04c1456e7b CI: check for enabled arch for extra-repos/systemd too (MR 6162)
This check is present for "normal" packages, duplicate it for
ones that are thrown into "retry build with systemd later" list.

We need to explicitly pass with_extra_repos="enabled" arg to
find() to avoid getting cached "package not found in repos" result.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-02-10 07:54:55 -08:00
fossdd 5d94bb2b2a systemd/multipath-tools: upgrade to 0.11.0 (MR 6162)
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/e6573fe9e819dbb07d98d3641444e218b020bb8c
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/95713c7eccefe1fa074d91a2051a68649eb12dc2
2025-02-10 07:54:55 -08:00
fossdd 0d306f3c17 systemd/upower: upgrade to 1.90.7 (MR 6162)
Upstream: https://gitlab.alpinelinux.org/alpine/aports/-/commit/3bd4895a7eec0efde8273309230a7f7778fbf0c3
2025-02-10 07:54:55 -08:00
fossdd ffe1943fa9 systemd/networkmanager: upgrade to 1.50.2 (MR 6162)
Upstream: https://gitlab.alpinelinux.org/alpine/aports/-/commit/df56b1fdb00bea54b6e38ecfd469fbc0f1998398
2025-02-10 07:54:54 -08:00
fossdd bac08a8cfd systemd/mutter: upgrade to 47.5 (MR 6162)
Upstream: https://gitlab.alpinelinux.org/alpine/aports/-/commit/89b800d36cc9bb63e107850a814415aa9ea38a52
2025-02-10 07:54:54 -08:00
fossdd 2315996964 systemd/gnome-shell: upgrade to 47.4 (MR 6162)
Upstream: https://gitlab.alpinelinux.org/alpine/aports/-/commit/de42c12822875ce3a03a65dfee648dab26de8d3b
2025-02-10 07:54:54 -08:00
fossdd 1d57524a38 systemd/polkit: upgrade to 126 (MR 6162)
Upstream: https://gitlab.alpinelinux.org/alpine/aports/-/commit/9af7d6ac2e7e603aeef524dc250eb5c92e4c6aa5
2025-02-10 07:54:54 -08:00
postmarketOS CI a127d53407 linux-next: upgrade to next-20250210 2025-02-10 05:59:58 +00:00
fossdd f51775ed7e systemd/systemd-services: remove phosh.service (MR 6150)
phosh.services is superseeded by forking phosh from Alpine to include
systemd-related files

[ci:skip-build]: already built successfully in CI
2025-02-09 13:55:50 +01:00
fossdd f13a93516b systemd/phosh: fork from Alpine to include systemd files (MR 6150) 2025-02-09 13:55:50 +01:00
fossdd e8d9a0273e systemd/postmarketos-base-systemd: remove phosh preset (MR 6150)
phosh.service was removed, because phosh uses tinydm to start for the
moment
2025-02-09 13:55:50 +01:00
fossdd 83a49d84c7 main/postmarketos-ui-phosh: use tinydm for systemd (MR 6150)
Ref: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3464#note_467493

Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3460
Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3464

Edit by Oliver: added tinydm-openrc back to the openrc() subpackage, as
otherwise we may try to enable the service before it is installed in the
post-install script.
2025-02-09 13:55:45 +01:00
User0 50106d8503 samsung-loganrelte: boot mainline (MR 6142)
This replaces the downstream kernel with a near-to-mainline kernel, and also adds a msm8930-specific mainline package. While this removes some functionality (screen, touchscreen), this makes the boot more stable (boots no matter if charging or not). To flash this, you first need to flash lk2nd, and then flash to the userdata partition with pmbootstrap flasher flash_rootfs --partition userdata. You might need to wipe the system partition. The boot finishes, but to get USB networking, you might need to dis- and re-connect the device ca. 10 seconds after (re-)booting. SSH and internet-over-USB works fully.
2025-02-08 11:18:08 -08:00
exkc 8a42f604a9 lenovo-lxf-p5100: new device (MR 6128) 2025-02-08 11:12:18 -08:00
Sicelo A. Mhlongo ffa0f1245b nokia-n900: remove deprecated deviceinfo options (MR 6168)
screen_height and screen_width are now deprecated options according to the
wiki. remove them

[ci:skip-build]: already built successfully in CI
2025-02-08 20:02:41 +01:00
fossddandLuca Weiss f3f0f96513 CI: autoupdate: get latest next tag from git.kernel.org (MR 6012)
Co-Authored-By: Luca Weiss <luca@lucaweiss.eu>

[ci:skip-build]: already built successfully in CI
2025-02-08 09:38:48 -08:00
fossdd 8a3498457f linux-next: use git.kernel.org as source (MR 6012)
Canonical location of the linux-next tree is at git.kernel.org and to
avoid potential malicious attacks use their tarballs instead
2025-02-08 09:38:48 -08:00
Clayton Craft 4e908a7615 soc-qcom-sdm845: remove dependency on alsa-utils (MR 6169)
Suddenly apk wants to install other ucm pkgs that conflict with
soc-qcom-sdm845-ucm, like the soc-qcom-msm8996-ucm pkg. Later when the
sdm845-ucm is installed it conflicts with the previously installed (and
incorrect) ucm pkg.

This SOC pkg depends on alsa-utils from e95d28a6, but the
call_audio_idle_suspend_workaround.sh that was added in that commit
doesn't actually seem to be using apps from alsa-utils, so maybe it's
safe to remove that dependency and fix an issue where apk will sometimes
install the wrong alsa-ucm-conf pkg for a device...

[ci:skip-build]: already built successfully in CI
2025-02-08 09:35:22 -08:00
Caleb Connolly 168663519b postmarketos-initramfs: check FS before resize (MR 6159)
Run e2fsck before resizing the root partition so that resize2fs will
actually succeed

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-02-08 08:55:33 -08:00
Barnabás Czémán 1d63a75d4d linux-postmarketos-qcom-msm8953: upgrade to v6.13.0-r0 (MR 6116)
Tested Community Devices:

    - xiaomi-mido
    - xiaomi-vince
    - xiaomi-tissot
    - xiaomi-ysl

Tested Community Devices:

    - xiaomi-onclite
    - motorola-potter

Changes

    e33e7f9 arm64: dts: qcom: msm8953: motorola-potter: add touchscreen reset GPIO
    dd26b8f Input: rmi_i2c: introduce reset GPIO handling
    39aa0e7 dt-bindings: input: add max output voltage & auto resonance mode to the Qualcomm SPMI haptics
    8ec6321 input: misc: qcom-spmi-haptics: make vmax configureable via DT prop
    2ed3f64 input: misc: qcom-spmi-haptics: make auto res mode configureable via DT prop

Maybe Fixes: #3078 (idk aftermarket display could be a different issue.)

Thank You! @Felix @smankusors
2025-02-08 00:18:55 -08:00
Luca Weiss 09c45cb26b linux-postmarketos-qcom-sc7280: upgrade to 6.13.0 (MR 6072)
Manual kconfig changes:
* TOUCHSCREEN_GOODIX_BERLIN_SPI
* DRM_PANEL_VISIONOX_RM692E5
* SND_SOC_TFA9872
* TOUCHSCREEN_FTS
* VIDEO_IMX471
2025-02-08 00:06:29 -08:00
Robert Mader 37dbf850ae temp/libcamera: Remove libcamera udev rule package (MR 6163)
This is now handled in postmarketos-base-ui.

[ci:skip-build]: already built successfully in CI
2025-02-07 11:56:00 -08:00
Robert Mader 0d6c6e80ad main/postmarketos-base-ui: add universal udev rule for udmabuf (MR 6163)
The udmabuf allocator enjoys increasing popularity, not only being
used by libcameras swISP and some virtualisation apps, but since Mesa
commit d74ea2c1 even in llvmpipe - and more projects plan adoption,
such as Gstreamer.

Thus let's ensure it's universally available for UI users if the
kernel supports it.

As there are DEs that don't support the "uaccess" tag, such as SXMO,
and "legacy" groups are still used in pmOS anyway, use the later.
2025-02-07 11:56:00 -08:00
Clayton Craft 5f792c1936 systemd/systemd-services: hexagonrpc-*: run services conditionally (MR 6147)
- hexagonrpcd-adsp-rootpd should only be started if valid config exists
for it, e.g. provided by device pkgs

- For devices with a CDSP: only the -adsp-rootpd and -sdsp services should
be started.

- For devices with only an ADSP: only -adsp-rootpd and -adsp-sensorspd
should be started.

This also stops the hexagonrpcd-adsp-sensorspd on suspend, attempting
to work around some issue wrt sargo that is implemented in openrc (see
fe00027849)

[ci:skip-build]: build tested locally since alsa-ucm conflicts prevent
build testing in CI
2025-02-07 11:34:59 -08:00
Clayton Craft 89bb82e942 systemd/systemd-services: fix iio-sensor-proxy override conf (MR 6147)
The dir was incorrect, so systemd was not merging the override
2025-02-07 11:34:59 -08:00
Robert MaderandClayton Craft 62611a7b06 device-oneplus-enchilada: Reuse hexagonrpcd config on systemd (MR 6147)
By sharing the config file and making the systemd unit files match the
openRC ones as close as possible.

Also fix the q6voiced.conf path while on it.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-02-07 11:34:59 -08:00
Clayton Craft ed01099318 device-oneplus-enchilada: remove nonfree_firmware subpkg (MR 6147)
We decided last year to always install the pkgs this subpkg pulled in,
and removing it simplifies the apkbuild.
2025-02-07 11:34:59 -08:00
Robert MaderandClayton Craft 338d7d66f8 device-google-sargo: Fix hexagonrpcd on systemd (MR 6147)
By sharing the config file and making the systemd unit files match the
openRC ones as close as possible.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-02-07 11:34:59 -08:00
Robert MaderandClayton Craft 17d52ba258 systemd/postmarketos-base-systemd: add hexagonrpcd-adsp services to system preset (MR 6147)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-02-07 10:09:39 -08:00
Robert Mader 774e018a7a systemd/systemd-services: Add additional hexagonrpcd unit files (MR 6147)
Matching the openRC ones. Also make use of the hexagonrpcd_fw_dir env var
and reuse the correcponding conf files, making it easier to support
both init systems.
2025-02-07 10:09:39 -08:00
Sicelo A. Mhlongo 82a8d55197 device-nokia-n900: drop partition resize cmdline option (MR 6164)
Partition resizing is now done in initramfs at every boot.
2025-02-07 16:48:37 +03:00
postmarketOS CI 8e65e1edac linux-next: upgrade to next-20250207 2025-02-07 06:00:02 +00:00
Barnabás Czémán c3a3c4d98a device-qcom-msm89x7: add support for more Motorola (MR 6101)
Add support for more motorola nora, montana and panels
for cedric and jeter.
2025-02-06 21:25:57 +09:00
Barnabás Czémán 16f52f3f28 firmware-qcom-msm89x7: new package (MR 6101)
Add new fw package for device what cannot load necessary fws
with msm-firmware-loader.
2025-02-06 21:25:57 +09:00
Barnabás Czémán 1fb20d1aad soc-qcom-msm89x7: add subpackage for ucm configs (MR 6101)
Add supbackage for ucm2 configurations of the devices.
2025-02-06 21:25:48 +09:00
Barnabás Czémán f26b4ff13b linux-postmarketos-qcom-msm89x7: update to v6.13-r0 (MR 6101) 2025-02-06 21:24:14 +09:00
Caleb Connolly 448d56e4cb CI: use QEMU-friendly runner where necessary (MR 6143)
The OSUOSL provided runners have issues with QEMU, switch to our own.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2025-02-05 23:18:54 +01:00
Bart Ribbers 4d35434e14 systemd/systemd-services: add a unit file for ksystemstats (MR 6157) 2025-02-05 18:07:15 +01:00
Luca Weiss 20b4be45d4 systemd/postmarketos-base-systemd: fix ollie's maintainer email (MR 6151) 2025-02-05 16:22:33 +01:00
Bart Ribbers 97e342a89c systemd/systemd-services: add a unit file for baloo (MR 6149) 2025-02-05 15:40:57 +03:00
MasterPlexus cde87065d2 device-oneplus-bacon: enable creation of initfs-extra (MR 6122)
Update deviceinfo with deviceinfo_create_initfs_extra="true" to make
the boot.img small enough for Boot partition for newer Kernels.
2025-02-05 09:10:24 +03:00
postmarketOS CI 16a4013502 linux-next: upgrade to next-20250205 2025-02-05 05:59:24 +00:00
Richard Acayan 33ff836196 google-sargo: install q6voiced for any init system (MR 6107)
The q6voiced environment file was moved back into the nonfree-firmware
subpackages in !6015, but google-sargo was forgotten. Add it for the
Pixel 3a.
2025-02-04 07:23:53 -08:00
Clayton Craft c7ddc65a67 device-google-sargo: remove nonfree_firmware subpkg (MR 6107)
We decided last year to always install the pkgs this subpkg pulled in,
and removing it simplifies the apkbuild.
2025-02-04 07:23:53 -08:00
Sicelo A. Mhlongo 6ac4e5f49c device-nokia-n900: stop using /etc/skel (MR 6123)
Drop all uses of the /etc/skel feature for adding configuration files and
scripts to the user's $HOME. Files installed via /etc/skel are outside the
control of the package manager and may result in broken installations. At the
least, they are not updateable from the packaging.

To implement this:
 * drop $HOME/.protip_shell.sh, whose usefulness is questionable
 * relocate i3blocks blocklets to /usr/share, and the config file to /etc/xdg,
   which is an i3blocks' standard search path (`man i3blocks`)
 * move the i3 configuration file to /etc/xdg, from where it can be picked up
   and included by the config file provided via postmarketos-ui-i3wm. Configs
   from $HOME are still parsed, and will be honored by i3wm, subject to i3's
   limitations in connection with including extra config files
 * at i3 startup, with the help of an external script, ensure there is an i3
   config file in $HOME, even if empty. This prevents i3-config-wizard from
   running and mangling the config files
 * convert xdefaults to Xresources and store in /usr/share/X11. Load it to on
   the environment by calling `xrdb` during i3 startup
2025-02-04 23:26:32 +09:00
Sicelo A. Mhlongo 8edffde81b main/postmarketos-ui-i3wm: include config from /etc/xdg (MR 6123)
Device packages should use /etc/xdg/i3/config to provide customized
configurations for i3wm
2025-02-04 23:26:32 +09:00
Dylan Van Assche 8a72315e9f temp/iio-sensor-proxy: sleep workaround is not needed anymore (MR 6040)
libssc waits now itself for the DSP to be ready.
2025-02-04 23:07:36 +09:00
Dylan Van Assche af17d8f3a7 temp/iio-sensor-proxy: upgrade libssc patches (MR 6040)
Libssc integration in iio-sensor-proxy has been heavily improved, sync the patches in pmaports.
2025-02-04 23:07:36 +09:00
Clayton Craft 5f4f465db0 Revert "CI: use resource groups for qemu build test jobs (MR 6132)"
This reverts commit 0eaba406fe.
Resource groups dramatically reduced CI throughput for these jobs,
blocking pipelines for a really really long time.
2025-02-04 01:17:53 -08:00
Bart Ribbers 67e15e5b4a CODEOWNERS: fix indentation (MR 6136) 2025-02-04 09:49:32 +01:00
Bart Ribbers dafc0b6554 CODEOWNERS: update PureTryOut's package's (MR 6136) 2025-02-04 09:49:32 +01:00
Luca Weiss 795c5422f2 linux-postmarketos-intel-medfield: fix build (MR 6139)
[ci:skip-vercheck]
[ci:skip-build]: build tested locally
2025-02-04 09:44:50 +01:00
Luca Weiss 6bc9631f63 linux-sony-nicki-mainline: fix build (MR 6139) 2025-02-04 09:44:31 +01:00
Luca Weiss 944391e071 linux-samsung-i927: fix build (MR 6139) 2025-02-04 09:44:26 +01:00
Oliver Smith 03c4ff5cad cross/busybox-static-*: upgrade to 1.37.0-r13 2025-02-04 07:10:45 +01:00
postmarketOS CI 2a315405d3 linux-next: upgrade to next-20250204 2025-02-04 05:57:59 +00:00
exkc 0337bb4b35 main/postmarketos-ui-buffyboard: new aport (MR 6127)
[ci:skip-build] Already built fine in the CI once
2025-02-04 06:33:43 +03:00
Clayton Craft 84b19f67f3 CI: use aarch64 gitlab runners for aarch64 build testing (MR 6140)
We have it so let's use it.
2025-02-03 15:03:21 -08:00
User0 a71bc7238c bananapi-bpi-m2-zero: auto-load brcmfmac (MR 6097) 2025-02-04 06:30:10 +09:00
Jan Jasper de Kroon 70ca0ebe8e linux-pine64-pinephonepro: upgrade to 6.13 (MR 6093) 2025-02-03 10:23:14 -08:00
Robert Mader 6bc98ff414 soc-qcom-sdm845: discourage hw video (de)encoders in gstreamer (MR 6098)
Gstreamer enables hw de- and encoding by default for the most common APIs,
including V4L2-stateful. Unfortunately the venus driver is still quite
unstable, reliably crashing in very common scenarios, triggering apps
like Snapshot, Showtime or Tuba to show error messages or not working
properly - partly because of non-optimal error-handling.

Until the kernel driver situation improves, set environment variables
that demote the decoders to fallbacks in case nothing else is available,
and disable the hw-encoders completely as they tend to destabalise the
whole system if something goes wrong.

Useful command for env variables:
systemctl --user show-environment
2025-02-03 12:00:55 +01:00
Clayton Craft 0eaba406fe CI: use resource groups for qemu build test jobs (MR 6132)
This uses resource groups in gitlab CI to limit the cross arch build
test jobs to only allow one at a time.

This is a workaround for
https://gitlab.postmarketos.org/postmarketOS/postmarketos/-/issues/83

[ci:skip-build]: already built successfully in CI
2025-02-03 00:44:06 -08:00
postmarketOS CI 66bcf2c390 linux-next: upgrade to next-20250203 2025-02-03 06:00:11 +00:00
hexaheximal 1b695a27dc main/postmarketos-ui-mediaberry: new aport (MR 6066)
This MR adds the boilerplate packaging needed for Mediaberry.

mbrt and sysapps are not included in this MR because Alpine Linux does not (yet?) package CEF.

For transparency: The packages here are based on the code from https://codeberg.org/lasagna/lasagna-pmaports.

[ci:skip-build]: CI fails cause of fakeroot on armv7 - known issue with CI.
2025-02-02 13:56:29 -08:00
hexaheximal 0b79a4bed3 temp/mbwl: new aport (MR 6066) 2025-02-02 06:34:51 -08:00
fossdd dbdbc6fc4f systemd/systemd-services: fix libexecdir of user-xdg-desktop-portal-phosh.service (MR 6108) 2025-02-01 16:06:28 +01:00
exkc 6c52aa6a3c device-xunlong-orangepi3: remove deviceinfo_disable_dhcpd="true" (MR 6064)
It can do usb networking via the micro usb.
2025-02-01 20:04:10 +09:00
Alexey Minnekhanov eacfb4dacd main/postmarketos-initramfs: fix filesystem detection regex again (MR 6117)
Pretty sure when you already have a-z specified as range, second one
should be A-Z and not A-z.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2025-01-31 18:12:28 +03:00
Pablo Correa Gómez b0daad0953 main/postmarketos-base-ui: move flatpak repo config to /usr (MR 6119)
Since 1.15.11 this is supported (see
https://github.com/flatpak/flatpak/pull/5688/files). According
to the docs:

System-wide remotes can be statically preconfigured by dropping
flatpakrepo files into /usr/share/flatpak/remotes.d/ and
/etc/flatpak/remotes.d/. If a file with
the same name exists in both, the file under
/etc will take precedence.

This allows us to move the file without fear that if users disabled
or modified the repo, apk will keep the file in /etc and we won't
override it.

This is part of a wider effort to move things out of /etc and
into /usr

Fixes #2596
[ci:skip-build]: already built successfully in CI
2025-01-31 15:57:20 +01:00
Henrik Grimler cca51af9ba systemd/postmarketos-base-systemd: put libkmod in initfs-extra (MR 6118)
It is needed by udev, which is in initfs-extra. If libkmod and its
dependencies are put in the first initfs then the boot.img size
increases by roughly 2 MB, which is a problem for devices with small
boot partitions.

Fixes: postmarketOS/pmaports#3510

[ci:skip-build]: already built successfully in CI (riscv64 failed
because of know qemu CI issue)
2025-01-31 05:41:47 -08:00
Clayton Craft 998cfab209 systemd-services: add wg-quick (MR 6094) 2025-01-30 22:58:55 -08:00
vipoll ba1ff47857 archived/<msm8953 ports>: add archiving note, remove maintainers (MR 6085)
Add a note with the reason for archiving and a suggestion to use the generic port (qcom-msm8953), remove maintainers. These individual ports was replaced (MR 5800) by the generic one (qcom-msm8953)

[ci:ignore-count] [ci:skip-vercheck]
2025-01-30 22:43:23 -08:00
postmarketOS CI 53d07b31ee linux-next: upgrade to next-20250131 2025-01-31 05:56:16 +00:00
Sicelo A. Mhlongo 7721e2d8b5 linux-postmarketos-omap: upgrade to 6.13 (MR 6071)
- Add upstream patch enabling bq2415x_charger to report events to userspace
 - Add upstream patch to fix SPI bus regression [1]. For N900, it breaks the
   screen and WLAN

 [1] https://lore.kernel.org/linux-spi/Z5HXoq8XlduURWmw@tp440p.steeds.sam/T/#mbd2ca8fb3b214819623197325b37fce182dddce7
2025-01-30 15:35:18 -08:00
Robert Mader 7b233c0c3a main/postmarketos-base-ui-gnome: add some gst packages to pmb_recommends
The current OOTB Gstreamer experience on Gnome DEs can be disappointing as
a lot of default codecs and elements are missing. This is often not obvious
for users as Gst in various cases has less optimal fallbacks, easily leaving
the impression that either an app, drivers or hardware are at fault.

Add the most important packages to pmb_recommends so users have a better time.

Notes:
 - Many images already ship ffmpeg-libavcodec, so this shouldn't worsen the
   legal situation.
 - '-bad' is usually already pulled in indirectly while '-good' at least for
   GS variants is already required. Both are strongly recommended for apps
   like Showtime, Snapshot and many more mobile-friendly apps from the
   ecosystem.
 - '-bad' really isn't bad any more these days and various elements in it
   are used by default if available. That is, many elements there should have
   long moved to '-good'.
2025-01-30 20:09:22 +03:00
postmarketOS CI b84b49c91f linux-next: upgrade to next-20250130 2025-01-30 05:56:40 +00:00
Sicelo A. Mhlongo cc92408b60 device-nokia-n900: depend on evtest (MR 6113)
730c56ed35 ("community/device-nokia-n900: x11: integrate screenshot utility")
added a script that uses evtest. Add the required package dependency.
2025-01-30 01:54:04 +03:00
Luca Weiss 972d39afe9 device/*: comply to updated kconfig checks (MR 6087)
This was done in 7 steps:
* prepare by running pmbootstrap kconfig migrate
* fix up kconfig category:uefi
* fix up kconfig category:zram
* fix up kconfig category:default
* fix up kconfig category:default (NULL_TTY)
* fix up kconfig category:input
* bump pkgrels

[ci:skip-build]
[ci:ignore-count]
2025-01-29 17:38:06 +01:00
Luca Weiss dbf2816604 linux-xiaomi-raphael: remove !pmb:kconfigcheck and fix kconfig (MR 6087)
There's no justification given to why kconfigcheck should be disabled
for this kernel, so remove it and fix up the defconfig.
2025-01-29 17:36:01 +01:00
Luca Weiss 342faa4245 kconfigcheck: Reshuffle some input options (MR 6087)
Limit some options based on when they are introduced, to avoid e.g. 6.1
kernels failing kconfig check where the option is just not available
yet.
2025-01-29 17:36:00 +01:00
Caleb Connolly e9252bb7db kconfigcheck: require NULL_TTY support (MR 6087)
The null TTY driver provides a proper (dummy) TTY interface when
console=null is set on the kernel cmdline. This fixes certain
applications which don't correctly handle read() immediately returning
with 0 bytes (e.g. busybox syslogd).

Most normal EFI devices don't boot with console=null and as such there
are various foot-guns littered all over Linux userspace and even in our
own initramfs. However some android devices even enforce console=null,
so it's something we have to deal with.

NULL_TTY should reduce the chance of folks running into strange problems
because of this.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-29 17:36:00 +01:00
Andreas Kemnade 9948d6e3af linux-postmarketos-imx-ereader: Update to 6.13.0 (MR 6102)
Also add fix for https://github.com/swaywm/sway/issues/7035

[ci:skip-build]: already built successfully in CI
2025-01-29 12:43:13 +01:00
Jakob Hauser 79b19295b4 main/postmarketos-ui-xfce4: xfce 4.20 adaptions and additional small changes (MR 5942)
Changelog of xfce4-phone 0.6.0:
- Update screenshot
- Remove separator on the left-hand side of the clock
- Increase font size of the clock
- Change order of panel plugins "pulseaudio" and "power-manager"
- Increase icon size of status tray in panel
- After Xfce 4.20 release remove outdated "backdrop" settings
- After Xfce 4.20 release set theme "Greybird" explicitely

[ci:skip-build]: already built successfully in CI
2025-01-29 12:36:01 +01:00
Jakob Hauser 22517e033f main/postmarketos-ui-xfce4: save and restore brightness on boots (MR 5942)
The Xfce4 power manager can control the display brightness. It doesn't
save and restore it over boots, however. In distributions with systemd
this is handled by "systemd-backlight@.service". For OpenRC the package
brightnessctl offers a service saving the state of the brightness at
shutdown and reboot.

As brightnessctl is a rather simple tool and not specifically adapted to
Xfce4, it can get confused when the power manager e.g. lowers the display
brightness when on idle. To avoid such a hassle, the display power settings
were simplifyed in repository "xfce4-phone" version 0.5.3 (and needed a
correction in version 0.5.4). Users nonetheless can change them if desired.
2025-01-29 12:36:01 +01:00
postmarketOS CI 1171248090 linux-next: upgrade to next-20250129 2025-01-29 05:58:00 +00:00
postmarketOS CI 70bb5116b9 linux-next: upgrade to next-20250128 2025-01-28 05:56:43 +00:00
Alexey Minnekhanov 745fd9d3ec main/postmarketos-install-recommends: new aport (MR 5697)
Simple python script to automate installing of _pmb_recommends
for a specified package.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2025-01-27 13:35:07 +03:00
jane400 6005bc9e1e systemd/systemd-services: don't override tinydm completly (MR 6091)
The package was named tinydm instead of tinydm-systemd accidentally.
This will cause tinydm-start-session to vanish after upgrading,
completely breaking booting into any GUI that depends on tinydm.

(only systemd installations are affected)
2025-01-27 13:11:12 +03:00
Stefan Hansson 667d8dd2c8 channels.cfg: mark v24.06 as unsupported
See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3391
2025-01-25 13:47:12 +01:00
Kaloyan501 391ee56f6e huawei-alice: enable deviceinfo_create_initfs_extra and depend on postmarketos-base-downstream (MR 5989)
[ci:skip-build]: already built successfully in CI
2025-01-25 10:34:08 +01:00
Aster Boese f1787a0c94 main/postmarketos-artwork: fix deprecated imagemagick call (MR 6084)
[ci:skip-build]: already built successfully in CI
2025-01-25 10:01:57 +01:00
Aster Boese ee78363a98 main/postmarketos-artwork: add monochrome logo (MR 6084) 2025-01-25 10:01:36 +01:00
Luca Weiss 79d66bd528 main/postmarketos-ui-lomiri: new aport (MR 4496)
Co-developed-by: Aster Boese <asterboese@mailbox.org>

[ci:skip-build]: already built successfully in CI
2025-01-25 09:30:40 +01:00
Aster Boese da678d4c12 main/deviceinfo-converter: new aport (MR 4496) 2025-01-25 09:30:39 +01:00
Caleb Connolly 4b367a4357 postmarketos-initramfs: prevent busyloop in syslogd (MR 6013)
when stdin is /dev/null (e.g. when console=null is on the kernel
cmdline) syslogd will call read() over and over and never handle the
SIGTERM we send it, pinning a CPU core on every boot.

Hooking up syslogd std I/O to /dev/zero prevents this.

Co-authored-by: Richard Acayan <mailingradian@gmail.com>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
[ci:skip-build]: already built successfully in CI
2025-01-24 10:21:52 -08:00
Clayton Craft dc3499fa98 linux-valve-jupiter: upgrade to 6.13 (MR 6082)
- depend on diffutils, or else make complains about options not
  supported by busybox diff
- rebased patches

[ci:skip-build]: already built successfully in CI
2025-01-24 08:14:09 -08:00
Clayton Craft d067e117d8 main/bootmac: upgrade to 0.6, support systemd (MR 6050)
This new version includes initial support for systemd (for bluetooth
only atm). udev rules are only installed for openrc systems, bt config
on systemd was replaced by a unit file and using bootmac for wifi has
issues (https://gitlab.postmarketos.org/postmarketOS/bootmac/-/issues/7)

[ci:skip-build]: already built successfully in CI
2025-01-24 08:11:34 -08:00
Clayton Craft 908f7c0fe2 systemd/postmarketos-base-systemd: enable bootmac-bluetooth service by default (MR 6050) 2025-01-24 08:11:31 -08:00
postmarketOS CI 23bb4cf163 linux-next: upgrade to next-20250124 2025-01-24 05:57:04 +00:00
adamthiede 3a8697c128 community/linux-postmarketos-mediatek-mt8173: upgrade to 6.13 (MR 6073) 2025-01-23 20:56:37 -08:00
postmarketOS CI a1eb390c98 linux-next: upgrade to next-20250123 2025-01-23 19:59:45 +00:00
jane400 295521cac4 systemd/systemd-services: update flatpak user units (MR 6078)
Add flatpak-oci-authenticator.service and fixup paths to /usr/libexec

[ci:skip-build]: already built successfully in CI
2025-01-23 10:19:53 -08:00
jane400 393a0479a3 systemd/postmarketos-base-systemd: remove sshd usepam config (MR 6057)
This was already part of postmarketos-base-ui

[ci:skip-build]: already built successfully in CI
2025-01-23 09:24:17 -08:00
VaporGame 4c73196844 samsung-i9105p: new device (MR 5861)
[ci:skip-build]: already built successfully in CI
2025-01-23 09:08:01 -08:00
knuxify 6907cf2359 device-samsung-nevisp: use extra initfs (MR 6080)
[ci:skip-build]: already built successfully in CI
2025-01-23 16:38:15 +01:00
knuxify 9667f1c0fc device-samsung-zanin: use extra initfs (MR 6080) 2025-01-23 16:38:09 +01:00
knuxify 8911d58d25 device-samsung-baffinlite: use extra initfs (MR 6080) 2025-01-23 16:38:08 +01:00
knuxify 7ac1c73490 device-samsung-kylevess: use extra initfs (MR 6080) 2025-01-23 16:38:08 +01:00
knuxify f1e5981e0f device-samsung-kylepro: use extra initfs (MR 6080) 2025-01-23 16:38:08 +01:00
Jianhua Lu eb8694fd6b linux-postmarketos-qcom-sm8250: upgrade to 6.13.0 (MR 6079)
[ci:skip-build]: already built successfully in CI
2025-01-23 14:59:54 +01:00
hrdl e8bedd2b15 linux-postmarketos-imx-ereader: fix install of 8189fs.ko (MR 6075)
The -t option is needed because the destination is a directory

Fix use of REPLACE_GCCH=0

[ci:skip-build]: already built successfully in CI
2025-01-22 17:38:50 -08:00
Robert Eckelmann c0a69c0767 kconfigcheck.toml: add conditions for certain HID options (MR 6077)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2025-01-22 16:44:20 -08:00
Alexey Minnekhanov 099ecb99eb main/postmarketos-ui-fbkeyboard: support systemd (MR 6065)
Add service file and systemd subpackage.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2025-01-22 23:44:37 +03:00
Alexey Minnekhanov 69bdedc45a systemd/postmarketos-base-systemd: add fbkeyboard to preset (MR 6065)
Add fbkeyboard UI service to preset.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2025-01-22 23:44:37 +03:00
postmarketOS CI 4abb2334d2 linux-next: upgrade to next-20250122 2025-01-22 20:00:07 +00:00
Frank Oltmanns cfdfd97134 linux-postmarketos-qcom-sdm845: Add HID config options (MR 6032)
Enable the config options that are required since commit 2306f863
"kconfigcheck: Add all HID config options from Fedora aarch64 kernel (MR
5836)".
2025-01-22 15:22:51 +01:00
Frank Oltmanns 31b3ba7a50 linux-postmarketos-qcom-sdm845: Improve work-around for call audio regressions (MR 6032)
Somehow enabling in-kernel PD mapper (introduced in 5b9f51b200dcb
"remoteproc: qcom: enable in-kernel PD mapper"), breaks the bottom mic
on xiaomi-beryllium (Poco F1) and distorts audio on OP6 (and possibly
OP6T). Temporarily disable it until the issue is resolved upstream.

Previously, the module's was modified to disable the in-kernel PD
mapper. This modification was a hack. Instead, modify the config so that
the in-kernel PD mapper is not built in the first place, which achieves
the same result.

Link: https://lore.kernel.org/linux-arm-msm/20241010074246.15725-1-johan+linaro@kernel.org/T
Link: pmaports#3353
Link: pmaports#3320
Link: pmaports#3245
Link: pmaports#3253

Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
2025-01-22 15:22:51 +01:00
Caleb Connolly dbe231aa15 device/testing/linux-next: enable NTFS (MR 5801)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-21 23:49:30 -08:00
Caleb Connolly 818f90c338 kconfigcheck: enable NTFS for UEFI capable arm64/x86 devices (MR 5801)
devices that previously ran windows may still have a windows partition
and want to dual boot.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-21 23:37:33 -08:00
Caleb Connolly 8ffef0c414 device/testing/device-postmarketos-trailblazer: depend on woa-firmware-yoinker (MR 5801)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-21 23:34:35 -08:00
Caleb Connolly 18cd22b7eb main/woa-firmware-yoinker: new aport (MR 5801)
This tool is similar to msm-firmware-loader or droid-juicer, except it
copies firmware from Windows instead.

Currently when the ADSP loads the new firmware it causes a usb reset
which breaks booting from USB. For now ask people to run this manually
and ensure the adsp firmware isn't available on the USB.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-21 23:34:35 -08:00
Caleb Connolly 3fbaa2acff testing/device-postmarketos-trailblazer: X1E Slim 7x support (MR 5801)
Extend existing X1 Elite support with the modules needed to bring up the
Lenovo Yoga Slim 7x.

We could use the EFI framebuffer in the initramfs, however the
regulators are turned off before we get there so it goes blank. Pull in
all the bits for proper display/panel support.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-21 23:34:35 -08:00
Pablo Correa Gómez 63a84dbb84 mrhlpr.json: drop the unknown regex (MR 5840)
This regex seems to have served to be a bit more flexible than the
actual pass one, for any kind of exceptions needed. However, it
resulted in basically every MR since the introduction of the
COMMITSTYLE, and most likely before, to be caught by that regex
instead of the pass one. As we have made the pass regex more flexible
now, we can now remove this. This should help keep commit messages
more standardized. If there's a reason for a commit to be different,
then the merger can just ignore it.
2025-01-21 23:29:06 -08:00
Pablo Correa Gómez b5669073ae mrhlpr.json: force lower-case at the beginning of commit description (MR 5840)
This is how it's enforced in the COMMITSTYLE
2025-01-21 23:29:06 -08:00
Pablo Correa Gómez 245d7757ef mrhlpr.json: stop making the directory prefix compulsory (MR 5840)
This has not been a requirement since the introduction of COMMITSTYLE
guidelines in f2993c3ad8, so let's make
these kind of commits pass!
2025-01-21 23:29:06 -08:00
Pablo Correa Gómez 9365b8c0b5 mrhlpr.json: don't allow parenthesis in commit description (MR 5840)
Outside of the (MR \d+) match, there should be no reason to have
parenthesis in the commit description
2025-01-21 23:29:06 -08:00
Bart Ribbers 7118b440cd main/postmarketos-base-ui-plasma: depend on kunifiedpush (MR 6020)
The daemon has been split out from the library and is thus not
automatically installed anymore when applications using the library are
installed. However the daemon (the UnifiedPush distributor) is also
useful to have installed when Flatpak apps are in use or other UnifiedPush
supporting apps that don't use kunifiedpush as their library.

Fixes #3333
2025-01-21 23:19:38 -08:00
Clayton Craft 6d4b78405a community/linux-postmarketos-qcom-laptop: upgrade to 6.13 (MR 5895)
- Add new kconfigcheck 'input' category options
- Add 'virt' kconfigcheck category
- Removed 'containers' kconfigcheck (this is included with the 'community' category)
- Enabled Magic Sysrq
- Add patch to disable GIC interrupt handling for pcie4, to work around
  a wifi instability regression on sc8280xp
2025-01-21 22:30:08 -08:00
postmarketOS CI 47e159ded3 linux-next: upgrade to next-20250121 2025-01-21 19:59:38 +00:00
Arnav Singh e22d28f497 linux-postmarketos-allwinner: upgrade to 6.12.8_git20250104 (MR 6067)
[skip ci]: failed on kconfig check, Arnavion wrote: "I'll enable the
CONFIG_HID_* that kconfigcheck wants in a separate MR so that any regressions
from that don't mix up wit the kernel upgrade."
2025-01-20 22:29:18 +01:00
postmarketOS CI beb210ff84 linux-next: upgrade to next-20250120 2025-01-20 19:59:40 +00:00
Oliver Smith 9bd46a23fc well-known/funding-manifest-urls: new file (MR 6074)
Add a funding-manifest-urls file, as required by the floss.fund funding
manifest:

> If the manifest references URLs, such as a project's webpage, that are not
> on the same domain as the funding.json manifest itself, then the wellKnown
> URL must point to a /.well-known/funding-manifest-urls file. This file should
> contain URL (one or more) of the funding.json manifest URLs that reference
> it. This establishes provenance and verifies that that the publisher of the
> manifest is authorised to solicit funding on behalf of the URLs (entity,
> projects) described in the manifest. This follows the .well-known convention.

Related: https://floss.fund/funding-manifest/
Related: postmarketos.org MR 345
2025-01-20 18:59:41 +01:00
User0 08c9c31eed bananapi-m2-zero: initial port (MR 6063) 2025-01-18 12:57:49 +00:00
Felix Kaechele c90592c981 firmware-qcom-msm8953: add Lenovo ThinkSmart View (CD-18781Y) firmware (MR 6061)
[ci:skip-build]: already built successfully in CI
2025-01-17 17:01:18 -08:00
Richard Acayan 9136c2dea8 firmware-google-sargo: compress firmware loaded by kernel (MR 6052)
[ci:skip-build]: already built successfully in CI
2025-01-17 16:55:54 -08:00
WeirdTreeThing eecf4d3599 device-google-x64cros: add nvme modules to initramfs (MR 6059)
Required to boot from nvme drives

[ci:skip-build]: already built successfully in CI
2025-01-17 14:31:35 -08:00
Ferass El Hafidi 02e435c298 amlogic: switch to unified u-boot-amlogic package (MR 4995)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2025-01-17 14:19:59 -08:00
Ferass El Hafidi 6c6a0bd9da u-boot-amlogic: new aport (MR 4995)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2025-01-17 14:19:59 -08:00
Oliver Smith 56ed24c1ee systemd/postmarketos-base-systemd: tinydm preset (MR 6060)
[ci:skip-build]: already built successfully in CI (except for known qemu issue)
2025-01-17 14:16:33 -08:00
Oliver Smith 90ba2529dd extra-repos/systemd: add tinydm (MR 6060)
Based on, and adjusted for pmOS:
https://github.com/dreemurrs-embedded/Pine64-Arch/blob/master/PKGBUILDS/sxmo/tinydm/tinydm.service

This should be moved to tinydm upstream later on.

Related: tinydm issue 11
2025-01-17 14:16:26 -08:00
Oliver Smith a7a455c124 systemd/systemd-services: wpa_supplicant: add -q (MR 6060)
Make wpa_supplicant less verbose, so it doesn't print log messages to
journalctl every 3 seconds:

Jan 16 18:47:05 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:08 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-48 noise=9999 txrate=286700
Jan 16 18:47:11 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:14 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:17 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:20 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:23 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-48 noise=9999 txrate=286700
Jan 16 18:47:26 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-48 noise=9999 txrate=286700
2025-01-17 14:16:26 -08:00
jane400 029526a557 systemd/cups: new aport (MR 5803)
forked from alpine to add ondemand and journald support. as journald
requires systemd-libs, i don't think that we will upstream this package

[ci:skip-build]: already built successfully in CI (except for known qemu issues)
2025-01-17 14:05:45 -08:00
postmarketOS CI 3985abe895 linux-next: upgrade to next-20250117 2025-01-17 19:56:26 +00:00
Antoine Martin 53053d2159 device-pine64-pinenote: add modprobe rules from debian image (MR 6021)
Modprobe rules sets sane defaults for `rockchip_ebc` module and fixes
panfrost driver loading.

Other changes;
* take maintainership of port
* udev rule for `rockchip_ebc` now makes `dclk_select` parameter
  accessible to group video
* add `pinenote-dbus-service` dependency
[ci:skip-build]: already built successfully in CI
2025-01-17 19:03:29 +01:00
SzczurekYT c4693ffaee main/postmarketos-base-ui: Fix sleep-inhibitor installation on openrc (MR 6062)
[ci:skip-build]: already built successfully in CI (except armhf, due to known qemu issue)
2025-01-17 09:09:32 -08:00
Barnabás Czémán 89003fbc1b soc-qcom-msm8953: add moto-modem-rfs-setup service (MR 6041)
Add an openrc service for motorola modems.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2025-01-17 17:33:12 +03:00
Barnabás Czémán 037f96ff8e soc-qcom-msm8953: add tqftpserv to modem subpackage (MR 6041)
Add tqftpserv to modem subpackage to support modem on
motorolas.
2025-01-17 17:33:12 +03:00
Barnabás Czémán ae3cfeead7 linux-postmarketos-qcom-msm8953: upgrade to v6.12-r2 (MR 6041) 2025-01-17 17:33:12 +03:00
Barnabás Czémán e48b7f076e motorola-{ali,ocean,potter}: remove individual device pacakges (MR 6041)
Remove individual device packages, these devices are supported by
the generic device package.
2025-01-17 17:33:12 +03:00
Barnabás Czémán 255cd5b647 firmware-qcom-msm8953: Add WCNSS nv binary for motorolas (MR 6041)
Motorolas contains nv binary on system partition.
Add them to the fw package to be able to use generic port on them.
2025-01-17 17:33:04 +03:00
postmarketOS CI d45ee55f8b linux-next: upgrade to next-20250116 2025-01-16 19:57:02 +00:00
fossdd 371671f676 .ci/autoupdate.sh: reset pkgrel on update (MR 6014)
pkgrel's are resetted to zero once the pkgver is bumped
2025-01-16 21:24:24 +09:00
Luca Weiss 07be96e8d0 linux-postmarketos-qcom-msm8226: upgrade to 6.11.11 (MR 5733) 2025-01-16 21:05:05 +09:00
Sergey Lisov 5947e04428 firmware-samsung-a6lte: change backing repo (MR 6048)
It seems that the old backup repo has disappeared from GitHub. Changed
the URL to an up-to-date repository.

The contents of the firmware blobs have not changed, thus no pkgver
increment.
2025-01-15 18:49:13 -08:00
jane400 22ec267f92 systemd/systemd: remove unused makedepends (MR 6036)
gnu-efi-dev was required for systemd-boot < 256. As systemd-boot
is built specially as an extra component in main/systemd-boot, there
is no reason why we would want to build it here.
2025-01-15 21:56:53 +01:00
postmarketOS CI ee720a51ca linux-next: upgrade to next-20250115 2025-01-15 20:07:32 +00:00
Alexey Min 0410fd4107 systemd/systemd-services: add diag-router unit file (MR 6053)
qcom-diag package is not providing systemd service file.

Signed-off-by: Alexey Min <alexey.min@gmail.com>
[ci:skip-build]: already built successfully in CI
2025-01-15 20:02:36 +01:00
Clayton Craft bf162e8603 cross/ccache-cross-symlinks: support riscv64 (MR 6054)
[ci:skip-build]: already built successfully in CI
2025-01-15 10:39:57 -08:00
Clayton Craft 6de44c7911 cross/crossdirect: support riscv64 (MR 6054) 2025-01-15 10:39:48 -08:00
Alexey Min 102863b3c7 ci: always zap chroots before doing pkg build testing in systemd context (MR 6051)
Signed-off-by: Alexey Min <alexey.min@gmail.com>

[ci:skip-build]: already built successfully in CI
2025-01-15 08:00:33 -08:00
Clayton Craft 79d223e80f main/postmarketos-base-ui: install sleep-inhibitor for all init systems (MR 6051)
fixes #3462
2025-01-15 16:23:26 +03:00
Clayton Craft 53bbdfc14a systemd/postmarketos-base-systemd: enable sleep-inhibitor by default (MR 6051) 2025-01-15 16:23:23 +03:00
Bart Ribbers 6d33d2a3cd systemd/plasma*: upgrade to 6.2.5 (MR 6046)
[ci:skip-build] Already built successfully in CI
2025-01-15 11:18:00 +01:00
Bart Ribbers 0160e3676b systemd/systemd-services: update path to flatpak-system-helper (MR 6049)
The path has been changed since the upgrade to 1.16.0
2025-01-15 11:14:24 +01:00
winbo-yml-exe 776e3a0fff raspberry-pi5: Initial port (MR 6006) 2025-01-14 18:01:39 -08:00
Oliver Smith c52924104e kconfigcheck: add PPP specific section (MR 5992)
CONFIG_LEDS_GROUP_MULTICOLOR just had to be re-enabled to fix a
regression. Add this to kconfigcheck to prevent disabling it by
accident in the future. Adjust the description of the Librem 5
specific section while at it.

[ci:skip-build] [ci:skip-vercheck]: no need to rebuild
2025-01-14 17:38:37 -08:00
postmarketOS CI 51f8840cad linux-next: upgrade to next-20250114 2025-01-14 19:57:26 +00:00
Clayton Craft 1b5e079199 main/systemd-boot: upgrade to 257.1 (MR 6008)
[ci:skip-build]: already built successfully in CI
2025-01-14 10:30:44 -08:00
Robert Mader 0a8291db87 main/postmarketos-base-ui-gnome: add showtime to pmb_recommends (MR 6038)
So Gnome-based DEs have a video-player by default. The main arguments
in favor showtime I see are:
1. It's the main candidate to become the new Gnome default video player.
2. It's has a mobile-friendly UI.
3. It uses HW-decoding and even zero-copy playback by default on many pmOS
   devices (by using Gstreamer and unlike e.g. ffmpeg-based players like mpv).
4. Its main dependencies are shared with other apps like snapshot.

The other candidate that would tick the same boxes but 1. is livi.
[ci:skip-build]: already built successfully in CI
2025-01-14 10:25:56 -08:00
fossdd b645acd06f systemd/mutter: upgrade to 47.4 (MR 6026)
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/78390

[ci:skip-build]: arm builds fail due to known qemu issues in CI
2025-01-14 09:47:42 -08:00
fossdd cf0259bab3 systemd/gnome-shell: upgrade to 47.3 (MR 6026)
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/78390
2025-01-14 09:47:37 -08:00
fossdd 17c396a6db systemd/networkmanager: upgrade to 1.50.1 (MR 6026)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/3c88e14bf6eea43f65e46d5e7bc765f862c6c99f
2025-01-14 09:47:36 -08:00
fossdd def24413eb systemd/xorg-server: upgrade to 21.1.15, drop DRI1 support (MR 6026)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/a54d1c070c87699fc0c79987ac7035e5aac66174

https://gitlab.alpinelinux.org/alpine/aports/-/commit/7a031648bc577ead4710d9880779c61c1df9d93d

https://gitlab.alpinelinux.org/alpine/aports/-/commit/255f451f7f26a3a7f2dc44d2313a0b8490daa7d5
2025-01-14 09:47:36 -08:00
Oliver Smith b090beb066 device-google-trogdor: move eudev-hwids dep to openrc (MR 6042)
[ci:skip-build]: already built successfully in CI
2025-01-14 09:42:30 -08:00
Oliver Smith 1edcc6a174 device-google-gru: move eudev-hwids dep to openrc (MR 6042) 2025-01-14 09:42:30 -08:00
Oliver Smith 895b259ca2 device-pine64-pinebookpro: move eudev-hwids dep to openrc (MR 6042)
Fix systemd installs:
  (147/798) Installing eudev-hwids (3.2.14-r5)
  ERROR: eudev-hwids-3.2.14-r5: trying to overwrite usr/lib/udev/hwdb.d/20-OUI.hwdb owned by systemd-udevd-256.5-r5.
  ERROR: eudev-hwids-3.2.14-r5: trying to overwrite usr/lib/udev/hwdb.d/20-acpi-vendor.hwdb owned by systemd-udevd-256.5-r5.
  ERROR: eudev-hwids-3.2.14-r5: trying to overwrite usr/lib/udev/hwdb.d/20-bluetooth-vendor-product.hwdb owned by systemd-udevd-256.5-r5.
  ERROR: eudev-hwids-3.2.14-r5: trying to overwrite usr/lib/udev/hwdb.d/20-dmi-id.hwdb owned by systemd-udevd-256.5-r5.
  ...
2025-01-14 09:42:30 -08:00
Oliver Smith f48c8c34f0 device-pine64-pinephone: drop dep on openrc subpkg (MR 6042) 2025-01-14 09:42:29 -08:00
Oliver Smith 155657b865 extra-repos/systemd/wireplumber: disable tests for armhf (MR 6047)
[ci:skip-vercheck]: Changes don't affect resulting package.

[ci:skip-build]: arm failing in CI due to known issues w/ running qemu
2025-01-14 09:37:07 -08:00
Clayton Craft 5ef884e903 systemd/postmarketos-base-systemd: depend on kbd (MR 6029)
These were dropped from the systemd package when they should have been
moved here to pmos-base-systemd. Without this, systemd-vconsole-setup
crashes because it cannot find the kbd utility, and kmod is needed for
proper auto-module loading.

[ci:skip-build]: already built successfully in CI
2025-01-14 09:30:52 -08:00
Clayton Craft 168821c772 systemd/systemd-services: add fnott unit file (MR 6043)
[ci:skip-build]: already built successfully in CI
2025-01-14 09:27:55 -08:00
Clayton Craft 8e10f36a1a systemd/systemd-services: add syncthing unit file (MR 6043) 2025-01-14 09:27:55 -08:00
Clayton Craft 8085ef2fd8 systemd/systemd-services: add goimapnotify unit file (MR 6043) 2025-01-14 09:27:54 -08:00
Clayton Craft d5e218eaad systemd/systemd-services: add kanshi unit file (MR 6043) 2025-01-14 09:27:54 -08:00
Clayton Craft 96a82d8ded systemd/systemd-services: add udiskie unit file (MR 6043) 2025-01-14 09:27:54 -08:00
Clayton Craft 52c619d599 main/postmarketos-base: install logbookd only in -openrc subpkg (MR 6045)
logbookd isn't needed on systemd, so only depend on it when using openrc

[ci:skip-build]: already built successfully in CI
2025-01-14 09:16:32 -08:00
postmarketOS CI ca2d4eb0cc linux-next: upgrade to next-20250113 2025-01-13 19:57:38 +00:00
Oliver Smith 6c18dcae18 cross/busybox-static-*: upgrade to 1.37.0-r11 2025-01-13 20:15:23 +01:00
1099 changed files with 73287 additions and 25336 deletions

No files matched your search

-8
View File
@@ -11,12 +11,4 @@ if [ "$(id -u)" = 0 ]; then
exec su "${TESTUSER:-pmos}" -c "sh -e $0"
fi
# Wrap pmbootstrap to use this repository for --aports
pmaports="$(cd "$(dirname "$0")"/..; pwd -P)"
_pmbootstrap="$(command -v pmbootstrap)"
pmbootstrap() {
"$_pmbootstrap" --aports="$pmaports" "$@"
}
.ci/lib/apkbuild_linting.py
+2 -1
View File
@@ -43,7 +43,7 @@ update_linux_next() {
# shellcheck source=/dev/null
pkgver=$(. device/testing/linux-next/APKBUILD; echo "$pkgver")
curl -s "https://gitlab.com/linux-kernel/linux-next/-/tags?format=atom" | grep -oP "(?<=<title>)[^<]+" | tail -n +2 > /tmp/tags
curl -s https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/refs/tags/ | grep -oE "<a href='.*'>(.*)</a>.*\.tar\.gz</a>" | awk -F'[<>]' '{print $3}' > /tmp/tags
latest=$(grep -v "v" < /tmp/tags | head -n1)
if [ -z "$latest" ]; then
@@ -71,6 +71,7 @@ update_linux_next() {
echo "Updating linux-next from $pkgver to $new_pkgver..."
sed -i -e "s/pkgver=$pkgver/pkgver=$new_pkgver/" device/testing/linux-next/APKBUILD
sed -i -e "s/^pkgrel=.*/pkgrel=0/" device/testing/linux-next/APKBUILD
# Update the checksums
pmbootstrap checksum linux-next
+80
View File
@@ -0,0 +1,80 @@
image: alpine:latest
stages:
- build
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "parent_pipeline"
{% if archs|length == 0 %}
# Needed because gitlab fails if no jobs are created, e.g: nothing should be
# built: https://gitlab.com/gitlab-org/gitlab/-/issues/368248
placeholder:
stage: build
script:
- 'true'
{% endif %}
.build:
stage: build
interruptible: true
before_script:
# upgrade is mostly needed for "qemu" runners that run edge based on a VM
# The other build jobs run natively in docker on latest alpine stable and
# those should always have whatever we need
- apk upgrade -U
- .ci/lib/gitlab_prepare_ci.sh
after_script:
- cp -r /home/pmos/.local/var/pmbootstrap/packages/ packages/ || true
- .ci/lib/move_logs.sh $CI_PROJECT_DIR
artifacts:
expire_in: 1 week
paths:
- packages/
timeout: 10 h
{% if ('x86_64' in archs) %}
build-x86_64:
extends: .build
script:
- .ci/build-x86_64.sh
{% endif %}
{% if ('x86' in archs) %}
build-x86:
extends: .build
script:
- .ci/build-x86.sh
{% endif %}
{% if ('aarch64' in archs) %}
build-aarch64:
extends: .build
tags: [arm64]
script:
- .ci/build-aarch64.sh
{% endif %}
{% if ('armv7' in archs) %}
build-armv7:
extends: .build
tags: [qemu]
script:
- .ci/build-armv7.sh
{% endif %}
{% if ('armhf' in archs) %}
build-armhf:
extends: .build
tags: [qemu]
script:
- .ci/build-armhf.sh
{% endif %}
{% if ('riscv64' in archs) %}
build-riscv64:
extends: .build
tags: [qemu]
script:
- .ci/build-riscv64.sh
{% endif %}
-43
View File
@@ -1,43 +0,0 @@
#!/bin/sh -e
# Description: verify CODEOWNERS file is sane
# https://postmarketos.org/pmb-ci
# TODO Future improvements:
# * Check that all devices in main/community have someone in CODEOWNERS
# * Check that GitLab user actually exists (e.g. deleted account, account with
# changed user name)
if grep -q " " CODEOWNERS; then
echo
echo "ERROR: Found space indentation in CODEOWNERS."
echo "ERROR: Please indent with tab characters."
grep " " CODEOWNERS
echo
exit 1
fi
fail=0
tmppipe=$(mktemp -u)
mkfifo "$tmppipe"
grep -v "^#" CODEOWNERS | cut -d' ' -f1 > "$tmppipe" &
while IFS= read -r line; do
[ -z "$line" ] && continue
# Check if entry generally exists
# shellcheck disable=SC2086
ls $line >/dev/null 2>&1 || { fail=1; echo "Non-existing: $line"; }
# Check that directories end with a slash
# shellcheck disable=SC2086
if test -d "$(ls -d $line)"; then
echo "$line" | grep -q '/$' || { fail=1; echo "Missing trailing slash: $line"; }
fi
done < "$tmppipe"
rm "$tmppipe"
if [ "$fail" = 1 ]; then
echo
echo "ERROR: Invalid CODEOWNERS entries, see above."
echo
exit 1
fi
+21 -38
View File
@@ -24,23 +24,6 @@ def build_strict(packages, arch):
"--arch", arch, ] + list(packages))
def verify_checksums(packages, arch):
# Only do this with one build-{arch} job
arch_verify = "x86_64"
if arch != arch_verify:
print(f"NOTE: doing checksum verification in build-{arch_verify} job,"
" not here.")
return
if len(packages) == 0:
print("no packages changed, not doing any checksums verification")
return
common.run_pmbootstrap(["build_init"])
common.run_pmbootstrap(["--details-to-stdout", "checksum", "--verify"] +
list(packages))
if __name__ == "__main__":
# Architecture to build for (as in build-{arch})
if len(sys.argv) != 2:
@@ -93,31 +76,31 @@ if __name__ == "__main__":
# No packages: skip build
if len(packages) == 0:
print(f"no packages changed, which can be built for {arch}")
sys.exit(0)
else:
verify_only = common.commit_message_has_string("[ci:skip-build]")
if verify_only:
# [ci:skip-build]: verify checksums and stop
print("WARNING: not building changed packages ([ci:skip-build])!")
print("verifying checksums: " + ", ".join(packages))
verify_checksums(packages, arch)
else:
# Build packages
print(f"building in strict mode for {arch}: {', '.join(packages)}")
build_strict(packages, arch)
build_strict(packages, arch)
# Build packages in extra-repos/systemd
# FIXME: this should probably be more generic, if other repos are added later?
if systemd_pkgs:
common.run_pmbootstrap(["config", "systemd", "always"])
# To fix the ERROR: Chroot 'native' is for the 'edge' channel, but you are on the
# 'systemd-edge' channel. Run 'pmbootstrap zap' to delete your chroots and try again.
# To do this automatically, run 'pmbootstrap config auto_zap_misconfigured_chroots yes'.
common.run_pmbootstrap(["config", "auto_zap_misconfigured_chroots", "yes"])
verify_only = common.commit_message_has_string("[ci:skip-build]")
if verify_only:
# [ci:skip-build]: verify checksums
print("WARNING: not building changed packages for extra-repos/systemd: ([ci:skip-build])!")
print("verifying checksums: " + ", ".join(systemd_pkgs))
verify_checksums(systemd_pkgs, arch)
else:
# Build packages
print(f"building in strict mode for {arch}, from extra-repos/systemd: {', '.join(systemd_pkgs)}")
build_strict(systemd_pkgs, arch)
# filter out packages that can't be built for arch
# (Iterate over copy of `systemd_pkgs`, because we modify it in this loop)
for package in systemd_pkgs.copy():
apkbuild_path = pmb.helpers.pmaports.find(package, True, True, with_extra_repos="enabled")
apkbuild = pmb.parse._apkbuild.apkbuild(pathlib.Path(apkbuild_path, "APKBUILD"))
if not pmb.helpers.pmaports.check_arches(apkbuild["arch"], arch):
print(f"(extra-repos/systemd) {package}: not enabled for {arch}, skipping")
systemd_pkgs.remove(package)
# No packages: skip build
if len(systemd_pkgs) == 0:
print(f"no packages changed, which can be built for {arch}")
sys.exit(0)
build_strict(systemd_pkgs, arch)
+18 -7
View File
@@ -41,7 +41,9 @@ def add_upstream_git_remote():
def commit_message_has_string(needle):
return needle in run_git(["show", "-s", "--format=full", "HEAD"])
base_commit = get_base_commit()
return needle in run_git(["log", "--pretty=format:%B", f"{base_commit}..HEAD"])
def run_pmbootstrap(parameters):
@@ -86,12 +88,10 @@ def get_upstream_branch():
return ret
def get_changed_files(removed=True):
""" Get all changed files and print them, as well as the branch and the
commit that was used for the diff.
:param removed: also return removed files (default: True)
:returns: set of changed files
"""
def get_base_commit() -> str:
"""Get the base commit that can be compared with HEAD to get all commits in the
given branch/merge request."""
branch_upstream = f"upstream/{get_upstream_branch()}"
commit_head = run_git(["rev-parse", "HEAD"])[:-1]
commit_upstream = run_git(["rev-parse", branch_upstream])[:-1]
@@ -107,6 +107,17 @@ def get_changed_files(removed=True):
commit = run_git(["merge-base", branch_upstream, "HEAD"])[:-1]
print("comparing HEAD with: " + commit)
return commit
def get_changed_files(removed=True):
""" Get all changed files and print them, as well as the branch and the
commit that was used for the diff.
:param removed: also return removed files (default: True)
:returns: set of changed files
"""
commit = get_base_commit()
# Changed files
ret = set()
print("changed file(s):")
+56
View File
@@ -0,0 +1,56 @@
#!/usr/bin/env python3
# Copyright 2025 Pablo Correa Gomez
# SPDX-License-Identifier: GPL-3.0-or-later
from pathlib import Path
import shutil
import sys
from jinja2 import Template
import add_pmbootstrap_to_import_path
import pmb.parse
import pmb.helpers.logging
from pmb.core.arch import Arch
# Same dir
import common
if __name__ == "__main__":
# Needs input to output if we should create the jobs
if len(sys.argv) != 3:
print("usage: generate_build_jobs.py TEMPLATE CHILD_PIPELINE")
print(sys.argv)
sys.exit(1)
template = sys.argv[1]
child_pipeline = sys.argv[2]
# pmb logging has to be initialized for later pmb commands to work, setting
# to /dev/null since we don't care about the output. Later this could
# be changed to a file and added as a CI artifact if we need to debug
# something.
pmb.logging.init(Path("/dev/null"), False)
archs = set()
# Get and print modified packages
common.add_upstream_git_remote()
for file in common.get_changed_files():
path = Path(file)
if path.name != "APKBUILD":
continue
elif not path.exists():
continue # APKBUILD was deleted
apkbuild = pmb.parse.apkbuild(path)
archs.update(apkbuild["arch"])
if common.commit_message_has_string("[ci:skip-build]"):
print("User requested skipping build, not creating child pipeline file")
archs = set()
# This ignores things like !armv7, that could be a follow-up optimization
if 'noarch' in archs or 'all' in archs:
archs = set([str(arch) for arch in Arch.supported()])
print(archs)
with open(template) as f:
rendered = Template(f.read()).render(archs=archs)
with open(child_pipeline, "w") as fw:
fw.write(rendered)
+199
View File
@@ -0,0 +1,199 @@
#!/bin/sh
# Unit testing framework for shell scripts
# Invoke with the path to a tests/ subdir of a package and the
# package name as arguments. Or source it with the following
# variables set:
# * results_dir - second argument to the test script
set -e
# Colors :D
RED="\e[31m"
GREEN="\e[32m"
YELLOW="\e[33m"
BLUE="\e[34m"
BOLDBLUE="\e[1;34m"
RESET="\e[0m"
testlib_path="$(realpath "$0")"
_test_assert_failed=""
_test_testn=1
_test_passedn=0
_test_failedn=0
_test_current_test=""
_test_statefile="$(mktemp)"
# Set by each test
results_dir="${results_dir:-}"
test_log() {
# ash supports echo -e
# shellcheck disable=SC3037
echo -e "$*" >&2
}
test_info() {
# shellcheck disable=SC3037
echo -e "${BLUE}$*${RESET}" >&2
}
test_debug() {
# shellcheck disable=SC3037
echo -e "${YELLOW}$*${RESET}" >&2
}
assert_strequal() {
# $1: first string
# $2: second string
if [ -z "$1" ] || [ -z "$2" ]; then
test_log "ERROR: assert_equal: not enough arguments given"
exit 1
fi
if [ "$1" != "$2" ]; then
_test_assert_failed="$1 != $2"
test_log " ❌ $_test_assert_failed"
return
fi
test_log " ✅ $1 == $2"
}
assert_equal() {
# $1: name of variable
# $2: value to compare
if [ -z "$1" ] || [ -z "$2" ]; then
test_log "ERROR: assert_equal: not enough arguments given"
exit 1
fi
val="$(eval echo "\$$1")"
if [ "$val" != "$2" ]; then
_test_assert_failed="\$$1 != $2 (got $val)"
test_log " ❌ $_test_assert_failed"
return
fi
test_log " ✅ \$$1 == $2"
}
assert_unset() {
if [ -z "$1" ]; then
test_log "ERROR: assert_unset: not enough arguments given"
exit 1
fi
val="$(eval echo \$"$1")"
if [ -n "$val" ]; then
_test_assert_failed="\$$1 should be unset (has value '$val')"
test_log " ❌ $_test_assert_failed"
return
fi
test_log " ✅ \$$1 is unset"
}
# Log some expression and evaluate it
logeval() {
eval "$*"
test_log "${YELLOW}+ $*${RESET}"
}
# Start a test. Shell scripts involved in the test should be sourced AFTER calling this function!
start_test() {
if [ -n "$_test_current_test" ]; then
test_log "ERROR: multiple calls to start_test without calling end_test first!"
test_log "Current test: $_test_current_test"
exit 1
fi
test_log "==> Test $_test_testn: $1"
_test_current_test="$1"
set > "$_test_statefile"
}
# End a test and reset the environment.
end_test() {
local msg
local save_assert_failed
# Restore environment
save_assert_failed="$_test_assert_failed"
# Splitting is intentional
# shellcheck disable=SC2046
unset $(set | grep "='" | cut -d= -f1 | grep -vE "(PATH|IFS|TERM|LANG|HOME|PWD|SHELL|USER|save_assert_failed|_test_statefile)" )
# shellcheck disable=SC1090
. "$_test_statefile"
_test_assert_failed="$save_assert_failed"
if [ -n "$_test_assert_failed" ]; then
msg="${RED}Failed! ❌ ${_test_assert_failed}${RESET}"
echo "Test $_test_testn: $_test_assert_failed" >> "$results_dir/failed"
_test_failedn=$((_test_failedn+1))
echo "$_test_failedn" > "$results_dir/failedn"
unset _test_assert_failed
else
msg="${GREEN}Passed!${RESET}"
_test_passedn=$((_test_passedn+1))
echo "$_test_passedn" > "$results_dir/passedn"
fi
test_log "<== Test $_test_testn: $msg $_test_current_test\n"
_test_testn=$((_test_testn+1))
_test_current_test=""
}
# Call at the end of each testsuite shell script
end_testsuite() {
if [ -n "$_test_current_test" ]; then
test_log "${RED}ERROR: end_testsuite called without calling end_test first!${RESET}"
test_log "${RED}Current test: $_test_current_test${RESET}"
exit 1
fi
if [ -f "$results_dir/failed" ]; then
exit 1
fi
exit 0
}
run_tests() {
local failed test_results_base
local test name total passedn failedn t_passed t_failed
test_results_base="$(mktemp -d)"
test_log "Running tests for $2"
# FIXME: yeah this isn't quite the best way to iterate the files
# shellcheck disable=SC2010
for name in $(ls "$1" | grep "\.sh$"); do
test="$1/$name"
mkdir "$test_results_base/$name"
echo 0 > "$test_results_base/$name/passedn"
echo 0 > "$test_results_base/$name/failedn"
test_log
test_log "${BOLDBLUE}# Test suite ${name}${RESET}"
$test "$testlib_path" "$test_results_base/$name" || failed="$failed $name"
t_passed=$(cat "$test_results_base/$name/passedn")
t_failed=$(cat "$test_results_base/$name/failedn")
passedn=$((passedn+t_passed))
failedn=$((failedn+t_failed))
total=$((total+t_passed+t_failed))
done
if [ -n "$failed" ]; then
test_log
test_log "Some tests failed:"
for test in $failed; do
test_log "❌ $test"
test_log " ${RED}$(cat "$test_results_base/$test/failed")${RESET}"
done
fi
if [ $passedn -lt $total ]; then
test_log "[${RED}$passedn/$total tests passed${RESET}]"
else
test_log "[${GREEN}$passedn/$total tests passed!${RESET}]"
fi
test_log
if [ -n "$failed" ]; then exit 1; else exit 0; fi
}
# FIXME: probably not the best way to determine if this was sourced
if [ $# -gt 0 ]; then
run_tests "$1" "$2"
fi
+82
View File
@@ -0,0 +1,82 @@
#!/usr/bin/env python3
# Copyright 2025 Pablo Correa Gomez
# SPDX-License-Identifier: GPL-3.0-or-later
import os
import sys
# Same dir
import common
# pmbootstrap
import add_pmbootstrap_to_import_path
import pmb.core
from pmb.core.context import get_context
def verify_checksums(packages):
if len(packages) == 0:
print("no packages changed, not doing any checksums verification")
return
print("verifying checksums: " + ", ".join(packages))
common.run_pmbootstrap(["build_init"])
common.run_pmbootstrap(["--details-to-stdout", "checksum", "--verify"] +
list(packages))
if __name__ == "__main__":
# Get and print modified packages
common.add_upstream_git_remote()
packages = common.get_changed_packages()
# Load context
sys.argv = ["pmbootstrap.py", "chroot"]
args = pmb.parse.arguments()
context = get_context()
# Get set of all buildable packages for the enabled repos, for skipping unbuildable
# aports later. We might be given a changed aport from e.g. extra-repos/systemd when
# that repo is not enabled
buildable_pkgs = set()
for path in pmb.core.pkgrepo.pkgrepo_iter_package_dirs():
buildable_pkgs.add(os.path.basename(path))
# To store a list of packages from extra-repos/systemd for special handling
# later:
systemd_pkgs = list()
# Filter out packages are not found in enabled repos
# (Iterate over copy of packages, because we modify it in this loop)
for package in packages.copy():
if package not in buildable_pkgs:
print(f"{package}: not in current repo, skipping")
packages.remove(package)
# FIXME: this should probably be more generic, if other repos are added
# later?
# This just tosses the package into the list of packages to try
# building later w/ systemd enabled, and assumes it'll be found
# there.
print(f"{package}: adding to list of packages to check in systemd repo")
systemd_pkgs.append(package)
continue
# No packages: skip build
if len(packages) == 0:
print("no packages to check for the current repo")
else:
verify_checksums(packages)
# FIXME: this should probably be more generic, if other repos are added later?
if systemd_pkgs:
common.run_pmbootstrap(["config", "systemd", "always"])
# To fix the ERROR: Chroot 'native' is for the 'edge' channel, but you are on the
# 'systemd-edge' channel. Run 'pmbootstrap zap' to delete your chroots and try again.
# To do this automatically, run 'pmbootstrap config auto_zap_misconfigured_chroots yes'.
common.run_pmbootstrap(["config", "auto_zap_misconfigured_chroots", "yes"])
# No packages: skip build
if len(systemd_pkgs) == 0:
print("no packages to check for the systemd repo")
else:
verify_checksums(systemd_pkgs)
+3 -3
View File
@@ -15,7 +15,6 @@ fi
# Shell: shellcheck
sh_files="
./main/mdss-fb-init-hack/mdss-fb-init-hack.sh
./main/postmarketos-base/rootfs-usr-lib-firmwareload.sh
./main/postmarketos-base-ui/rootfs-usr-lib-NetworkManager-dispatcher.d-50-dns-filter.sh
./main/postmarketos-base-ui/rootfs-usr-lib-NetworkManager-dispatcher.d-50-tethering.sh
./main/postmarketos-installkernel/installkernel-pmos
@@ -24,7 +23,7 @@ sh_files="
./main/postmarketos-mkinitfs-hook-netboot/netboot.sh
./main/ttyescape/*.post-install
./main/unl0kr/unlock.sh
./device/community/soc-qcom-sdm845/call_audio_idle_suspend_workaround.sh
./device/community/soc-qcom/call_audio_idle_suspend_workaround.sh
$(find . -path './main/postmarketos-ui-*/*.sh')
$(find . -path './main/postmarketos-ui-*/*.pre-install')
@@ -39,10 +38,11 @@ sh_files="
$(find . -path './main/postmarketos-mvcfg/*.sh')
$(find . -path './.ci/**.sh')
$(find . -path '**/tests/*.sh')
"
for file in $sh_files; do
echo "Test with shellcheck: $file"
cd "$DIR/$(dirname "$file")"
shellcheck -e SC1008 -e SC3043 -x "$(basename "$file")"
shellcheck -S warning -e SC1008 -e SC3043 -x "$(basename "$file")"
done
+8 -73
View File
@@ -14,9 +14,6 @@ import pmb.parse._apkbuild
from pmb.core.pkgrepo import pkgrepo_default_path, pkgrepo_iglob, pkgrepo_relative_path
from pmb.core.arch import Arch
# Cache for codeowners_parse
codeowners_parsed = {}
# Don't complain if these nicknames are the only maintainers of an APKBUILD,
# because they are actually a group of people
gitlab_groups = [
@@ -102,72 +99,12 @@ def test_aports_device_kernel():
f" <https://postmarketos.org/devicepkg>): {path}")
def codeowners_parse():
global codeowners_parsed
pattern_prev = None
aports = pkgrepo_default_path()
with open(aports / "CODEOWNERS") as h:
for line in h:
line = line.rstrip()
if not line or line.startswith("#"):
continue
pattern_nicks = line.split()
assert len(pattern_nicks) > 1, f"CODEOWNERS line without nicks: {line}"
pattern = pattern_nicks[0]
if pattern.endswith("/"):
pattern += "*"
nicks = []
for word in pattern_nicks[1:]:
if word.startswith("@"):
nicks += [word]
codeowners_parsed[pattern] = nicks
if pattern_prev:
assert pattern_prev <= pattern, "CODEOWNERS: please order entries alphabetically"
pattern_prev = pattern
def require_enough_codeowners_entries(path, maintainers):
"""
:param path: full path to an APKBUILD (e.g. /home/user/…/APKBUILD)
:param maintainers: list of one or more maintainers
"""
_, path = pkgrepo_relative_path(path)
nicks = set()
for pattern, pattern_nicks in codeowners_parsed.items():
if fnmatch.fnmatch(path, pattern):
for nick in pattern_nicks:
nicks.add(nick)
print(f"{path}:")
print(f" APKBUILD: {maintainers}")
print(f" CODEOWNERS: {nicks}")
if len(nicks) < len(maintainers):
for nick in nicks:
if nick in gitlab_groups:
print(f" -> {nick} is a group")
return
assert len(nicks) >= len(maintainers), \
f"{path}: make sure that each maintainer is listed in CODEOWNERS!"
# @pytest.mark.xfail # Not all aports have been updated yet
def test_aports_maintained():
"""
Ensure that aports in /device/{main,community} have "Maintainer:" and
"Co-Maintainer:" (only required for main) listed in their APKBUILDs. Also
check that at least as many are listed in CODEOWNERS.
"Co-Maintainer:" (only required for main) listed in their APKBUILDs.
"""
codeowners_parse()
for path in pkgrepo_iglob("device/main/*/APKBUILD"):
if 'firmware-' in path.parent.name:
@@ -175,23 +112,21 @@ def test_aports_maintained():
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers and len(maintainers) >= 2, \
f"{path} in main needs at least 1 Maintainer and 1 Co-Maintainer"
require_enough_codeowners_entries(path, maintainers)
for path in pkgrepo_iglob("device/community/*/APKBUILD"):
if 'firmware-' in path.parent.name:
continue
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers, f"{path} in community needs at least 1 Maintainer"
require_enough_codeowners_entries(path, maintainers)
def test_aports_unmaintained():
def test_aports_archived():
"""
Ensure that aports in /device/unmaintained have an "Unmaintained:" comment
that describes why the aport is unmaintained.
Ensure that aports in /device/archived have an "Archived:" comment
that describes why the aport is archived.
"""
for path in pkgrepo_iglob("device/unmaintained/*/APKBUILD"):
unmaintained = pmb.parse._apkbuild.unmaintained(path)
assert unmaintained, f"{path} should have an Unmaintained: " +\
"comment that describes why the package is unmaintained"
for path in pkgrepo_iglob("device/archived/*/APKBUILD"):
archived = pmb.parse._apkbuild.archived(path)
assert archived, f"{path} should have an Archived: " +\
"comment that describes why the package is archived"
+2 -1
View File
@@ -74,7 +74,8 @@ def test_deviceinfo():
name = info.name
manufacturer = info.manufacturer
if not name.startswith(manufacturer) and \
not name.startswith("Google"):
not name.startswith("Google") and \
not name.startswith("Jolla"):
raise RuntimeError("Please add the manufacturer in front of"
" the deviceinfo_name, e.g.: '" +
manufacturer + " " + name + "'")
+1
View File
@@ -25,6 +25,7 @@ def test_aports_firmware():
"firmware-samsung-maguro", # Depends on firmware-aosp-broadcom-wlan
"firmware-xiaomi-ferrari", # Depends on soc-qcom-msm8916
"firmware-xiaomi-willow", # Doesn't build, source link is dead (pma#1212)
"firmware-samsung-i9105p", # Depends on firmware-aosp-broadcom-wlan
]
for path in pkgrepo_iglob("**/firmware-*/APKBUILD", recursive=True):
+1 -1
View File
@@ -23,7 +23,7 @@ def test_aports_kernel():
apkbuild = pmb.parse.apkbuild(path)
aport_name = os.path.basename(os.path.dirname(path))
if aport_name == "linux-pam":
if aport_name == "linux-pam-pmos":
continue # This package isn't a linux kernel!
if "pmb:cross-native" not in apkbuild["options"]:
+2 -1
View File
@@ -105,7 +105,8 @@ def test_aports_unreferenced_files():
if os.path.basename(rel_file_path) not in sources_chk \
and rel_file_path not in apkbuild["install"] \
and rel_file_path not in subpackage_installs \
and rel_file_path not in trigger_sources:
and rel_file_path not in trigger_sources \
and not rel_file_path.startswith("tests/"):
raise RuntimeError(f"{apkbuild_path}: found unreferenced file: {rel_file_path}")
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh -e
# Description: run unit-tests for packages
# https://postmarketos.org/pmb-ci
#
# This script only exists to allow running unit-tests locally.
# In actual CI the package tests/ subdir has it's own YAML
# fine defining a job which calls testlib for that package.
# This way we can run all the package unit-tests locally but
# have them be individual jobs in GitLab.
if [ "$(id -u)" = 0 ]; then
set -x
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
find . -type d -name "tests" | while read -r testdir; do
pkg="$(basename "$(dirname "$testdir")")"
.ci/lib/testlib.sh "$testdir" "$pkg"
done
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh -e
# Description: verify checksums of modified packages
# Options: native
# Use 'native' because it requires running pmbootstrap.
# https://postmarketos.org/pmb-ci
if [ "$(id -u)" = 0 ]; then
set -x
wget "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
sh ./install_pmbootstrap.sh
exec su "${TESTUSER:-pmos}" -c "sh -e $0"
fi
export PYTHONUNBUFFERED=1
.ci/lib/verify_checksums.py
+22 -5
View File
@@ -37,13 +37,30 @@ prepend_msg() {
[ -z "$SOURCE" ] || exit 0
lcp=$(git diff-index --name-only --cached HEAD | longest_common_prefix)
prefix=""
case "$lcp" in
device/*/*) prepend_msg "$(echo "$lcp" | cut -d/ -f3): ";;
# Multiple packages touched for same device category
# More logic could be added to detect if they all belong to same device
device/*) ;;
[^.]*/*) prepend_msg "$(echo "$lcp" | cut -d/ -f1-2): ";;
extra-repos/systemd/systemd/*)
prefix="systemd"
;;
extra-repos/systemd/*)
prefix="systemd/$(echo "$lcp" | cut -d/ -f3)"
;;
device/*/*)
prefix="$(echo "$lcp" | cut -d/ -f3)"
;;
device/*)
# Multiple packages touched for same device category. More
# logic could be added to detect if they all belong to same
# device.
;;
[^.]*/*)
prefix="$(echo "$lcp" | cut -d/ -f1-2)"
;;
esac
if [ -n "$prefix" ]; then
prepend_msg "$prefix: "
fi
exit 0
+3
View File
@@ -118,3 +118,6 @@ ENV/
# Allow having untracked packages in aports using a custom-something directory
/custom-*/
# child pipeline
.ci/build-jobs.yaml
+59 -44
View File
@@ -8,14 +8,16 @@ after_script:
- .ci/lib/move_logs.sh $CI_PROJECT_DIR
stages:
- lint
- prepare
- build
- autoupdate
- test
variables:
# Default of 20 is pretty small, sometimes MRs have >20 commits in them. 100
# seems like a reasonable balance. If this is too low, git merge-base (from ci/
# common.py) can fail
GIT_DEPTH: 100
# This defines the rules for when a pipeline should run.
workflow:
rules:
@@ -27,6 +29,10 @@ workflow:
# Run scheduled pipeline for autoupdate or manually triggered pipeline
- if: $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"
# Some packages have their own yaml files defining tests. All of these should contain
# only jobs which extend the .package-test job!
include: "**/.gitlab-ci.yml"
# device documentation
wiki:
stage: lint
@@ -63,7 +69,6 @@ shellcheck-grep:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/shellcheck.sh
- .ci/grep.sh
- .ci/codeowners.sh
editor-config:
stage: lint
@@ -116,6 +121,15 @@ kernel-kconfig:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/kconfig.sh
# Verify checksums
verify-checksums:
stage: lint
rules:
- if: *mr_rule
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/verify-checksums.sh
# MR settings
# (Checks for "Allow commits from members who can merge to the target branch")
mr-settings:
@@ -129,51 +143,44 @@ mr-settings:
- wget -q "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/check_mr_settings.py"
- python3 ./check_mr_settings.py
# build changed aports
.build:
stage: build
# Calculate build of changed aports using a dynamic downstream pipelines:
# https://docs.gitlab.com/ci/pipelines/downstream_pipelines/#dynamic-child-pipelines
# For those to work, we need two jobs:
# * First one (this one) that generates a valid yaml file with the job yaml as
# an artifact
# * Second one (build-jobs) that has a "trigger" key with the yaml file from
# which to trigger pipelines
# To avoid reworking the whole CI file, for now we are re-using this same file
# to trigger the downstream pipeline. In that case, $CI_PIPELINE_SOURCE will
# be set to "parent_pipeline", and only the jobs that extend .build will run
generate-build-jobs:
stage: prepare
before_script:
- .ci/lib/gitlab_prepare_ci.sh
needs: []
script:
- wget "https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
- sh ./install_pmbootstrap.sh py3-jinja2
- .ci/lib/generate_build_jobs.py .ci/build-jobs.yaml.j2 .ci/build-jobs.yaml
artifacts:
paths:
- .ci/build-jobs.yaml
rules:
- if: *mr_rule
before_script:
- *global_before_scripts
- .ci/lib/gitlab_prepare_ci.sh
after_script:
- cp -r /home/pmos/.local/var/pmbootstrap/packages/ packages/ || true
artifacts:
expire_in: 1 week
paths:
- packages/
timeout: 10 h
build-x86_64:
extends: .build
script:
- .ci/build-x86_64.sh
build-x86:
extends: .build
script:
- .ci/build-x86.sh
build-aarch64:
extends: .build
script:
- .ci/build-aarch64.sh
build-armv7:
extends: .build
script:
- .ci/build-armv7.sh
build-armhf:
extends: .build
script:
- .ci/build-armhf.sh
build-riscv64:
extends: .build
script:
- .ci/build-riscv64.sh
build-jobs:
stage: build
trigger:
include:
- artifact: .ci/build-jobs.yaml
job: generate-build-jobs
strategy: depend
forward:
# So that we don't have to duplicate GIT_DEPTH
pipeline_variables: true
rules:
- if: *mr_rule
auto-update:
stage: autoupdate
@@ -193,3 +200,11 @@ auto-update:
- log.txt
- log_testsuite_pmaports.txt
- pmbootstrap.cfg
# Template for package test jobs defined per-package
.package-test:
stage: test
rules:
- if: *mr_rule
before_script:
- .ci/lib/gitlab_prepare_ci.sh
+1
View File
@@ -34,6 +34,7 @@
### On what environment did you encounter the issue?
#### Environments
* [ ] COSMIC
* [ ] GNOME Shell on Mobile
* [ ] Phosh
* [ ] Plasma Mobile
-14
View File
@@ -1,14 +0,0 @@
{
"subject_format": {
"pass": [
"^(([a-z]+\\/[a-z\\-0-9*{}]+),?)+: [A-Za-z\\/\\-0-9*{}\\(\\)\\.,_&:=' ]+( \\(MR \\d+\\)|)$",
"^CI: [a-z-0-9*{}\\(\\)\\.,_ ][A-Za-z\\/\\-0-9*{}\\(\\)\\.,_ ]+( \\(MR \\d+\\)|)$",
"^mrhlpr.json: [a-z-0-9*{}\\(\\)\\.,_ ][A-Za-z\\/\\-0-9*{}\\(\\)\\.,_ ]+( \\(MR \\d+\\)|)$",
"^pmaports.cfg: [a-z-0-9*{}\\(\\)\\.,_ ][A-Za-z\\/\\-0-9*{}\\(\\)\\.,_ ]+( \\(MR \\d+\\)|)$"
],
"unknown": [
"^[a-z-0-9_.*{}\\/]+: [a-z-0-9*{}\\(\\)\\.,_ ][A-Za-z\\/\\-0-9*{}\\(\\)\\.,_ ]+( \\(MR \\d+\\)|)$"
]
}
}
+1
View File
@@ -0,0 +1 @@
https://postmarketos.org/funding.json
-156
View File
@@ -1,156 +0,0 @@
# https://docs.gitlab.com/ee/user/project/code_owners.html
# Put groups like @sdm845-mainline into test_device.py:gitlab_groups.
# Order lines alphabetically!
device/*/*-amlogic-s905*/ @funderscore
device/*/*-arrow-db410c/ @Minecrell
device/*/*-asus-me176c/ @Minecrell
device/*/*-ayn-odin/ @jenneron
device/*/*-bq-paella/ @Minecrell
device/*/*-bq-tenshi/ @fossdd
device/*/*-google-gru/ @jenneron
device/*/*-google-kukui/ @jenneron @binarycraft
device/*/*-google-oak/ @jenneron @adamthiede
device/*/*-google-trogdor/ @jenneron
device/*/*-google-veyron/ @jenneron
device/*/*-google-x64cros/ @jenneron @JustSoup321 @alpernebbi
device/*/*-htc-golfu/ @Newbyte
device/*/*-htc-m8qlul/ @Newbyte
device/*/*-kobo-clara/ @akemnade
device/*/*-lenovo-21bx/ @craftyguy @jane400
device/*/*-lenovo-a6000/ @jenneron @Minecrell
device/*/*-lenovo-a6010/ @jenneron @Minecrell
device/*/*-librecomputer-lafrite/ @funderscore
device/*/*-librecomputer-lepotato/ @funderscore
device/*/*-librecomputer-solitude/ @Newbyte @funderscore
device/*/*-motorola-harpia/ @Minecrell
device/*/*-nokia-n900/ @sicelo @Danct12
device/*/*-pine64-pinebookpro/ @QC8086
device/*/*-pine64-pinephone/ @craftyguy @milesalan @proycon @anjandev @StacyHarper @Arnavion @PsychoGame
device/*/*-pine64-pinephonepro/ @PsychoGame
device/*/*-pine64-rockpro64/ @PureTryOut
device/*/*-purism-librem5/ @craftyguy @alistair23 @Newbyte
device/*/*-qcom-msm8916/ @Minecrell @TravMurav
device/*/*-qcom-msm8953/ @barni2000 @alikates @vipaoL @jiaxyga
device/*/*-qcom-sdm670/ @flamingradian
device/*/*-qcom-sdm845/ @sdm845-mainline
device/*/*-qcom-sm6350/ @z3ntu
device/*/*-qcom-sm8250/ @jianhua
device/*/*-samsung-a3/ @Mis012 @TravMurav @Minecrell
device/*/*-samsung-a5/ @Minecrell @minlexx
device/*/*-samsung-a51/ @manoedinata
device/*/*-samsung-e7/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-espresso10/ @MightyM17
device/*/*-samsung-espresso7/ @MightyM17 @antoni.aloytorrens
device/*/*-samsung-fortuna/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-fortunaltezt/ @bolilingmeng89006
device/*/*-samsung-grandmax/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-gt510/ @TravMurav
device/*/*-samsung-gt58/ @TravMurav
device/*/*-samsung-j3ltetw/ @bolilingmeng89006
device/*/*-samsung-j4lte/ @manoedinata
device/*/*-samsung-j5/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-j5x/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-rossa/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-serranove/ @Minecrell
device/*/*-tolino-shine2hd/ @akemnade
device/*/*-videostrong-kii-pro/ @funderscore
device/*/*-wileyfox-crackling/ @TravMurav @Minecrell
device/*/*-xiaomi-beryllium/ @joelselvaraj
device/*/*-xiaomi-daisy/ @joelselvaraj @alikates
device/*/*-xiaomi-elish/ @jianhua
device/*/*-xiaomi-markw/ @vipaoL
device/*/*-xiaomi-mido/ @barni2000
device/*/*-xiaomi-scorpio/ @Tooniis
device/*/*-xiaomi-tissot/ @jiaxyga @barni2000
device/*/*-xiaomi-vince/ @M0Rf30
device/*/*-xiaomi-wt88047/ @Minecrell
device/*/*-xiaomi-ysl/ @barni2000
device/*/alsa-ucm-conf-cros/ @WeirdTreeThing
device/*/alsa-ucm-conf-qcom-sdm670/ @flamingradian
device/*/device-apple-n61/ @JustSoup321
device/*/device-fairphone-*/ @z3ntu
device/*/device-generic-x86_64/ @craftyguy @ollieparanoid
device/*/device-google-nyan-big/ @jenneron
device/*/device-google-nyan-blaze/ @jenneron
device/*/device-google-peach-pi/ @jenneron
device/*/device-google-peach-pit/ @jenneron
device/*/device-google-sargo/ @flamingradian
device/*/device-google-snow/ @jenneron
device/*/device-huawei-plank/ @gtrxAC
device/*/device-lg-judyln/ @Newbyte
device/*/device-lg-judyp/ @jenneron
device/*/device-microsoft-surface-rt/ @jenneron @jethrob
device/*/device-nvidia-tegra-armv7/ @clamor-s @okias @mschwalm @nokun
device/*/device-odroid-xu4/ @Grimler
device/*/device-oneplus-enchilada/ @calebccff
device/*/device-oneplus-fajita/ @calebccff
device/*/device-postmarketos-trailblazer/ @calebccff
device/*/device-qcom-msm8909/ @wonderfulShrineMaidenOfParadise
device/*/device-qemu-aarch64/ @Minecrell @ollieparanoid
device/*/device-qemu-amd64/ @Minecrell @ollieparanoid
device/*/device-qemu-riscv64/ @Minecrell @z3ntu
device/*/device-qualcomm-sdm845/ @calebccff
device/*/device-raspberry-pi3/ @fossdd
device/*/device-samsung-chagallwifi/ @Grimler
device/*/device-samsung-coreprimevelte/ @legolivesmatter @balejk
device/*/device-samsung-j5y17lte/ @andrisas
device/*/device-samsung-klimtlte/ @Grimler
device/*/device-samsung-lt01/ @knuxify
device/*/device-samsung-m0/ @Newbyte
device/*/device-samsung-manta/ @jenneron @alexmrqt
device/*/device-shift-axolotl/ @amartinz @calebccff @dylanvanassche
device/*/device-solidrun-cubox/ @longnoserob
device/*/firmware-google-sargo/ @flamingradian
device/*/firmware-google-veyron-brcm/ @jenneron
device/*/firmware-motorola-osprey/ @Minecrell
device/*/firmware-odroid-xu4/ @Grimler
device/*/firmware-oneplus-sdm845/ @calebccff
device/*/firmware-powervr-gx6250/ @jenneron
device/*/kobo-epdc-extractor/ @akemnade
device/*/linux-google-nyan/ @jenneron
device/*/linux-google-veyron/ @jenneron
device/*/linux-huawei-plank/ @gtrxAC
device/*/linux-next/ @calebccff
device/*/linux-postmarketos-allwinner/ @Arnavion @PsychoGame
device/*/linux-postmarketos-amlogic/ @funderscore @exkc
device/*/linux-postmarketos-apple/ @JustSoup321
device/*/linux-postmarketos-exynos4/ @Newbyte @Grimler @knuxify
device/*/linux-postmarketos-exynos5/ @jenneron @Grimler
device/*/linux-postmarketos-grate/ @clamor-s @jenneron @jethrob
device/*/linux-postmarketos-imx-ereader/ @akemnade
device/*/linux-postmarketos-marvell/ @longnoserob @exkc
device/*/linux-postmarketos-mediatek-mt8173/ @jenneron @adamthiede
device/*/linux-postmarketos-mediatek-mt8183/ @jenneron @binarycraft
device/*/linux-postmarketos-omap/ @MightyM17 @Sicelo
device/*/linux-postmarketos-qcom-laptop/ @craftyguy @calebccff
device/*/linux-postmarketos-qcom-msm8939/ @Newbyte
device/*/linux-postmarketos-qcom-msm8953/ @M0Rf30 @Ultra-azu @barni2000
device/*/linux-postmarketos-qcom-msm8996/ @Tooniis
device/*/linux-postmarketos-qcom-sc7180/ @jenneron
device/*/linux-postmarketos-rockchip/ @QC8086
device/*/linux-postmarketos-stericsson/ @Newbyte
device/*/linux-samsung-chagallwifi/ @Grimler
device/*/linux-samsung-coreprimevelte/ @legolivesmatter @balejk
device/*/linux-samsung-j5y17lte/ @andrisas
device/*/linux-samsung-klimtlte/ @Grimler
device/*/oem-amd/ @craftyguy
device/*/oem-intel/ @craftyguy
device/*/oem-nvidia/ @craftyguy
device/*/soc-mediatek-mt8183/ @jenneron
device/*/soc-qcom-msm8953/ @barni2000
device/*/soc-qcom-msm8996/ @Tooniis
device/*/soc-qcom-sc7180/ @jenneron
device/*/soc-rockchip-rk3399/ @jenneron
device/*/soc-samsung-exynos4412/ @Newbyte
device/*/u-boot-librem5/ @craftyguy @alistair23 @Newbyte
device/*/u-boot-pinebookpro/ @QC8086
device/*/u-boot-pinephone/ @Arnavion @PsychoGame
device/*/wl1251-cal/ @Danct12
main/postmarketos*gnome*/ @pabloyoyoista @Newbyte @fossdd
main/postmarketos-initramfs/ @calebccff @craftyguy
main/postmarketos-ui-i3wm/ @fossdd
main/postmarketos-ui-phosh/ @pabloyoyoista @Newbyte @fossdd
main/postmarketos-ui-plasma-mobile/ @PureTryOut
main/shutdown-clear-rtc-wakealarm/ @Arnavion
main/ttyescape/ @calebccff
+13
View File
@@ -42,6 +42,19 @@ commit title can opt to use the following format:
manufacturer-codename: description of change
### Changes to packages inside of the systemd directory
We also shorten the prefixes for packages in `extra-repos/systemd`.
When the `systemd` package itself gets changed, use `systemd: ` as
prefix. For example:
systemd: add triggers for reloading/restarting services
When another package inside the systemd directory gets changed, use
`systemd/$pkgname: ` as prefix. For example:
systemd/cups: restart on upgrade
### Moving devices between categories
As we do not include directory prefixes in device-related commits,
+1 -1
View File
@@ -15,7 +15,7 @@ branch_aports=3.21-stable
mirrordir_alpine=v3.21
[v24.06]
description=Old release (supported until 2025-01-23)
description=Old release (unsupported)
branch_pmaports=v24.06
branch_aports=3.20-stable
mirrordir_alpine=v3.20
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-aarch64
pkgver=1.37.0
pkgrel=10
pkgrel=16
_arch="aarch64"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
b71a091d7ae6ee459dd0c51409793214a2285ee83c2621e289e198187ed642222d6f842f08661a8c72f96c9a0dc7271d5a47ab6794e2551f185d68f515bde598 busybox-static-1.37.0-r10-aarch64-edge.apk
6ff297733e1c89429cb0b667a5cda1cad1e2085b4ea071d6247034313c2e0a0963d44158ef5b651f212ea3fa99e16fdc7901152317cd5a07b1e76c2ed5aa47b2 busybox-static-1.37.0-r16-aarch64-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armhf
pkgver=1.37.0
pkgrel=10
pkgrel=16
_arch="armhf"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
88abaead7eace4910199e0cc76bc16bce762d61b2e10e1bc2a631d38e56458f5cb95f98f09d09f346229f9c6c982d3b0b3f907315f54e0e92b83dcc3b839d8bf busybox-static-1.37.0-r10-armhf-edge.apk
ea3b5afb3b1d73835fec42960fca06c144e84d926beec7774fcd873a701fca22f31fc03417ac0cdef0533f8948cbf971484bbd9a5d00f4dae0ade386a7027739 busybox-static-1.37.0-r16-armhf-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armv7
pkgver=1.37.0
pkgrel=10
pkgrel=16
_arch="armv7"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
5bbeb8a0331f25569acc32d574290ec430f0a2a74190550b3913f3e7366082a76b9755c0d52bec57659a2bbd1af3f4fe5928ec988b283a2e731c902cd5e7aa85 busybox-static-1.37.0-r10-armv7-edge.apk
f3c12760357b4a702a97393ba54a22b34eeb874d7442c6ef1f45eeb954786daefcfc8565992f30f4d417203e2aa9a4df6d7862ccccef1101064ce23e6fef7366 busybox-static-1.37.0-r16-armv7-edge.apk
"
+2 -2
View File
@@ -5,7 +5,7 @@
pkgname=ccache-cross-symlinks
pkgver=3
pkgrel=0
pkgrel=1
pkgdesc="Enable ccache for cross-compilers with symlinks"
url="https://ccache.samba.org/"
arch="noarch"
@@ -15,7 +15,7 @@ options="!check"
package() {
# Keep in sync with pmb.config.build_device_architectures
local _archs="armhf armv7 aarch64 x86_64 x86"
local _archs="armhf armv7 aarch64 x86_64 x86 riscv64"
local _bins="c++ cc cpp g++ gcc clang clang++"
mkdir -p "$pkgdir/usr/lib/ccache/bin"
+3 -3
View File
@@ -20,7 +20,7 @@
pkgname=crossdirect
pkgver=5.2.0
pkgrel=0
pkgrel=1
pkgdesc="Wrappers to launch native cross compilers in foreign chroots"
url="https://postmarketOS.org"
arch="all"
@@ -31,7 +31,7 @@ source="cargo.sh crossdirect.c rustc.sh rust-qemu-linker.sh"
build() {
cd "$srcdir"
# Architectures and binaries
_archs="x86_64 armhf armv7 aarch64"
_archs="x86_64 armhf armv7 aarch64 riscv64"
for _arch in $_archs; do
[ "$_arch" == "$CARCH" ] && continue
_hostspec="$(arch_to_hostspec $_arch)"
@@ -48,7 +48,7 @@ build() {
package() {
# Architectures and binaries
_archs="x86_64 armhf armv7 aarch64"
_archs="x86_64 armhf armv7 aarch64 riscv64"
_bins="c++ cc cpp g++ gcc clang clang++"
# Rust wrappers
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-aarch64
pkgver=1.2.5
pkgrel=9
pkgrel=10
arch="x86_64"
subpackages="musl-dev-aarch64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
0f874d6c7be3a69a69553d99c4b50ede6e3b92811052c13a36d8dd35955817f437f77e185d624804526d36e8cc6e99be4eedf8c2d3bcf09340068b1e41da5a49 musl-1.2.5-r9-aarch64-edge.apk
2b85e131b5b8829a02ca5d6ab9bf3e897468834e6db9e5d54127037b5951f5c3ca06964d225d7d4376637ae77467c4001cbcc7f179705a6a206587ac8d7cd266 musl-dev-1.2.5-r9-aarch64-edge.apk
8276aa0ce7368b87bf97f37d600639d475c059b984061125c6b648d2fecb838d87c8de9f19af32bad5862845c05368ccec0b328af3beb0fedc89a7ec0fb3babb musl-1.2.5-r10-aarch64-edge.apk
2da7a285fee8a1f2386d4a75cbf3c75cfbbaf88c617d50af0e0440fcd5d9825183772bb13f55f885137d6519c606791d3a8c576c5202818b2289f0db4c98720d musl-dev-1.2.5-r10-aarch64-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-armhf
pkgver=1.2.5
pkgrel=9
pkgrel=10
arch="x86_64"
subpackages="musl-dev-armhf:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
10f462174d0fa0caaa4e4b767848b2d3a89c70617aca562cf0cd310ee2119eee8638b9eb2909a0756ee8e8952236624c1bacaac314b2d1146cf1c47b4c9b409d musl-1.2.5-r9-armhf-edge.apk
b9305bbe13d94de869d354f3657f59f1e08e897c2b6b0d0419a1dc384f00160dbf56df52b75196f238bcee62dd2e7e613755a91ee6e28776f6df38e5e9203de1 musl-dev-1.2.5-r9-armhf-edge.apk
18e90cbe16c8084cbf8d91b36decde0d520778946258d4c84908e639741843d21b7e9e610f007e5126dcc6a3ba2289a862bc18cfd9b21d3bc64161483a5704cf musl-1.2.5-r10-armhf-edge.apk
7b46a6eb791beb511d9d40c5de3fc08d9b2fbf82b0538dfb171cdafd16d719687d3bb55e718a0f1eefcd0a8342d81fcb258928a3209ab1a874015054f5ffe501 musl-dev-1.2.5-r10-armhf-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-armv7
pkgver=1.2.5
pkgrel=9
pkgrel=10
arch="x86_64"
subpackages="musl-dev-armv7:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
874994ef577a9651b444ddab90f8ac248b7b2ef8c4b0b7dda38d4ff2200e76a737e9dc27b63da5e7fd4022d18829badcdf99969cc52752d710ec598460cbe03d musl-1.2.5-r9-armv7-edge.apk
945a53e8ac24889bcc1bee2b9235fa743c6f653ca0f1611176797ae242eb26c19d3521ead290e9a759ffff38135073c6d2677879c891499c3a50f7f23ab0cead musl-dev-1.2.5-r9-armv7-edge.apk
cfd51c4655b612815af1e888228244640a4516dd8edd7a75131d6634c96d8ea6028e780b3c3e870dd22c4f89788f9f12594b4900a8df287161059687f1630857 musl-1.2.5-r10-armv7-edge.apk
88f482c389479817700a5b2c8609bae9d152303b92b1a9c7bd464aa990975b7bd0990c7b185d6c66ecd0c3c0c5f7579fc52a618d4393e511e112c8992d682693 musl-dev-1.2.5-r10-armv7-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-riscv64
pkgver=1.2.5
pkgrel=9
pkgrel=10
arch="x86_64"
subpackages="musl-dev-riscv64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
eb1e36d35decc8df6c383845e73a703bb5e0f322ca4ba8c346a54652f6d3c9c46d1eef901031ccfaa3a52a132963a67f35f791480f5918c091f3141775e1b1b9 musl-1.2.5-r9-riscv64-edge.apk
0cfa1711bc803674fb6504ed7466d73c2e35b735cbd78a5348bafd48973ed89afb877d966202d822f5e7d1064e99c1cc8452672478e3c6f30bac611328462c57 musl-dev-1.2.5-r9-riscv64-edge.apk
4c76e3c4e94ab96d49c51ad01205e846280f851cff06b8c6ab8269d2ac99bbede29da9600fa60130c266d95da21bccdb00ad4b18123964774835e8014611e53e musl-1.2.5-r10-riscv64-edge.apk
27e6923fb43b1cd87b15e42edec6c658b7983b4e8c001bb67f5fc79cb124a46af92440e75676460eb3bed3a7acdd5ad142f03ba7dd040aae056431b8cc56818d musl-dev-1.2.5-r10-riscv64-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-x86
pkgver=1.2.5
pkgrel=9
pkgrel=10
arch="x86_64"
subpackages="musl-dev-x86:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
809a21a20c1c0558c717b566c2fa53af05bb5eab0ca44bc1616b746f89fb4bf9ea05a733a6f4d6b674cd8d531c2734d3d44e38460c4939ac8e24423c91ad8e57 musl-1.2.5-r9-x86-edge.apk
be193ac93468095cbecd9fbc84ee16b9fc2f5e7f5181b6759669cb180cdd31daf1b094eb9585e1ddc9b27be7cedc931a51eaca09c1dce191826f8b6f1c15587d musl-dev-1.2.5-r9-x86-edge.apk
7d53c9b8d328860e09e5e5835be9632e9ee6effb6ce4203817b12139a1c4c69ac71495bb575e696b16e9a1dde830729af1b5b4d9308bf2e4be0995f2d7e2843b musl-1.2.5-r10-x86-edge.apk
5d048109d3360c526216a6f47446c5e9315fed76ae24bc8238d08dcac80edd22ac3de9ae4fda8fc42fd2c70c676e8673811eddb991bf08ea500bf4ccd10e2a3e musl-dev-1.2.5-r10-x86-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-x86_64
pkgver=1.2.5
pkgrel=9
pkgrel=10
arch="aarch64"
subpackages="musl-dev-x86_64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
b762a06e161cfbdf3a62c155dd6b0d11d81b81543a2381b7ea0ccd56320f9ed14c52a19dd76033594cfefd3b5da20517a2fda3a7c94d7e43c0f378912237b62f musl-1.2.5-r9-x86_64-edge.apk
396a982f454b377df901bc465ec5e5ba8b91c2e9e9b6cd52ae28f83f4b5fbd673e7c79657ffa94d0d164e80d77dac813c5b7c51914fabcae3167d0bbc182b01a musl-dev-1.2.5-r9-x86_64-edge.apk
5d8ee4ca49019bf728f855cd296e36ac8ba9c16dc85f56c7b8bb6804788656584464ed9828f1eb5a14c1da1ca77906fae9d93174c44d03e003b6e1c2d1f445a6 musl-1.2.5-r10-x86_64-edge.apk
788290a474910e15611f8a9165470fd5a633a579ca3a6f89f5f550864303949dedb286c6f0108db5490e8e05d0ce0dcfd749555b63b624ea8fcaffd9a0b201b9 musl-dev-1.2.5-r10-x86_64-edge.apk
"
@@ -0,0 +1,26 @@
# Archived: Downstream port, only for testing. Use mainline port (asus-x00td)!
# This kernel is mostly used for bringing up new features on mainline, thus unmaintained
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-asus-x00td-downstream
pkgdesc="Asus Zenfone Max Pro M1 downstream"
pkgver=0.1
pkgrel=0
url="postmarketos.org"
arch="aarch64"
license="MIT"
options="!check !archcheck"
depends="linux-asus-x00td-downstream mkbootimg msm-fb-refresher postmarketos-base"
makedepends="devicepkg-dev"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
dee8129a078693d5c5b13da6247615f1b9720d7268e16280ef5d5111b07cd96f534eee91893a20935d182cf6205598d283308f91bc1d7cc7b701907b33090ae8 deviceinfo
"
@@ -0,0 +1,32 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell scripts.
deviceinfo_format_version="0"
deviceinfo_name="Asus ZenFone Max Pro M1"
deviceinfo_manufacturer="Asus"
deviceinfo_codename="asus-x00td-downstream"
deviceinfo_year="2018"
deviceinfo_append_dtb="false"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="2160"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_flash_fastboot_partition_vbmeta="vbmeta"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc170000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 buildvariant=userdebug"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_flash_offset_base="0x00000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true"
deviceinfo_usb_network_function="rndis_bam.rndis"
@@ -1,4 +1,5 @@
# Reference: <https://postmarketos.org/devicepkg>
# Archived: Downstream port, only for testing. Use mainline port (samsung-j6lte)!
pkgname=device-samsung-j6lte-downstream
pkgdesc="Samsung Galaxy J6 (2018)"
pkgver=1
+1 -1
View File
@@ -1,4 +1,4 @@
# Maintainer: Alejandro Tafalla <alikates@dnyon.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-daisy
pkgdesc="Xiaomi Mi A2 Lite"
@@ -1,3 +1,4 @@
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8956)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-kenzo
pkgdesc="Xiaomi Redmi Note 3"
+1 -1
View File
@@ -1,4 +1,4 @@
# Maintainer: Victor Pavlov (vipaoL) <vipaolmail@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-markw
pkgdesc="Xiaomi Redmi 4 Prime"
+1 -1
View File
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=device-xiaomi-mido
pkgdesc="Xiaomi Redmi Note 4X"
pkgver=9
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-onclite
+1 -1
View File
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-rosy
@@ -1,5 +1,4 @@
# Maintainer: Danila Tikhonov (JIaxyga) <danila@jiaxyga.com>
# Co-Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-tissot
+1 -1
View File
@@ -1,4 +1,4 @@
# Maintainer: m0rf30 <morf3089@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-vince
pkgdesc="Xiaomi Redmi 5 Plus"
+1 -1
View File
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-ysl
pkgdesc="Xiaomi Redmi S2/Y2"
@@ -1,3 +1,4 @@
# Archived: Downstream port, only for testing. Use mainline port (samsung-espresso10/samsung-espresso7)!
pkgname=firmware-samsung-espresso10
pkgver=1
pkgrel=1
@@ -1,3 +1,4 @@
# Archived: Downstream port, only for testing. Use mainline port (samsung-j6lte)!
pkgname=firmware-samsung-j6lte-downstream
pkgver=1
pkgrel=0
@@ -1,4 +1,4 @@
# Maintainer: Alejandro Tafalla <alikates@dnyon.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-daisy
pkgver=2
pkgrel=2
@@ -1,3 +1,4 @@
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8956)
pkgname=firmware-xiaomi-kenzo
pkgver=1
pkgrel=3
@@ -1,5 +1,4 @@
# Maintainer: vipaoL <vipaolmail@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-markw
pkgver=2
pkgrel=2
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-mido
pkgver=3
pkgrel=1
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-onclite
pkgver=2
pkgrel=2
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-rosy
pkgver=1
pkgrel=1
@@ -1,6 +1,4 @@
# Maintainer: Danila Tikhonov (JIaxyga) <danila@jiaxyga.com>
# Co-Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-tissot
pkgver=2
pkgrel=2
@@ -1,4 +1,4 @@
# Maintainer: m0rf30 <morf3089@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-vince
pkgver=4
pkgrel=2
+1 -1
View File
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-ysl
pkgver=3
pkgrel=2
@@ -1,7 +1,8 @@
# Archived: Downstream port, only for testing. Use mainline port (asus-x00td)!
# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/arm64/configs/X00TD_defconfig
pkgname=linux-asus-x00td
pkgname=linux-asus-x00td-downstream
pkgver=4.4.223
pkgrel=0
pkgdesc="Asus ZenFone Max Pro M1 kernel fork"
@@ -45,6 +46,8 @@ package() {
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir"
}
sha512sums="84648d1f7e96bf8c14992ce315dc033a9d2f3e46d91ba12e5fdf621ba3fdc58048b9feda9197c2f8f9506a8600fa07484abd4ebcc73d1e98150b65981c4f54cf linux-asus-x00td-ad8e4cb1207f5bb5abbdc0cd51830bd7912d7c2d.tar.gz
sha512sums="
84648d1f7e96bf8c14992ce315dc033a9d2f3e46d91ba12e5fdf621ba3fdc58048b9feda9197c2f8f9506a8600fa07484abd4ebcc73d1e98150b65981c4f54cf linux-asus-x00td-downstream-ad8e4cb1207f5bb5abbdc0cd51830bd7912d7c2d.tar.gz
67612dd3513592cc8b277476f0cf88af7cdd48cdeec24e9342bbb424bb5ea44bc9a53ea7f5b7d6e3e2f77018aa8b0514004ee28e2dfc1c5326e90ba29f6556e8 config-asus-x00td.aarch64
8b3934e3c4115e81ac40a3c8022f3134cd89133f7569557ca857b4fd514078c4898b2ba3427986936d029874903711d04d7757d5a87bcb89137073128e51e8f5 fix-macro-declare_usb_function.patch"
8b3934e3c4115e81ac40a3c8022f3134cd89133f7569557ca857b4fd514078c4898b2ba3427986936d029874903711d04d7757d5a87bcb89137073128e51e8f5 fix-macro-declare_usb_function.patch
"
@@ -1,4 +1,5 @@
# Reference: <https://postmarketos.org/vendorkernel>
# Archived: Downstream port, only for testing. Use mainline port (linux-postmarketos-exynos7870)!
# Kernel config based on: arch/arm64/configs/j5y17lte_defconfig
# Maintainer: andrisas <sebokandris2009@gmail.com>
@@ -1,4 +1,5 @@
# Reference: <https://postmarketos.org/vendorkernel>
# Archived: Downstream port, only for testing. Use mainline port (linux-postmarketos-exynos7870)!
pkgname=linux-samsung-j6lte-downstream
pkgver=3.18.14
@@ -1,3 +1,4 @@
# Archived: unmaintained kernel package, only for testing. Use mainline kernel (linux-postmarketos-qcom-msm8956)
# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/arm64/configs/lineageos_kenzo_defconfig
@@ -0,0 +1,26 @@
# Maintainer: Danila Tikhonov <danila@jiaxyga.com>
# Co-Maintainer: Jens Reidel <adrian@travitia.xyz>
# Co-Maintainer: David Wronek <david@mainlining.org>
pkgname=alsa-ucm-conf-qcom-sm7150
pkgver=1.2.11_git20240810
pkgrel=1
pkgdesc="ALSA UCM configuration for SM7150 devices"
url="https://github.com/sm7150-mainline/alsa-ucm-conf"
arch="aarch64"
license="BSD-3-Clause"
provides="alsa-ucm-conf"
provider_priority=1
_commit="30ff4bed580e0c24f235409069c5f798866897e0"
source="$pkgname-$_commit.tar.gz::https://github.com/sm7150-mainline/alsa-ucm-conf/archive/$_commit.tar.gz"
options="!check"
builddir="$srcdir/alsa-ucm-conf-$_commit"
package() {
# install audio config files
mkdir -p "$pkgdir"/usr/share/alsa
cp -r ucm2 "$pkgdir"/usr/share/alsa/
}
sha512sums="
9a722c6c8090242ac3914e270931a27f241bb616d25b0964e9402805577362939c4dfd973da20df8d9fab75ae9e77656987c6c9b3cd9e59a74d5cb10b1eae052 alsa-ucm-conf-qcom-sm7150-30ff4bed580e0c24f235409069c5f798866897e0.tar.gz
"
@@ -0,0 +1,27 @@
# Maintainer: Caleb Connolly (kalube) <caleb@connolly.tech>
# Co-Maintainer: Joel Selvaraj <joelselvaraj.oss@gmail.com>
pkgname=alsa-ucm-conf-sdm845
pkgver=1
pkgrel=0
pkgdesc="ALSA UCM configuration for Qualcomm SDM845 devices"
url="https://postmarketos.org"
arch="aarch64"
license="BSD-3-Clause"
provides="alsa-ucm-conf"
provider_priority=1
replaces="soc-qcom-sdm845-ucm"
_commit="70d89261a7d30273fba9c6e67a072699f9f88151"
source="$pkgname-$_commit.tar.gz::https://gitlab.com/sdm845-mainline/alsa-ucm-conf/-/archive/$_commit/alsa-ucm-conf-$_commit.tar.gz"
options="!check"
builddir="$srcdir/$pkgname-$_commit"
package() {
# install audio config files
mkdir -p "$pkgdir"/usr/share/alsa
cp -r "$srcdir/alsa-ucm-conf-$_commit"/ucm2 \
"$pkgdir"/usr/share/alsa/
}
sha512sums="
f6d03f3b03f944b29b588464e2e26f4f4cc185368714f9e623c1211174ea172efb81a765980c9a289112f5bf8c5c4aafdfd87c0094890069fc3d7c73b29456bc alsa-ucm-conf-sdm845-70d89261a7d30273fba9c6e67a072699f9f88151.tar.gz
"
@@ -3,7 +3,7 @@
pkgname=device-fairphone-fp4
pkgdesc="Fairphone 4"
pkgver=4
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -19,7 +19,7 @@ depends="
firmware-fairphone-fp4-modem
firmware-fairphone-fp4-wlan
firmware-qcom-adreno-a630
hexagonrpcd
hexagonrpcd>=0.3.2-r3
hexagonrpcd-openrc
linux-firmware-ath10k
linux-postmarketos-qcom-sm6350
@@ -38,7 +38,6 @@ depends="
tqftpserv-openrc
"
makedepends="devicepkg-dev"
replaces="hexagonrpcd-openrc"
subpackages="$pkgname-openrc"
source="
81-libssc-fairphone-fp4.rules
@@ -60,12 +59,13 @@ package() {
install -Dm644 "$srcdir"/90-feedbackd-aw8695.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-aw8695.rules
install -Dm644 "$srcdir"/hexagonrpcd.confd \
"$pkgdir"/etc/conf.d/hexagonrpcd-adsp-sensorspd
"$pkgdir"/usr/share/hexagonrpcd/hexagonrpcd-adsp-sensorspd.conf
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="hexagonrpcd-openrc"
mkdir -p "$subpkgdir"
}
@@ -2,7 +2,7 @@
# Co-Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=device-generic-x86_64
pkgdesc="Generic x86_64 system, with EFI"
pkgver=16
pkgver=18
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -12,6 +12,7 @@ depends="
alsa-ucm-conf
postmarketos-base
systemd-boot
unl0kr-fbforcerefresh
"
makedepends="devicepkg-dev"
source="
@@ -69,7 +70,7 @@ kernel_lts() {
}
sha512sums="
e9dfcd70ccfb9a0fdaa0cdc52faf3be96d6de8af8c60a758bb703c515b0648cec4552e0eaf56e5168b0004cd3fc4b28118abb05dad2c581d3579a2e9134862cb deviceinfo
e464ef0ad4a4c34d2d53f69c4612b612ea878a77c9efdef69b0f842edf701036c8218809fd63aac286d6a08ae07f39e568199fc3e38d145e716c1723e7215019 modules-initfs
c8a4b2dc32aa43e574e9fdb2d95ac50ee00e26703ae00f6f57cd8ab43cc16999d0da064d2af4c07f5f37a9d01691835a79a12a70cb4c09455ba276ffbbd14310 deviceinfo
7f0e1dab2eaf0616220a06a658245a297f2627f1b6a492ccf3bb9922c5b40aa6fd320c4ec5f909557bfc9b38985ef6bc58a67dd87fc46e0d9d35addbcfb2683d modules-initfs
9599a10679a43929e4ed2ea22269a0716219163817574d48db4dc1cb21a0fcf17ea54d77d5fd8efd034905c421ecb3eaa600a72927d683983ce48d1159329881 30-gpu-i915-firmware.files
"
@@ -18,7 +18,7 @@ deviceinfo_gpu_accelerated="true"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_kernel_cmdline="PMOS_FORCE_PARTITION_RESIZE quiet"
deviceinfo_kernel_cmdline="PMOS_FORCE_PARTITION_RESIZE psi=1 quiet"
deviceinfo_partition_type="gpt"
deviceinfo_boot_filesystem="fat32"
deviceinfo_generate_systemd_boot="true"
@@ -12,6 +12,7 @@ mbcache
mmc_block
mmc_core
nvme
psmouse
scsi_mod
sd
sd_mod
+7 -3
View File
@@ -3,7 +3,7 @@
pkgname=device-google-gru
pkgdesc="Google Gru Chromebooks"
pkgver=8
pkgrel=0
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -11,14 +11,13 @@ options="!check !archcheck"
depends="
alsa-ucm-conf-google-gru
depthcharge-tools
eudev-hwids>=3.2.12-r0
linux-postmarketos-rockchip
postmarketos-base
postmarketos-cros-common
soc-rockchip-rk3399
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-openrc"
source="deviceinfo modules-initfs"
# provides and replaces to switch old installations to this package
@@ -51,6 +50,11 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
depends="eudev-hwids>=3.2.12-r0"
mkdir "$subpkgdir"
}
sha512sums="
d0d5e47e7bc6f63f92669a315611c36972e2f06a32c1339ac551f23db023331fb6e1cdbbe4dc2022596aaf8083967951c43585a3aa32c4fddc8d8987bc20c092 deviceinfo
+26 -38
View File
@@ -2,7 +2,7 @@
# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=device-google-sargo
pkgdesc="Google Pixel 3a"
pkgver=7
pkgver=10
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -10,83 +10,71 @@ arch="aarch64"
options="!check !archcheck"
depends="
alsa-ucm-conf-qcom-sdm670
firmware-google-sargo
hexagonrpcd
linux-firmware-ath10k
linux-firmware-qca
linux-firmware-qcom
linux-postmarketos-qcom-sdm670
make-dynpart-mappings
mkbootimg
postmarketos-base
soc-qcom-sdm845
soc-qcom-sdm845-qbootctl
soc-qcom
soc-qcom-modem
soc-qcom-qbootctl
unl0kr-fbforcerefresh
"
makedepends="devicepkg-dev"
source="
10-unl0kr-msm.conf
81-libssc-google-sargo.rules
90-feedbackd-drv2624.rules
deviceinfo
hexagonrpcd-adsp-sensorspd.confd
hexagonrpcd.confd
modules-initfs
no-hexagonrpcd-on-suspend.sh
q6voiced.conf
"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-nonfree-firmware-openrc:nonfree_firmware_openrc
"
subpackages="$pkgname-openrc"
build() {
devicepkg_build $startdir $pkgname
}
package() {
replaces="$pkgname-nonfree-firmware"
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/90-feedbackd-drv2624.rules \
-t "$pkgdir"/usr/lib/udev/rules.d
install -Dm644 "$srcdir"/10-unl0kr-msm.conf \
"$pkgdir"/etc/unl0kr.conf.d/10-unl0kr-msm.conf
}
nonfree_firmware() {
pkgdesc="Proprietary firmware blobs for the Google Pixel 3a"
depends="
firmware-google-sargo
hexagonrpcd
linux-firmware-ath10k
linux-firmware-qca
linux-firmware-qcom
soc-qcom-sdm845-modem
soc-qcom-sdm845-nonfree-firmware
"
# Sensors depend on ADSP firmware and the sensors registry served over FastRPC.
install -Dm644 "$srcdir"/hexagonrpcd.confd \
"$pkgdir"/usr/share/hexagonrpcd/hexagonrpcd-adsp-sensorspd.conf
install -Dm644 "$srcdir"/81-libssc-google-sargo.rules \
"$subpkgdir"/usr/lib/udev/rules.d/81-libssc-google-sargo.rules
"$pkgdir"/usr/lib/udev/rules.d/81-libssc-google-sargo.rules
# The q6voiced configuration can only be used if the ADSP is brought up
# via non-free firmware.
install -Dm644 "$srcdir"/q6voiced.conf "$pkgdir"/etc/conf.d/q6voiced
}
nonfree_firmware_openrc() {
replaces="hexagonrpcd-openrc"
install_if="$pkgname-nonfree-firmware=$pkgver-r$pkgrel openrc"
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
# Enable HexagonRPCD by default, but not if the user installed this
# package then disabled it.
install="$subpkgname.post-install"
replaces="hexagonrpcd-openrc"
depends="hexagonrpcd-openrc"
# The FastRPC service is only enabled when non-free firmware is installed.
install -Dm755 "$srcdir"/no-hexagonrpcd-on-suspend.sh \
"$subpkgdir"/etc/elogind/system-sleep/no-hexagonrpcd-on-suspend.sh
# The q6voiced configuration can only be used if the ADSP is brought up
# via non-free firmware.
install -Dm644 "$srcdir"/q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
# Sensors depend on ADSP firmware and the sensors registry served over FastRPC.
install -Dm644 "$srcdir"/hexagonrpcd-adsp-sensorspd.confd \
"$subpkgdir"/etc/conf.d/hexagonrpcd-adsp-sensorspd
}
sha512sums="
f700af3145b79d1ef9edfb22982899b25cabfb212f9620dcbd3a2e6f44b5ad591e0a66056c6fcd66c3fde89a2b5f551e8a8fe2e65cf0e2a48adec57c027d7825 10-unl0kr-msm.conf
089ce0acba4e1d789e337bedfca7570796a6416e7230ae9b8fc6b625747a40dbb064b1a707877cd6b7bdc73844c6571316e2ec0746a77060f13d98c52fdbfc00 81-libssc-google-sargo.rules
016d398155f2344417f5e5649a361719ba6e53e593c501b5df39114cdd284302b9bf8686a39817aee0c08fec95b3ab613c181d6cc9596299aaf7fd05dbe0c3dd 90-feedbackd-drv2624.rules
ad032b1a35cfcd4fc0c8df988430ee97b711e785b86cca68b7552b23a9a2e2b6b97c327e3415a575db47ad6c1f86ded18df5553acaae63010057d89b8c16135e deviceinfo
b6208c254b6e44ac4f6d748a38cc6b05da0db2c90235ada2011b138b82ccc3372687df2f5ad97e885e9eea135216a3c52266a08a7f4eb323e62e799f6f82ec7b hexagonrpcd-adsp-sensorspd.confd
3213a3586c25cef843a47e2446179ff73acad6421826a64bedb6b9800d30673503d0ea6b3fcc8cfbdcdcaf0926755a489323fce9d14d4411799e6988144b3518 modules-initfs
b6208c254b6e44ac4f6d748a38cc6b05da0db2c90235ada2011b138b82ccc3372687df2f5ad97e885e9eea135216a3c52266a08a7f4eb323e62e799f6f82ec7b hexagonrpcd.confd
925d8b176a8f1b47a86a1026cc920ffae99ceb35c3e52c222654c15078907579d23c4d68ed65a98ab937f59aaba2bbdd74da8d273e8b9c1ac87a52f718d383d6 modules-initfs
2972005a9cf6ca57061965075593dddfa8ee479bc6c21cd41851b1a14768cb1cddbd31a17975ae17adc36d40d294ccbc6bf83defbd69fc7b363f638d8564fbbc no-hexagonrpcd-on-suspend.sh
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
"
@@ -1,10 +1,4 @@
dispcc_sdm845
drm_exec
gpu_sched
i2c_qcom_geni
mdt_loader
msm
panel_samsung_s6e3fa7
rmi_core
rmi_i2c
gpi
@@ -3,7 +3,7 @@
pkgname=device-google-trogdor
pkgdesc="Google Trogdor Chromebooks"
pkgver=4
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -11,7 +11,6 @@ options="!check !archcheck"
depends="
alsa-ucm-conf
depthcharge-tools
eudev-hwids
linux-postmarketos-qcom-sc7180
postmarketos-base
postmarketos-cros-common
@@ -42,6 +41,11 @@ nonfree_firmware() {
mkdir "$subpkgdir"
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
depends="eudev-hwids"
mkdir "$subpkgdir"
}
sha512sums="
f94dcb175e49cbaadce524586ed1c3e3b0182e414c84c495a5585b49ed40ca6f7fa9c73544d19cbad236333f9fd997f150f836452b47a271f99b7b059972c4bc deviceinfo
@@ -2,7 +2,7 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-veyron
pkgdesc="Google Veyron Chromebooks"
pkgver=7
pkgver=8
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -53,6 +53,6 @@ nonfree_firmware() {
sha512sums="
abeebda841ae33d50008b891b4a29ccf4a7cf7be240b5913b701409e8621aa7210f685543b8ab7a9778b311359a197b4429af2b559716fa130d3af8447bef61d deviceinfo
d6a214d98ef6502ebed97dd2b774d9d7de1ac969d6d17513f413234e9698bd860248345520eb15f6b54fb0e06a793ba974f8548d397c9a72db31ecd506038008 deviceinfo
be3e804fa538d9d377c637094dcf95e503e8a156fa71676a9e78abc0e290595dfdaa70b5642df721ebcdd3daa04d14e0c61d9bab6f78cb1dbd669404abc3a56d modules-initfs
"
@@ -27,3 +27,4 @@ deviceinfo_cgpt_kpart_size="32768"
deviceinfo_depthcharge_board="veyron"
deviceinfo_generate_depthcharge_image="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_create_initfs_extra="true"
@@ -4,7 +4,7 @@
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-x64cros
pkgdesc="Google Chromebooks with x64 CPU"
pkgver=11
pkgver=13
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -80,6 +80,6 @@ firmware_intel() {
sha512sums="
38c53d91a60d0402d4cc5428d65e1e8c26360c481c70b34593b1812c87241c32e91904a3bd31fbfe507f7fdb8b50c909eaad8c4c3a37ca962760567329f7f6ee 00-amdgpu-firmware.files
c17f5c505e0e280a9e51ac1b4264e7703b744fd3831d75ce95f41be4755ae4ccd24b7ca09ba1e236df499a5e748c64a0d2054c9d55d8c8c713fa8c5646ed9a3c 00-i915-firmware.files
514ff5c946633dccaa569fed51743c669ea9942af4dd891ad001ba08bba07fca92503e29304f3eb71c16bc2f2436e1879ff0bf56d99666e4dcf9635c8605da2e deviceinfo
1b3bbfcdc6642488304653aef996dddf7a354e7279f2c735ac7aec404e598948423630fcaa2cac87e2c0aef033ecfc57a7a91154f9dac9a85411db7bad62e677 modules-initfs
d14992ad384d762452b28a8c5b93be67fb6bc03d0dd3e68d24c3373d466260a5e1a07338eb8fc5090edc735fd70b43017128c27962ebf4b7a5e3fa2fba66c18f deviceinfo
a6e5a9de9fe010966523606f2fcab1c44004228b4e050f777dcb1160fb3e32cda8096925543522216c2eb354f8ce2f8d4e206d98b077fbd6fb840de94e84c706 modules-initfs
"
@@ -18,6 +18,7 @@ deviceinfo_create_initfs_extra="true"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_kernel_cmdline="psi=1"
deviceinfo_boot_filesystem="fat32"
deviceinfo_cgpt_kpart="/boot/vmlinuz.kpart"
deviceinfo_cgpt_kpart_start="8192"
@@ -16,3 +16,5 @@ xhci_pci
ehci_pci
sdhci_pci
mmc_block
nvme
nvme_core
+3 -3
View File
@@ -4,8 +4,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-21bx
pkgdesc="Lenovo ThinkPad X13s"
pkgver=12
pkgrel=1
pkgver=13
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -63,7 +63,7 @@ usbguard() {
}
sha512sums="
9cb08de5748b0339005a910cc0475ad344dc6e912e477c5bd6b370784af6309719524f8fa7a39e7565586e47968a35c344ea853cddd716cc3e1e483efaae7ff0 deviceinfo
d2c2266c7db3b018cb1324ad4259fec664fa9d500f701795c6198b2318cec6466a9ad908c7217bb43c03d236dfdf3fb84280faf0cfa484bbdf90bda680822309 deviceinfo
5f4e6a80455c8a2ed879bfd457a89f81790824657ed4101e03b7ec288a274e63340f48e2ad5028cf83744263a4529584b1e94c36d10b98912e5b31804fa98ff0 firmware.files
27705e998db262602b50004083fe160dbcde88e9fdcaeb43e3d1d79be0b7af371f84855bb93ba16ada3cf5fa8ff8da6ca159cda4b1de08fb54ac451c57169c57 modules-initfs
52bbb9564ec713db5d46937701b121afe0c6c644fffe189a05766f491b4997b1bbc4c1f90229efb5764d795df8d40a57d4c840ee4b32d426e7a84520364b8bf5 pipewire.conf
@@ -15,7 +15,7 @@ deviceinfo_gpu_accelerated="true"
deviceinfo_chassis="laptop"
deviceinfo_keyboard="true"
deviceinfo_external_storage="true"
deviceinfo_kernel_cmdline="quiet loglevel=2 quiet clk_ignore_unused pd_ignore_unused arm64.nopauth"
deviceinfo_kernel_cmdline="quiet loglevel=2 quiet clk_ignore_unused pd_ignore_unused arm64.nopauth pmos.force-partition-resize"
# Bootloader related
deviceinfo_flash_method="none"
+36 -29
View File
@@ -2,14 +2,15 @@
# Maintainer: Sicelo <absicsz@gmail.com>
# Co-Maintainer: Danct12 <danct12@disroot.org>
pkgname=device-nokia-n900
pkgver=37
pkgrel=0
pkgver=42
pkgrel=1
pkgdesc="Nokia N900"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="
alsa-utils
evtest
kbd
kbd-bkeymaps
linux-firmware-ti-connectivity
@@ -19,9 +20,14 @@ depends="
postmarketos-mvcfg
u-boot-tools
wl1251-cal
wl1251-cal-openrc
"
makedepends="devicepkg-dev u-boot-tools kbd kbd-bkeymaps"
makedepends="
devicepkg-dev
u-boot-tools
kbd
kbd-bkeymaps
postmarketos-mvcfg
"
install="$pkgname.post-install $pkgname.pre-upgrade"
subpackages="
$pkgname-x11
@@ -43,9 +49,10 @@ source="
device-nokia-n900.start
deviceinfo
modules-initfs
i3wm/config-checker
i3wm/i3blocks.conf
i3wm/i3wm.conf
i3wm/protip_shell.sh
i3wm/pwr-key-handler.sh
i3wm/scripts/battery-bq27200
i3wm/scripts/calendar
i3wm/scripts/ofono
@@ -61,7 +68,6 @@ source="
modem-opts.conf
modules.blocklist
pointercal
proxishot.sh
uboot-script.cmd
udev/10-nokia-modem.rules
udev/15-bq27k.rules
@@ -69,8 +75,8 @@ source="
udev/90-touchscreen-dev.rules
upower.conf
x11-keymap
xdefaults
xorg.conf
xresources
"
options="!check !archcheck"
@@ -148,7 +154,7 @@ package() {
x11() {
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
depends="xset xinput scrot"
depends="unclutter-xfixes scrot xdotool xinput xrdb xset"
mkdir "$pkgdir"/etc/acpi
install -D -m755 "$srcdir"/acpi_handler.sh \
"$pkgdir"/etc/acpi/handler.sh
@@ -159,11 +165,9 @@ x11() {
install -D -m644 "$srcdir"/xorg.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/11-n900.conf
install -Dm755 "$srcdir"/lock.sh \
"$pkgdir"/usr/bin/lock.sh
install -Dm755 "$srcdir"/proxishot.sh \
"$pkgdir"/usr/bin/proxishot.sh
install -D -m644 "$srcdir"/xdefaults \
"$subpkgdir"/etc/skel/.Xdefaults
"$subpkgdir"/usr/bin/lock.sh
install -Dm644 "$srcdir"/xresources \
"$subpkgdir"/usr/share/X11/Xresources-mobile
}
xkeyboard_config() {
@@ -175,21 +179,23 @@ xkeyboard_config() {
i3wm() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-i3wm"
depends="unclutter-xfixes i3blocks rxvt-unicode upower brightnessctl"
depends="brightnessctl i3blocks rxvt-unicode sxmo-dmenu upower"
install -D -m644 "$srcdir"/i3wm.conf \
"$subpkgdir"/etc/skel/.config/i3/config
"$subpkgdir"/etc/xdg/i3/config
install -D -m644 "$srcdir"/i3blocks.conf \
"$subpkgdir"/etc/skel/.config/i3blocks/config
"$subpkgdir"/etc/xdg/i3blocks/config
install -D -m755 "$srcdir"/battery-bq27200 \
"$subpkgdir"/etc/skel/.config/i3blocks/battery-bq27200
"$subpkgdir"/usr/share/i3blocks/battery-bq27200
install -D -m755 "$srcdir"/ofono \
"$subpkgdir"/etc/skel/.config/i3blocks/ofono
"$subpkgdir"/usr/share/i3blocks/ofono
install -D -m755 "$srcdir"/calendar \
"$subpkgdir"/etc/skel/.config/i3blocks/calendar
"$subpkgdir"/usr/share/i3blocks/calendar
install -D -m755 "$srcdir"/wifi \
"$subpkgdir"/etc/skel/.config/i3blocks/wifi
install -D -m755 "$srcdir"/protip_shell.sh \
"$subpkgdir"/etc/skel/.protip_shell.sh
"$subpkgdir"/usr/share/i3blocks/wifi
install -D -m755 "$srcdir"/config-checker \
"$subpkgdir"/usr/bin/i3-config-checker
install -D -m755 "$srcdir"/pwr-key-handler.sh \
"$subpkgdir"/usr/bin/pwr-key-handler
}
upower() {
@@ -202,6 +208,7 @@ upower() {
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install"
depends="wl1251-cal-openrc"
mkdir -p "$subpkgdir"
}
@@ -210,18 +217,19 @@ sha512sums="
6b475c12eca8563be48c562a1cb4ad8ca6a05d70fc54b21288b2dd7435a80a6f53351aa870db96d5bbecf1b1c5cb00dfe35f5066e6d3fd0ad0369e66aeef5a21 10-initfs-keymap.files
4656d3b3ced0a86e2d6315c89322899f646a689e9cb64609aa8ad5a676b23d93706d8a37f3be6f6b12c6b1e8501b7d26ecafecf27322333850513a6805c61910 10-initfs-keymap.sh
2e6c324c2a0627fb37ee2feff249d6c828116a9c1a32d572481dddc12648c98b726eb3a475838398742f76a60e3f2249d7707502360473b8bf2e794bf22f57ce acpi.map
ff51909873160c2d4c6f0c0119b6d4a02751df29f571b8596b4bc8b04ce2541913c11a583b0e5dabd43f240752a8131da45db0ddff194860f4c11198599686a1 acpi_handler.sh
b2c2033f8a77a18dc0c5192e0304f60e3c2a2a7d132c2072ab0dd6ee1a5b2a8c7e6396165411534468311a254663ae887cbaf23816f8b17893dd28e99e549790 acpi_handler.sh
5b87071834313a389f83d29f86f6e3ea108d0921f17dc918be7a46de7e74c73a4418044ef600a0fbf72c8fad22b7730dcd5bfe3d6d01d76bf01556f8540f0b32 asound.state.headset
67acc17a33bc75113300393b4a5bba15319014032407e774d079abf310368e75f4f697dbb4856ba2d2d8ea184b056bb33561f42918de3ee91ab6a77df89a133c asound.state.speakers
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
344ec50cee2a4d864debad12810a83070ab8257f9f07dcfa9be3eea1d8b26f3ab4fbe322fe05a384152b40fc5e1481df51d191624c7062186dd70f95a0784ea8 bq27k-options.conf
c5b8e03ca9f720a794f2593a3e938640cbd91ac44dd761079bbf4614a0d288a9d7b72de8ed2493c062dc9f37be580bea529f454d2335f55b7a9f4d14024b42a9 bq27k-monitor.sh
e6bbac8de1a198ba716f44ade76606e1e0adcc574156b855ac41be5eb5308389d3277fd89cc34b119fbc33d9801ab9f79a6ff213392596bff40bc17e931c05ef device-nokia-n900.start
40aaeb44941a988ab8ec58d331bc6cd42c4a23c6b6e8fc302f9216a38b46baab38d0a0137606a5b7959a51326983c03d684615c5ba9c58b0e36314ec8c49cfbb deviceinfo
34b41ddd4d0312cc632087d19ca881f7c75b885e3e977add1b20ad414901f075f3fca12bdfe2ba9b3f24baf1e99f8279f61887db4c4b70b4cb4bac76f358bc99 deviceinfo
f48b8dd7297d03008f73e1ecd55b77ace535ecb03f9bdf021123b96fb5f4fb491ff4c532e226b835c8118fa8d505cc4c635a2b604a3e42a162746021552a551c modules-initfs
826a3790b49324c1e61c75b6c0ffc043a2a1d7c13a8c554fb5eae4977af47a1ca93d70ef8c783d712b953b70e18ae58fa4c6a49bf97263398a01a0c4f91ebc8f i3blocks.conf
506accabcf9fb3e2a270228ea53fdcb57f51092d6e7126a631af8eed697cd882cc805b19cf255422284bec12c928b58219d173a4a790d784db5335a059b6bb4f i3wm.conf
0b80af9fd1f36e6bc06bdfdf48352897234ac7457210649016665da8570a5a64b8a0841b4fbeb64fd7054a5246a64718cf4412f8a53024ce39b28a80984972d8 protip_shell.sh
d7d1599a9952fd02d3cfbeaa6b3307251e765f98a9eb723237c94f585831cc8f11d9d30dbc0352e3b008224dec12b820cf86fa28a5e5ac303cfd03d80b8872f5 config-checker
a8152e94262629e11abdd8809d187c3b7ed1866a6128fb1f435e17e72120536ac8114262e66df6decb2627743027f2b923ddbe8a94e3e844099b6fad02ec252b i3blocks.conf
c95afd02124e53f0de1ef33e7bbee12a15ae2d4d629a201157ed9d428288365241dfc3358fc7055154845f9df986fd975a2ebd4de384b8e175cb45f26b2fa38d i3wm.conf
63ec5a88f4385fd944477d0b7ca7061745b061337cba8d3c779826aa96a94dda79bfca4fb3456234f6adbdb483e660d3cf6ccefd8576d23a70f52e3f44f0edb4 pwr-key-handler.sh
6c6a70667f37807089adbb343c09d1f62d47b8e6c9c0a54f44790b822f8bff3dccae73341ef736b799fd6740bbd6e1f48e6e122c2e08520f71f6ad7434a47d2c battery-bq27200
d9ef88c714e9fce8822f63b7a9d7fc3e1ed472c8c876b44ba524d44efea322839f13ddd2fa652420608427ecf7279bfaac302c9b67667f32796ca21da332164d calendar
82038d38f94cb975a8d38914afca49b64957446bef7490ab684efa1df47ede2ea1c769045789bb9fded673345eea01911fbbf85fdb54c28685cad8022bfaafac ofono
@@ -237,7 +245,6 @@ e440ed7a3070c17e003b86b72dbe6d8194d01b577ca8dd56dd066f216b6dda32bb965c780950f178
695feac7f69a0ec8c5e007cdb651adcc3492f1c6236e7fd183edec2a5e25cb957d3ace630ea5fdb87fd703e35ac368f1d097c2f881ecb52c9cfd433564db2a6c modem-opts.conf
862ebc7cd2d7a1b3d41b10701b8418308c89eb0732eb99c42ec1091d48e08db9421727f67a3272b7309549798d59afb1b8d7d2fa48d1447b208fcb2329472d4d modules.blocklist
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
134f51d20decc0c63ab08010931a0b410b70d2f85bf6899f2ff137b1680f59f706a6287d01f5fbb41fa5309125df75a430d0783149bd1a6a1bca07d22f4f6a21 proxishot.sh
42f916d87dd305111028992a1107bf6fe108bebbd782ae8edd065e76505db2b3a75e57515970c3e40cb0d1b7e83097a1bba92785be13df7c3fd80959a8d9c5c1 uboot-script.cmd
465b9a0d2b46d0981c64b47cb1f656c2456a90b91b1751a2efad10af38a96030dd99108b1fd76ce31bf1ea0f236d55bed38b114d6bd712f09f8968de034c946c 10-nokia-modem.rules
1acc441b9f83dc91fd65fa3f89b8205bfd72a465286bc181b4e7e92dd4b8c0bc5c20a18dab46ff3ee8ae70940efd7d767b3dfb920edb4c74377bd418b838693d 15-bq27k.rules
@@ -245,6 +252,6 @@ e440ed7a3070c17e003b86b72dbe6d8194d01b577ca8dd56dd066f216b6dda32bb965c780950f178
c6012aef28b096141b924fced226ec99fb93eb53b69c064a8887d8fecdf8dc08a3ba3db399e18d88374c6ef4c59013a30699c7e4d76e5cb771040582573a0527 90-touchscreen-dev.rules
9b99feee42dd6bdd122769994c786d3127c41e0aa3321f19c82a9d3845cf07b522908621a31cbddd9599fe18c5c37127d9b4be4255cd7fa8e0e8983bf73eb41b upower.conf
c7837e6688f09c7d650ac7479b8881d4bad709480a71a1dea8b5bba4f4215d6b48a3aebd3f58923bbd48813559478d4ef137dcc9838d321722e141f0aa6a6085 x11-keymap
183dfdd545ba05e216209b1abe45e4af4e0ee16b2e73cff0e7ea7b9524ee35a1cf85213a77f32a1a94287aee6546885dbd71c6de1f4f1a1e2961e638ff27cdf6 xdefaults
a91f98daa60efa2beb2ff6b405097f92edca5f1bbb9e7675499139be52ca2570712f8f06f9032ef29f636f99c8f8da8b992f746eab6424aac04260c16158bcc2 xorg.conf
183dfdd545ba05e216209b1abe45e4af4e0ee16b2e73cff0e7ea7b9524ee35a1cf85213a77f32a1a94287aee6546885dbd71c6de1f4f1a1e2961e638ff27cdf6 xresources
"
@@ -19,7 +19,7 @@ case $cmd in
adjust_keypad_bl 0
;;
CAM_BTN_DWN)
USER_USER="$user" /usr/bin/proxishot.sh
echo "Not implemented yet"
;;
CAM_BTN_UP)
echo "Not implemented yet"
@@ -37,7 +37,7 @@ case $cmd in
echo "Not implemented yet"
;;
SCRNLCK_DWN)
su $user -c "DISPLAY=:0 /usr/bin/lock.sh"
echo "Not implemented yet"
;;
SCRNLCK_UP)
echo "Not implemented yet"
@@ -15,8 +15,6 @@ deviceinfo_arch="armv7"
deviceinfo_keyboard="true"
deviceinfo_keymaps="us/rx51_us ch/rx51_ch it/rx51_it fi/rx51_fi se/rx51_se"
deviceinfo_external_storage="true"
deviceinfo_screen_width="800"
deviceinfo_screen_height="480"
deviceinfo_swap_size_recommended="1024"
# Bootloader related
@@ -0,0 +1,7 @@
#!/bin/sh
if [ ! -f "$HOME"/.config/i3/config ]; then
pkill -f i3-config-wizard
touch "$HOME"/.config/i3/config
pkill -f i3-config-wizard
fi
exit 0
@@ -1,20 +1,18 @@
command=/usr/libexec/i3blocks/$BLOCK_NAME
[battery-bq27200]
command=~/.config/i3blocks/battery-bq27200
command=/usr/share/i3blocks/battery-bq27200
label=BAT:
interval=10
[ofono]
command=~/.config/i3blocks/ofono
command=/usr/share/i3blocks/ofono
label=M:
interval=10
[wifi]
command=~/.config/i3blocks/wifi
command=/usr/share/i3blocks/wifi
label=W:
interval=10
[calendar]
command=~/.config/i3blocks/calendar
command=/usr/share/i3blocks/calendar
interval=10
@@ -33,7 +33,7 @@ mode "mpd" {
}
mode "command" {
bindsym t exec urxvt -e ~/.protip_shell.sh; mode "default"
bindsym t exec urxvt; mode "default"
bindsym d exec dmenu_run; mode "default"
bindsym q mode "default"
bindsym k kill; mode "default"
@@ -60,12 +60,17 @@ mode "command" {
# Enter command mode
bindsym Shift+space mode "command"
# Mouse actions
bindsym --release Shift+Left exec --no-startup-id xdotool click 2
bindsym --release Shift+Right exec --no-startup-id xdotool click 3
bindsym --release Shift+Up exec --no-startup-id xdotool click 4
bindsym --release Shift+Down exec --no-startup-id xdotool click 5
# Handle screenlock key
bindsym --release XF86ScreenSaver exec --no-startup-id lock.sh
# Pressing the power button offers reboot, shutdown, or suspend choice
bindsym XF86PowerOff exec --no-startup-id i3-nagbar \
-m 'Choose Power Button Action:' \
-B 'Reboot' 'loginctl reboot' \
-B 'Suspend' 'loginctl suspend' \
-B 'Shutdown' 'loginctl poweroff'
bindsym XF86PowerOff exec --no-startup-id pwr-key-handler
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set PCM 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer set PCM 5%-
@@ -89,9 +94,11 @@ bar {
}
}
# ensure there is an i3 config in $HOME to prevent the wizard from trying to create one
exec --no-startup-id i3-config-checker
# Apply Xresources
exec --no-startup-id xrdb -merge /usr/share/X11/Xresources-mobile
# Hide mouse cursor
exec --no-startup-id unclutter-xfixes --fork
# Do not handle gpio_key events as they are handled by acpid
exec --no-startup-id xinput disable gpio_keys
# Turn display off after 2 minutes of idle
exec --no-startup-id xset dpms 0 0 120
@@ -1,8 +0,0 @@
#!/bin/sh
(
green="\033[32m"
reset="\033[0m"
echo -e "${green}PROTIP:${reset} ^i (ctrl+i) does autocompletion"
)
exec sh
Loaded 100 of 1099 files, more files were not shown because too many files have changed in this diff. Show more