Compare commits

...
Author SHA1 Message Date
Clayton Craft 6d5d9cba73 DO NOT MERGE: skip CI version check
[ci:skip-vercheck]: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6056#note_463981
2025-01-27 13:25:52 -08:00
Clayton Craft a6afa01456 systemd/gdm: drop install scripts for systemd presets 2025-01-27 13:25:52 -08:00
Clayton Craft b305a092f4 systemd/gnome-keyring: drop install scripts for systemd presets 2025-01-27 13:25:51 -08:00
Clayton Craft 4dd3a688cd systemd/cups: drop install scripts for systemd presets 2025-01-27 13:25:50 -08:00
Clayton Craft 8976287ba9 systemd/networkmanager: drop install scripts for systemd presets 2025-01-27 13:22:16 -08:00
Clayton Craft 22e587b8c4 main/msm-firmware-loader: drop install scripts for systemd presets 2025-01-27 12:33:42 -08:00
Clayton Craft e95c5509b0 systemd/abuild: upgrade to 3.14.1 and add latest -systemd split patch 2025-01-27 12:33:42 -08: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
Clayton Craft ab7156d367 soc-qcom-msm8953: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft f851c8a374 soc-qcom-msm8916: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft 38962fd023 device-xiaomi-beryllium: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft b67be8b278 device-shift-axolotl: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft 91104b55c4 device-oneplus-fajita: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Clayton Craft 81f954402a device-oneplus-enchilada: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Dzmitry Sankouski a3ff803df5 device-samsung-starqltechn: add non free firmware package (MR 6009)
- split depends list on multiple lines
- add non free firmware subpackage to starqltechn device
2025-01-12 20:45:11 +01:00
adamthiede 19b51bbf8f linux-postmarketos-mediatek-mt8173: upgrade to 6.12.9 (MR 6024)
[ci:skip-build]: already built successfully in CI
2025-01-12 19:29:30 +01:00
Antoine Martin 7092829258 pinenote-dbus-service: upgrade to 0.2.2_pre5, take maintainership (MR 6017)
[ci:skip-vercheck]: Skips check, as `0.2.2_pre5` is higher than `20221207`

[ci:skip-build]: already built successfully in CI
2025-01-12 19:25:21 +01:00
AutumnSpark1226 73484dca8b device-samsung-kyleprods: opt-in to initramfs-extra (MR 6034)
the target partition is only ~8MB
2025-01-12 19:20:25 +01:00
Robert Eckelmann 6506f73a17 Revert "device-xiaomi-surya: add kernel subpackage (MR 5983)" (MR 6033)
This reverts commit 609f3a5544.

The changes proposed in MR 5983 depend on changes in the upstream sc7150
kernel, howerver a new kernel release is currently not feasible as
instabilities still need to be worked out.

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-01-12 19:16:53 +01:00
Andras Sebok 26e38e99bc device-samsung-a3y17lte: depend on postmarketos-base-downstream (MR 6027) 2025-01-12 13:12:17 +03:00
Barnabás Czémán cebee6fde3 device-qcom-msm89x7: add support for more devices (MR 6005)
Add support for Redmi 4 (prada), Redmi 4A (rolex),
Motorola Moto G5S (montana) and Huawei Mediapad T3 10 (agassi).
Remove downstream motorola montana and xiaomi rolex packages.

[ci:skip-build]: already built successfully in CI
2025-01-12 13:00:41 +03:00
Barnabás Czémán f597a11449 linux-postmarketos-qcom-msm89x7: update to v6.12.5-r2 (MR 6005) 2025-01-12 13:00:40 +03:00
Barnabás Czémán 1c45f0dcbe main/lk2nd: Remove lk2nd-msm8952-xiaomi-land (MR 6005)
No more workarounds is needed for xiaomi-land.
2025-01-12 13:00:36 +03:00
Antoine Martin 69a2a9eb55 linux-pine64-pinenote: upgrade to 6.12.0 (MR 6016)
[ci:skip-build]: already built successfully in CI
2025-01-11 14:05:43 +01:00
Robert Eckelmann 73b1292000 extra-repos/systemd: enable systemd for armhf (MR 6031)
Cannot be build locally due to missing armhf folder on the mirror

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]
2025-01-11 13:28:57 +01:00
Robert Eckelmann 27cb596def extra-repos/systemd: wireplumber, disable tests for armv7 as well (MR 6030)
After the initial merge wireplumber failed on bpo for armv7,
It was recommended to disable tests for armv7 for now.

fixes #3454

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-vercheck]: no bump because we don't need a rebuild where it
		    succeeded
2025-01-11 13:22:43 +01:00
Clayton Craft 431d0aaa4f systemd/gnome-settings-daemon{,-mobile}: comment out checkdepends (MR 6028)
tests are disabled anyways (!check), and having gnome-session in
checkdepends creates a circular dependency in some situations since
gnome-session has gnome-setttings-daemon-dev in makedepends

[ci:skip-build]: CI can't build test because bpo is currently stuck, I build tested it locally
2025-01-10 16:23:20 -08:00
postmarketOS CI 596dd416ed linux-next: upgrade to next-20250110 2025-01-10 20:00:03 +00:00
Oliver Smith 110ba69520 extra-repos/systemd/abuild: new aport
Copy abuild to extra-repos/systemd as workaround for now.

Related: issue 3452
2025-01-10 18:58:46 +01:00
jane400 b4f5a4d89e pmaports.cfg: use linux-pam-pmos explictly (MR 6025) (MR 5563)
This still worked previously as linux-pam-pmos provides
linux-pam and pmbootstrap resolves that.

[ci:skip-build]
[ci:skip-vercheck]
2025-01-10 13:02:37 +01:00
jane400 538f5b3bde systemd/dbus: dont use systemd during bootstrap (MR 6025) (MR 5563) 2025-01-10 13:02:37 +01:00
jane400 aaffde4ca7 systemd/systemd: use aports linux-pam during bootstrap (MR 6025) (MR 5563) 2025-01-10 13:02:37 +01:00
jane400 026664491c systemd/linux-pam-pmos: version hacking (MR 6025) (MR 5563) 2025-01-10 13:02:37 +01:00
Clayton Craft 372c85f4ae systemd/postmarketos-base-systemd: improve the motd to reflect current status (MR 6023) (MR 5563)
[ci:skip-build]
2025-01-10 13:02:37 +01:00
Clayton Craft b9ed5f4721 systemd/systemd-services: add xdg-desktop-portal-kde (MR 5563)
Fixes #3411
[ci:skip-build]: CI fails arm builds due to qemu issue, Clayton build tested locally
2025-01-10 13:02:37 +01:00
bjorn3 55a89d949c main/msm-firmware-loader: add systemd unit files (MR 5964) (MR 5563)
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:37 +01:00
bjorn3 80cef6602e systemd/abuild: Move patched abuild from extra-repos/systemd to temp (MR 5987) (MR 5563)
This is required to use systemd_service outside of the
extra-repos/systemd repo.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:37 +01:00
Clayton Craft 6a318b7b1e systemd/systemd-services: add colord unit file (MR 6010) (MR 5563)
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:37 +01:00
Clayton Craft f51ac64ff4 systemd/postmarketos-base-systemd: depend on rtkit, enable by default (MR 6010) (MR 5563)
Quite a few things (pipewire, pulse, systemd) complain when rtkit is missing

[ci:skip-vercheck]
2025-01-10 13:02:37 +01:00
Clayton Craft 012b718e82 systemd/sytemd-services: drop wireplumber (MR 5999) (MR 5563)
[ci:skip-build]: CI failed on arm from qemu issues, build tested locally by Clayton
2025-01-10 13:02:37 +01:00
Clayton Craft cef931df10 systemd/wireplumber: fork from aports to enable systemd support (MR 5999) (MR 5563)
Turns out that there's some integration w/ logind and stuff that would
be useful to have...
2025-01-10 13:02:37 +01:00
fossdd 4e0c698208 systemd/systemd-services: remove fbd-alert-slider.service (MR 6011) (MR 5563)
fbd-alert-slider.service is actually already provided by feedbackd from
aports.

This reverts commit c3c625a49aaa46353c7e80de153edc9fd3ef27a5.
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:37 +01:00
jane400 eed72a258b systemd/pipewire: rebuild against libcamera-0.4.0 (MR 6003) (MR 5563)
Follow aports commit 1afd6ec59ea2d575702be1a9a3a3c5117482f2fb

[ci:skip-build]: aarch64 fails due to CI bugs, Clayton manually build tested it
2025-01-10 13:02:37 +01:00
jane400 688c6d4241 systemd/{linux-pam-pmos,networkmanager,polkit}: takeover maintainership (MR 5976) (MR 5563)
also add _pkgname for the upstream name in aports for linux-pam-pmos

[ci:skip-build]: CI bugs out building armv7 and aarch64, but skipping
since changes shouldn't affect building
2025-01-10 13:02:37 +01:00
jane400 5529523d0c systemd/systemd: remove runtime dependencies from package (MR 5971) (MR 5563)
These are now defined in pmos-base-systemd, those deps aren't needed
for building stuff upon systemd-dev.

[ci:skip-build]: CI bugs out, Clayton successfully build tested armv7
and aarch64 manually
2025-01-10 13:02:37 +01:00
jane400 cb3a98e52f systemd/postmarketos-base-systemd: move runtime dependencies from systemd (MR 5971) (MR 5563)
Those dependencies are either run or dlopen-ed during runtime of
systemd, systemctl etc.

As we not even require util-linux's version of runuser, we just use
the login-utils virtual in pmos-base-systemd. And while we're at it,
move the runtime dependencies to pmos-base. This is also more fitting
for libkmod, which is needed in the initramfs, as it is one of the
runtime deps of systemd-udev.
2025-01-10 13:02:37 +01:00
fossdd 0aadc949f2 systemd/postmarketos-base-systemd: add fbd-alert-slider to presets (MR 5969) (MR 5563)
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:37 +01:00
fossdd 052b0dc801 systemd/systemd-services: add fbd-alert-slider.service (MR 5969) (MR 5563)
and pass it to systemctl preset, to allow the alert slider (as it can be
fount on the Oneplus 6(t)) out-of-the-box.
2025-01-10 13:02:37 +01:00
Clayton Craft 77807e384e systemd/systemd-services: add plasma-powerdevil (MR 5961) (MR 5563)
Fixes #3408

[ci:skip-build]: already built successfully in CI (except armv7, which
times out the runner, but Clayton thinks that's just our CI being dumpy)
2025-01-10 13:02:37 +01:00
Bart Ribbers 3a28a6beb7 systemd/plasma*: upgrade to 6.2.4 (MR 5892) (MR 5563)
[ci:skip-build]: aarch64 was build tested locally (by Clayton), x86_64
build job failed in CI because the artifacts were too big but the actual
package building worked
2025-01-10 13:02:36 +01:00
fossdd 98f622784a extra-repos/systemd: add gnome-terminal-server service (MR 5896) (MR 5563)
Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3266

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
jane400 ea76cbcc35 systemd/systemd-services: add flatpak env-gen and tmpfiles (MR 5954) (MR 5563)
This uses the previously commited new syntax.

Fixes: #3400
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
jane400 8b043c21cb systemd/systemd-services: add more systemd directories to installdir table (MR 5954) (MR 5563) 2025-01-10 13:02:36 +01:00
Caleb Connolly 66d8fa2e48 systemd/systemd-services: add tailscale service (MR 5806) (MR 5563)
Add the service file for tailscale and its default environment file.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
Caleb Connolly 10bd9b248b systemd/systemd-services: allow absolute paths (MR 5806) (MR 5563)
Assume that file paths not starting with "user/" or "system/" are
absolute paths.
2025-01-10 13:02:36 +01:00
jane400 be12b506b9 systemd/postmarketos-base-systemd: pin polkit to our downstream (MR 5940) (MR 5563)
This is done in the usual way with a version requirement.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
jane400 a5e5e3d958 systemd/*: bump packages making BPO stuck (MR 5563) 2025-01-10 13:02:36 +01:00
jane400 8c5c31732c systemd/pipewire: stop providing jack-dev (MR 5946) (MR 5563)
I don't understand why the upstream APKBUILD provides jack-dev with
pipewire's pkg{ver,rel}. This blocks users potentially running
abuild deps on aports packages, so not a huge loss.

Unblocking BPO with this 🙃

[ci:skip-build]: built locally, merging as critical.
2025-01-10 13:02:36 +01:00
fossdd 8afb6cf81f systemd/polkit: upgrade to 125 (MR 5917) (MR 5563)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/338430105cd08f428976ecf163ec202f6c612d49
https://gitlab.alpinelinux.org/alpine/aports/-/commit/807bf19811a8d8d375ce40faca22ed5c75c42131

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
fossdd 5e8380e394 systemd/dbus: upgrade to 1.16.0 (MR 5917) (MR 5563)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/a194e2ccab4264c3c834ab753e65afb0317ed9d0
2025-01-10 13:02:36 +01:00
fossdd 52ab70f110 systemd/pipewire: upgrade to 1.2.7 (MR 5917) (MR 5563)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/c56f4f00e4c89adbc15e7f539a595bb541f22908

https://gitlab.alpinelinux.org/alpine/aports/-/commit/f1c084b2630dac32afe3f970cc1ab3bc93be8e8c
2025-01-10 13:02:36 +01:00
fossdd cd221c7092 systemd/upower: upgrade to 1.90.6 (MR 5917) (MR 5563)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/308623fbd6b0c09e52fb7d8fe9213492e4877c9c

https://gitlab.alpinelinux.org/alpine/aports/-/commit/28a8750c5e1f532ce8325d290d379898baaa7269

https://gitlab.alpinelinux.org/alpine/aports/-/commit/40b203a22dc8ebfd4a890f159a5ba418c81b4705

https://gitlab.alpinelinux.org/alpine/aports/-/commit/c9c25690f49527959138cfe0041d912dc36ac625
2025-01-10 13:02:36 +01:00
fossdd ed17e7224f systemd/gnome-settings-daemon: upgrade to 47.2 (MR 5916) (MR 5563)
[ci:skip-build]: CI builds sucessfully on x86_64 and armv7,
there's an failure in aarch64/gnome-shell, but compiling
on a native aarch64 system and testing also works. (-jane400)
2025-01-10 13:02:36 +01:00
fossdd 4709a04217 systemd/gnome-shell: upgrade to 47.2 (MR 5916) (MR 5563) 2025-01-10 13:02:36 +01:00
fossdd 32eccf0878 systemd/mutter: upgrade to 47.3 (MR 5916) (MR 5563) 2025-01-10 13:02:36 +01:00
fossdd b242c181e5 systemd/systemd-services: include xdg-desktop-portal-phosh user service (MR 5808) (MR 5563)
Upstream: https://gitlab.gnome.org/guidog/xdg-desktop-portal-phosh/-/blob/main/data/xdg-desktop-portal-phosh.service.in

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
jane400 e2e646cac5 systemd/systemd-services: fix typo at rtkit preset (MR 5825) (MR 5563)
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
fossdd c8790b64e4 systemd/gnome-logs: new aport (MR 5790) (MR 5563)
https://apps.gnome.org/Logs
Log viewer for the systemd journal

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
Clayton Craft 15b7743279 systemd/networkmanager: don't build docs (MR 5563)
This doens't work with crossdirect since apparently it calls the
compiler during package() stage:

ERROR: Error in gtkdoc helper script:

ERROR: ['/usr/bin/gtkdoc-scangobj', .... failed with status 1
============================================================================================
ERROR: crossdirect was called with: LD_PRELOAD=libfakeroot.so
2025-01-10 13:02:36 +01:00
jane400 d3545fc941 systemd/linux-pam-pmos: rename from linux-pam (MR 5769) (MR 5563)
This should ensure that postmarketos-base-systemd installs our linux-pam
package, not the one from alpine. (The old way to pin our package was
based on fragile version pinning, as our pam wasn't bumped to 9999, but
had the same version as aports).

fixes #3170
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
Clayton Craft b6429284d9 systemd/networkmanager: upgrade to 1.50 and rebase APKBUILD (MR 5761) (MR 5563)
APKBUILD was rebased onto the latest verstion in Alpine aports (1.50.0-r3)

[ci:skip-build]: bug in CI prevents it from completing, but builds fine locally
2025-01-10 13:02:36 +01:00
jane400 bbd4d52780 systemd/{gdm, gnome-*, mutter}: rebase apkbuild on upstream/aports (MR 5770) (MR 5563)
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
jane400 766c4b0b2d systemd/xorg-server: pull upgrade from upstream/aports (MR 5777) (MR 5563)
lto is disabled because of CI

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:36 +01:00
jane400 d65fab1d87 systemd/pipewire: pull upgrade from upstream/aports (MR 5776) (MR 5563)
lto makes cross-compiling CI unhappy, disabling it makes CI happy again.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft 5fa6664045 extra-repos/systemd: fix deinstall macro (MR 5746) (MR 5563)
This wasn't actually working because it was using an unset var when
calling 'systemctl disable'.

[ci:skip-build]: CI cannot complete build testing because of infra
issue, but that's fine because this change doens't actually require
compiling systemd.
2025-01-10 13:02:35 +01:00
Clayton Craft aa7f9531f6 systemd/plasma-workspace: rebase apkbuild on upstream/aports (MR 5762) (MR 5563)
New dependencies were not included so this failed to build properly. The
other changes were pulled from the version in aports, to make rebasing
in the future easier.

[ci:skip-build]: CI cannot complete build testing because of infra
issues downloading from download.kde.org
2025-01-10 13:02:35 +01:00
fossdd ebfa97f3ac systemd/systemd-services: manually issue chvt on start of phosh (MR 5757) (MR 5563)
libseat 0.9.0 no longer performs an automatic VT switch when taking
control of a seat to allow sessions to be started in the background. As
consequence, one must manually switch if one wants a background session
to be immediately activated.

Issue a chvt on ExecStartPost, when the service is deemed running.

Upstream: https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1566
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft 2807210d02 systemd/postmarketos-base-systemd: disable journald audit feature (MR 5754) (MR 5563)
When kernel auditing is enabled and things crash, this leads to a lot of
really annoying messages printed to the console/TTY that can interfere
with debug. Kernel audit info can be reached using other userspace
tools.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft 6c2c528e7b systemd/postmarketos-base-systemd: add presets for swclock-offset (MR 5685) (MR 5563) 2025-01-10 13:02:35 +01:00
Clayton Craft c6a65bc393 systemd/pmos-base-systemd: disable sd-resolved by default (MR 5630) (MR 5563)
Fixes #3190
2025-01-10 13:02:35 +01:00
Bart Ribbers a9498ee193 extra-repos/systemd/plasma*: upgrade to 6.2.2 (MR 5734) (MR 5563)
[skip ci]: downloading from KDE servers seems to be broken / not
working, so checksum verify never passes. checksums were verified
locally
2025-01-10 13:02:35 +01:00
Clayton Craft 6a57b83489 systemd/gnome-shell*: remove dependency on networkmanager-common (MR 5563)
This package no longer exists on Alpine edge
2025-01-10 13:02:35 +01:00
Caleb Connolly b84e52aabd systemd: fix udevd path (MR 5563)
We actually want usr/lib/udevd here, not lib/udevd. This fixes the
initramfs not building and some other weirdness.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:35 +01:00
jane400 6a927cb3f2 extra-repos/systemd/systemd: support split-usr again (MR 5661) (MR 5563)
Do note that this commit was amended after the fact, the patch got
inlined into this repo to not brick this branch if the MR gets pushed
to.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
jane400 1ef9e30d7e extra-repos/systemd/apk-tools: drop (MR 5661) (MR 5563) 2025-01-10 13:02:35 +01:00
jane400 08cfb992d3 extra-repos/systemd: adjust bootstrap logic to remove usr-merge (MR 5661) (MR 5563) 2025-01-10 13:02:35 +01:00
jane400 ae8a27d8cd systemd/systemd: upgrade to 256.5 (MR 5560) (MR 5563) 2025-01-10 13:02:35 +01:00
Andrei Zisu 10c68a927b main/postmarketos-ui-gnome-*: enable systemd by default (MR 5563)
[ci:skip-vercheck]
2025-01-10 13:02:35 +01:00
Bart Ribbers 35ddc20d25 extra-repos/systemd/systemd-services: fix subpackage names for Plasma and Waydroid services (MR 5651) (MR 5563)
The package names should be the original package names + the -systemd
suffix. I did this wrongly breaking both KDE Plasma and Waydroid
2025-01-10 13:02:35 +01:00
Aster Boese 75dac319ea extra-repos/systemd/systemd: enable sysext and sysusers (MR 5597) (MR 5563) 2025-01-10 13:02:35 +01:00
Clayton Craft 39a9c0098d extra-repos/systemd/postmarketos-base-systemd: add waydroid presets (MR 5592) (MR 5563) 2025-01-10 13:02:35 +01:00
Bart Ribbers 845da18e19 extra-repos/systemd/systemd-services: add waydroid and related services (MR 5592) (MR 5563) 2025-01-10 13:02:35 +01:00
Caleb Connolly 6aaad5770f systemd: gnome-shell-mobile: upgrade to 46.1 (MR 5629) (MR 5563)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build] already built in CI
2025-01-10 13:02:35 +01:00
Bart Ribbers ff2781e489 extra-repos/systemd/systemd-services: take over service files from origin packages (MR 5631) (MR 5563)
We were only forking kactivitymanagerd and kglobalacceld for their
service files
2025-01-10 13:02:35 +01:00
Bart Ribbers 3ed7c30cc7 extra-repos/systemd/kde*: upgrade to latest versions (MR 5590) (MR 5563)
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft 60f31ad190 systemd/pmos-base-systemd: add preset for udisks2 (MR 5589) (MR 5563)
Provides disk mounting services for many UIs

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft bc35d9ddaf systemd/systemd-services: fix nftables unit (MR 5589) (MR 5563)
The type was erroneously set as 'simple', and since we are setting
ExecStop we actually need to set RemainAfterExit to avoid running
ExecStop when the oneshot service runs. This is because nft returns/
exits pretty much immediately after applying the config.

fixes #2846
2025-01-10 13:02:35 +01:00
Clayton Craft 3c41129561 systemd/systemd-services: add udisks2 unit file (MR 5589) (MR 5563) 2025-01-10 13:02:35 +01:00
Clayton Craft ea62919155 systemd/systemd-services: add evolution-data-server user services (MR 5589) (MR 5563)
No presets because these are dbus activated.

fixes #2910
2025-01-10 13:02:34 +01:00
Bart Ribbers 4203f655ac extra-repos/systemd/systemd-services: add kded (MR 5593) (MR 5563) 2025-01-10 13:02:34 +01:00
Caleb Connolly bd478d9307 systemd-services: add lxc (MR 5598) (MR 5563)
add the lxc template service

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:34 +01:00
Clayton Craft 0850de5098 systemd/pmos-base-systemd: presets: fix some preset unit names, add sshd (MR 5588) (MR 5563)
The unit name to kill pbsplash had a typo, and added a preset for sshd.

systemd didn't seem to match `phosh` or `gdm` to the correct unit,
unless they had `.service` added, so this was fixed.

Presets in this section were also sorted.
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft dfc186bc9d systemd/systemd: fix default disable preset (MR 5588) (MR 5563)
This didn't actually seem to do anything, resulting in some weird stuff
being enabled by default even though we did not specify a preset for it
(e.g. see !5556)

Based on my interpretation of the systemd preset manpage, this file
should be parsed last. It says that if a unit name has a preset that
was already configured in some previously parsed preset file, then any
matches after do not apply. This means that the `disable *` should not
disable any previously enabled (in previous .preset files) units. When
the unit name is omitted from the `disable` command, it seems to be a no-op.

Fixes !5207
2025-01-10 13:02:34 +01:00
Clayton Craft c144c1663f systemd/postmarketos-base-systemd: depend on newer linux-pam (MR 5579) (MR 5563)
[ci:skip-build] already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft a597ad4c8d systemd/linux-pam: upgrade to 1.6.1-r1 (MR 5579) (MR 5563)
pkgver and pkgrel match aports version

APKBUILD was rebased onto alpine aports version
2025-01-10 13:02:34 +01:00
Clayton Craft 8c67d01795 systemd/kmod: remove fork (MR 5572) (MR 5563)
Patches were merged upstream:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71426

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft 96efb21568 systemd/pmos-base-systemd: disable multipathd by default (MR 5556) (MR 5563)
This causes systemd to get stuck restarting multipathd forever on boot if it runs on systems with no multipath hardware. When this happens, the system never finishes booting.

It doesn't seem like any UIs/devices enable the multipathd service by default in openrc, and that we just depend on multipath-tools for kpartx and stuff (and not the daemon that comes with it)

[ci:skip-build] already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft 7ef5260766 systemd/pipewire: add install scripts for systemd presets (MR 5551) (MR 5563)
fixes #3153
2025-01-10 13:02:34 +01:00
Clayton Craft 5ddca30396 systemd/kmod: add fixes for usr merge (MR 5554) (MR 5563)
This patch was submitted upstream to Alpine aports in
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71426

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft a25dbb6f71 systemd/kmod: fork from Alpine to support usr merge (MR 5554) (MR 5563)
actual patch to support usr merge will come later
2025-01-10 13:02:34 +01:00
Clayton Craft 56dde363be systemd/multipath-tools: upgrade to 0.10.0 (MR 5563)
rebased on aports
2025-01-10 13:02:34 +01:00
Caleb Connolly 3caf2b8cd0 systemd: upgrade gnome shell and mutter mobile to 46 (MR 5363) (MR 5563)
Upgrade to 46-mobile-0

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft 4cb3bc64e8 systemd: gnome-settings-daemon-mobile: new aport (MR 5363) (MR 5563)
mobile shell has a fork of GSD which hard depends on systemd.
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:34 +01:00
jane400 3b2bcb676b systemd/gnome-settings-daemon: add systemd subpkg (MR 5377) (MR 5563)
also remove the elogind specific patch to use systemd for brightness
changes

Co-authored-by: Clayton Craft <clayton@craftyguy.net>

Note: the user services that the -systemd split pkg installs are not
enabled by default using systemd presets. None of them have 'Install'
sections, they appear to be mostly/all dbus activated instead.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:34 +01:00
jane400andClayton Craft 86d38add61 systemd/gnome-session: add systemd subpkg (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-01-10 13:02:34 +01:00
jane400 495e231c7a systemd/gdm: add systemd subpkg (MR 5377) (MR 5563) 2025-01-10 13:02:34 +01:00
jane400andClayton Craft 641cdf3c17 systemd/gnome-keyring: add systemd subpkg (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-01-10 13:02:34 +01:00
jane400andClayton Craft 90a828bb24 systemd/networkmanager: add systemd subpkg (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-01-10 13:02:34 +01:00
jane400 95d40be3b8 systemd/postmarketos-base-systemd: add base presets (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

- Removed systemd-timesyncd, already enabled by a preset installed by
  the systemd package
- Removed default-disable.preset, it's already provided by the systemd
  package
- Removed user services from system preset
2025-01-10 13:02:34 +01:00
Clayton Craftandjane400 b44c0b4874 systemd/systemd-services: use systemd preset macro to configure services (MR 5377) (MR 5563)
also remove the rc_update workaround

Co-authored-by: jane400 <pmos@j4ne.de>
2025-01-10 13:02:34 +01:00
jane400 b579d07193 systemd/polkit: add comment about why systemd preset isn't used (MR 5377) (MR 5563)
Note: I/Clayton bumped the pkgrel because I don't want to
ci:skip-vercheck for *all* packages in the branch just to so that this
one doesn't fail.
2025-01-10 13:02:34 +01:00
jane400andClayton Craft 19eedbea6b systemd/systemd: configure presets for systemd services (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-01-10 13:02:34 +01:00
Clayton Craftandjane400 ca7c0be4ad systemd/systemd: add macros for package install scripts (MR 5377) (MR 5563)
These macros are based off of the upstream systemd RPM macros, but it
doesn't implement all of the macro functionality upstream. Initially
they will be used in the install scripts for apkbuilds that provide
systemd service unit files.

For example, a `$pkgname-systemd.post-install` script might have:
    . /usr/lib/systemd/systemd-apk-macros.sh
    systemd_service-post_install system sshd

And a `$pkgname-systemd.pre-deinstall` script might have:
    . /usr/lib/systemd/systemd-apk-macros.sh
    systemd_service_pre_deinstall user pipewire

One day maybe these could be upstreamed to systemd to provide some
apk/abuild compatible macros.

Co-authored-by: jane400 <pmos@j4ne.de>
2025-01-10 13:02:33 +01:00
jane400 f1d059531a systemd/alpine-base: remove stub rc-update (MR 5377) (MR 5563) 2025-01-10 13:02:33 +01:00
jane400 6616f0b77b systemd/dbus: don't generate a /etc/machine-id with the post-install trigger (MR 5377) (MR 5563)
Generating the machine-id is handled by systemd's first boot mechanism,
so that was removed from the dbus post-install script
2025-01-10 13:02:33 +01:00
Bart Ribbers 05c506b631 extra-repos/systemd/drkonqi: fork from Alpine (MR 5470) (MR 5563) 2025-01-10 13:02:33 +01:00
Bart Ribbers 8b0f14d50d extra-repos/systemd/kglobalacceld: fork from Alpine (MR 5470) (MR 5563)
It installs /usr/lib/systemd/user/plasma-kglobalaccel.service
2025-01-10 13:02:33 +01:00
Bart Ribbers eca588403e extra-repos/systemd/plasma*: upgrade to 6.1.4 (MR 5470) (MR 5563) 2025-01-10 13:02:33 +01:00
Clayton Craft 35e56724c0 systemd/systemd-services: add plasma-mobile (MR 5502) (MR 5563)
[ci:skip-build] already built successfully in CI
2025-01-10 13:02:33 +01:00
jane400 5b05ae4b64 systemd/systemd-services: add eg25-manager.service (MR 5346) (MR 5563) 2025-01-10 13:02:33 +01:00
Clayton Craft bb5dca5a42 systemd/systemd: fix typo in pre-install (MR 5468) (MR 5563)
The space here caused this install script to attempt to create a group
named '2' and add a user named 'sgx' to it.

[ci:skip-build] already built successfully in CI
2025-01-10 13:02:33 +01:00
Caleb Connolly 58bdb46ef2 systemd: apk-tools: update /usr merge patches (MR 5353) (MR 5563)
Update to the reworked apk-tools /usr merge support.

Upstream MR: https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/155

Fixes: #2988

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

[ci:skip-build] already built successfully in CI
2025-01-10 13:02:33 +01:00
Clayton Craft aa765f7fd9 systemd/plasma*: disable armv7 (MR 5366) (MR 5563)
Fails in CI, and (according to Bart) might be disabled on this arch in
upstream aports later.
2025-01-10 13:02:33 +01:00
Bart Ribbers e1e7792684 extra-repos/systemd/plasma*: upgrade to 6.1.3 (MR 5366) (MR 5563) 2025-01-10 13:02:33 +01:00
jane400andClayton Craft 684b6d8348 systemd/networkmanager: remove some alpine-isms (MR 5375) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

[ci:skip-build] already built successfully in CI
2025-01-10 13:02:33 +01:00
jane400 7488c4a895 systemd/systemd: move user/group creation to pre-install (MR 5375) (MR 5563) 2025-01-10 13:02:33 +01:00
Caleb Connolly c0e462df37 systemd/postmarketos-base-systemd: depend on systemd-timsyncd (MR 5339) (MR 5563)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:33 +01:00
Clayton Craft 6bb688aaf2 systemd/pipewire: upgrade to 1.2.0 (MR 5361) (MR 5563)
[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2025-01-10 13:02:33 +01:00
Clayton Craft e4cbe6ec9e systemd/networkmanager: upgrade to 1.48.2 (MR 5361) (MR 5563) 2025-01-10 13:02:33 +01:00
Clayton Craft 4e6abfcefb systemd/mutter: upgrade to 46.2 (MR 5361) (MR 5563)
updated pkgver to follow format used elsewhere... "999$_pkgver"
2025-01-10 13:02:33 +01:00
Clayton Craft c61e2f48fe systemd/gnome-settings-daemon: upgrade to 46.0 (MR 5361) (MR 5563) 2025-01-10 13:02:33 +01:00
Clayton Craft f86b3c9a15 systemd/gdm: upgrade to 46.2 (MR 5361) (MR 5563) 2025-01-10 13:02:33 +01:00
Clayton Craft f62410ba1d systemd/gnome-shell: upgrade to 46.2 (MR 5361) (MR 5563) 2025-01-10 13:02:33 +01:00
Clayton Craft 06413d342f systemd/gnome-keyring: upgrade to 46.1 (MR 5361) (MR 5563)
FYI the autoreconf thing was sent to aports since this is fixing an
upstream packaging bug:

https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/69432
2025-01-10 13:02:33 +01:00
Clayton Craft 76c9415158 systemd/systemd-services: fix pkgname for gnome-clocks service (MR 5563) 2025-01-10 13:02:33 +01:00
Clayton Craft 8da20639b6 systemd/networkmanager: add -systemd subpkg for service (MR 5563)
Missed this earlier when moving -service --> -systemd

Also updates the pkgver to be more in line with how we handle pkgver
elsewhere in this repo
2025-01-10 13:02:33 +01:00
David Heidelberg 0e0c81abda systemd/systemd-services: add missing bluez services (MR 5200) (MR 5563)
Signed-off-by: David Heidelberg <david@ixit.cz>

[ci:skip-build] already built successfully in CI
2025-01-10 13:02:32 +01:00
Clayton Craft e67e974c94 systemd/systemd-services: adjust subpackages to use -systemd name (MR 5315) (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft 974c7ee60d systemd/upower: rename service subpkg to systemd (MR 5315) (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft 3cfaacd005 systemd/polkit: rename service subpkg to systemd (MR 5315) (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft d5a13d0149 systemd/pmos-base-systemd: depend on newer linux-pam pkg (MR 5315) (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft ea65c03d4f systemd/linux-pam: rename service subpkg to systemd (MR 5315) (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft 2f61aacaf7 systemd/gdm: rename service subpkg to systemd (MR 5315) (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft d380065a2b systemd/dbus: rename service subpkg to systemd (MR 5315) (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft 2360092bcb systemd/abuild: add patch to warn on install to /bin or /lib (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft 5f38b943b2 systemd/abuild: update -systemd split func patch (MR 5563)
Build abuild from upstream source and only apply the systemd split func
patch. The patch was also adjusted to use -systemd instead of -service
for subpackages
2025-01-10 13:02:32 +01:00
jane400 e8a7ffb0dc systemd: postmarketos-base-systemd: manually include kmod-libs in initramfs for systemd-udevd (MR 5340) (MR 5563)
As systemd v256 switched to dlopen for a bunch of dependencies
(specified in a custom format), this is no longer auto-detected
by either abuild or boot-deploy. So we include kmod manually for udevd
to work correctly.

This fixes the "no screen" issue on pine64-pinephone.
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:32 +01:00
jane400 2654fa1881 systemd/postmarketos-base-systemd: fix replaces failure (MR 5335) (MR 5563)
the systemd v256 upgrade also moved some files to their
respecitive subpackages.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:32 +01:00
Oliver Smith 22d9a187cb systemd/plasma-workspace: workaround for build race condition (MR 5327) (MR 5563)
Explicitly generate qwayland-plasma-shell.h first, in order to fix:
  In file included from /usr/include/PlasmaQuick/PlasmaQuick/PlasmaShellWaylandIntegration:1,
                   from /home/pmos/build/src/plasma-workspace-6.1.2/shell/panelconfigview.cpp:35:
  /usr/include/PlasmaQuick/plasmaquick/plasmashellwaylandintegration.h:14:10: fatal error: qwayland-plasma-shell.h: No such file or directory
     14 | #include "qwayland-plasma-shell.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

Related: https://invent.kde.org/plasma/plasma-workspace/-/issues/132
[ci:skip-vercheck]
[ci:skip-build] times out after >3hr in gitlab CI
2025-01-10 13:02:32 +01:00
Bart Ribbers d3267304a3 community/plasma: upgrade to 6.1.2 (MR 5327) (MR 5563)
[ci:skip-vercheck]
Rebased-By: Oliver Smith <ollieparanoid@postmarketos.org>
2025-01-10 13:02:32 +01:00
Clayton Craft 2444bb08bc systemd/kwin: include patch in repo (MR 5563)
Apparently the patch url isn't stable(?) upstream, the checksum changed.
Since this is a simple 1 line patch, let's just include it in pmaports

This also changes kwin to use the more 'standard' pkgver used in other
packages forked for systemd support
2025-01-10 13:02:32 +01:00
jane400 c27697890a systemd: upgrade to 256 and add me as co-maintainer (MR 5093) (MR 5563)
The patches were put into the gitlab.com/postmarketos/systemd repo
and updated for stable-v256.

This also enables man pages, systemd-localed and localization support
via the compile flags.

[ci:skip-build] already built successfully in CI
2025-01-10 13:02:32 +01:00
Clayton Craft f365fca1b6 systemd/systemd-services: drop pulseaudio (MR 5142) (MR 5563)
PA is started automatically by its "autospawn" config thing, and it
works pretty well... if it crashes then it's automatically restarted if
needed, etc.

The included service/socket unit files never really worked,
PA started from systemd would always race with (and often to) PA autospawn.

The subpkg here also resulted in a packaging bug where both
pulseaudio-service and pw-pulse-service were installed at the same time,
because the `install_if` listed `pulseaudio`, and `pw-pulse` also
provides `pulseaudio`. The two unit things conflict with each other.

I did some initial investigation, and getting systemd to manage PA
seemed like too much work especially since autospawn is probably good
enough and we hope to move to pw audio later.

[ci:skip-vercheck]
2025-01-10 13:02:32 +01:00
Clayton Craft b7b67ab4f5 systemd/systemd-services: add wireplumber (MR 5142) (MR 5563) 2025-01-10 13:02:32 +01:00
Clayton Craft 9ce37b783e systemd: fork pipewire to build w/ systemd support (MR 5142) (MR 5563)
Unfortunately there are some code paths that are required to support
socket activation, and they are only enabled at build time with
-Dsystemd=enabled. On the bright side, service/socket unit files are
included...

Also note that I disabled test on armv7 since they fail in our CI using
qemu on x86_64. They pass in Alpine on native armv7.
2025-01-10 13:02:32 +01:00
Caleb Connolly d0e4e168a6 systemd: add udevd symlink (MR 5218) (MR 5563)
symlink systemd-udevd to /usr/bin/udevd for compatibility with eudev
(initramfs).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:32 +01:00
jane400 8c07ab2f00 systemd/systemd: don't force disable everything with presets (MR 5207) (MR 5563)
This changes it into a default disable.

`disable *` selects all units and hence overrides all previous presets.
Just using `disable` just changes the default unit enablement policy.
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:32 +01:00
Clayton Craft 69d00bc636 systemd/systemd-services: Add geoclue, gnome-clocks, iwd, mpris-proxy, mmsd (MR 5204) (MR 5563)
[ci:skip-build] already built successfully in CI
2025-01-10 13:02:32 +01:00
Clayton Craft afee55196c systemd/gnome-session: upgrade to 46 (MR 5148) (MR 5563)
fixes #2855
2025-01-10 13:02:32 +01:00
Dylan Van Assche c5cf9351da systemd/iio-sensor-proxy: allow AF_QIPCRTR (MR 5190) (MR 5563)
libssc requires QRTR protocol, allow it in systemd lockdown.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:32 +01:00
Clayton Craft 1395649bb2 systemd/gnome-shell-mobile: rebase on latest master changes (MR 5563)
See:
 - aaa7d267 temp/gnome-shell-mobile: rename extensions app to add "mobile" (MR 5176)
 - 5e865cde temp/gnome-shell-mobile: sync with upstream APKBUILD (MR 5176)
2025-01-10 13:02:32 +01:00
Clayton Craft e8ba615854 systemd/systemd-services: fix rtkit subpackage name (MR 5150) (MR 5563)
For the `install_if` to work correctly, the subpackage should be named
after the main package that provides the app... in this case it's called
"rtkit"

[ci:skip-build] already built successfully in CI
2025-01-10 13:02:31 +01:00
Clayton Craft e8dd451530 systemd/gnome-shell: actually build with systemd support (MR 5147) (MR 5563)
This was a total blunder by earlier me...

fixes !5115
2025-01-10 13:02:31 +01:00
Clayton Craft d9d7b8ba96 systemd/mutter,gnome-shell: disable crossdirect (MR 5115) (MR 5563)
Workaround since building for armv7 on x86_64 fails, see
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5115#note_1899890119

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2025-01-10 13:02:31 +01:00
Clayton Craft 8499909241 systemd/gnome-shell: fork to enable systemd support (MR 5115) (MR 5563)
fixes #2767

[ci:skip-vercheck]
2025-01-10 13:02:31 +01:00
Clayton Craft ac2bf3ad51 systemd/mutter: fork to enable systemd support (MR 5115) (MR 5563) 2025-01-10 13:02:31 +01:00
Clayton Craft bc953498e2 systemd/gnome-desktop: fork to enable systemd support (MR 5115) (MR 5563) 2025-01-10 13:02:31 +01:00
Clayton Craft 9c39fea9b0 systemd: use a more general install_if for x11 subpkg (MR 5118) (MR 5563)
[ci:skip-build] already built successfully in CI

xorg-server-common is a shared dep between xorg-server and xwayland, and
this tmpfile config is required for both to work. Without this tmpfile
config, Xwayland may fail to start. In the case of GNOME, this is a
fatal event.
2025-01-10 13:02:31 +01:00
Caleb Connolly 317692350b systemd/systemd-services: dconf: fix path (MR 5094) (MR 5563)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:31 +01:00
Caleb Connolly e3f8aa2665 systemd: linux-pam: upgrade to 1.6.0 (MR 5563)
following Alpine

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:31 +01:00
Bart Ribbers 5e14944ee5 extra-repos/systemd/kde*: upgrade to latest versions (MR 5068) (MR 5563)
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:31 +01:00
Clayton Craft 34abd3fcc6 extra-repos/systemd: add kbd dependency (MR 5074) (MR 5563)
This is required by systemd-vconsole-setup, which is currently
configured to run on boot (without kbd/loadkeys, the service crashes.)

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:31 +01:00
Oliver Smith 28c069faa3 systemd: fix "INSERT-REASON-HERE" comments (MR 5070) (MR 5563) 2025-01-10 13:02:31 +01:00
Oliver Smith e67ae3ef4f systemd/systemd-services: make shellcheck happy (MR 5070) (MR 5563)
Fix for:
  In systemd-services.trigger line 14:
      systemctl $cmd $service
                ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
2025-01-10 13:02:31 +01:00
Oliver Smith 3a305c47c5 systemd: remove various unreferenced files (MR 5070) (MR 5563)
Remove OpenRC specific files that were removed for the systemd-specific
forks.
2025-01-10 13:02:31 +01:00
Oliver Smith 771a926587 systemd/mutter-mobile: fix provides= (MR 5070) (MR 5563) 2025-01-10 13:02:31 +01:00
Oliver Smith 9174703761 systemd/gnome-shell-mobile: fix provides= (MR 5070) (MR 5563)
Should be =$pkgver-r$pkgrel instead of =$_pkgver-r$pkgrel. Otherwise CI
fails, and it is right, we do want to provide the very high version so
we don't install the regular package by accident if the regular package
gets upgraded before this forked version.
2025-01-10 13:02:31 +01:00
Oliver Smith af660ec0dd CI: test_kernel: skip linux-pam (MR 5070) (MR 5563)
The linux-pam package is not a linux kernel :)
2025-01-10 13:02:31 +01:00
Oliver Smith 97917f060f CI: directory-structure: add extra-repos/systemd (MR 5070) (MR 5563) 2025-01-10 13:02:31 +01:00
Oliver Smith 25b25d6504 editorconfig: add networkmanager.rules style (MR 5070) (MR 5563)
This is forked from Alpine. Keep the style to not increase the diff.
2025-01-10 13:02:31 +01:00
Bart Ribbers 77d9deb9fb extra-repos/systemd/kjournald: new aport (MR 5563) 2025-01-10 13:02:31 +01:00
Bart Ribbers cfe18cf422 extra-repos/systemd/plasma*: add initial systemd Plasma packages (MR 5563) 2025-01-10 13:02:31 +01:00
Oliver Smith 06d1177575 extra-repos/systemd/: move from systemd/ (MR 5563)
Let's put everything systemd related in an extra-repos directory, so it
is clear that the packages from here will end up in a separate, optional
binary package repository.
2025-01-10 13:02:31 +01:00
Oliver Smith 5a94643c99 systemd/xorg-server: set !check (MR 5563) 2025-01-10 13:02:31 +01:00
Oliver Smith 7bf8e741ac systemd/gnome-shell-mobile: drop caribou dep (MR 5563)
Remove it, like we did with temp/gnome-shell-mobile in pmaports master.
2025-01-10 13:02:30 +01:00
Sam Day b6990aa0d7 systemd-services: add phosh.service (MR 4904) (MR 5563) 2025-01-10 13:02:30 +01:00
Oliver Smith 29db09e313 systemd/postmarketos-base-systemd: depend on systemd-services (MR 5563)
Add the dependency, so the systemd-services package gets built as part
of the bootstrap. Otherwise no service files will be installed, as the
individual service files get pulled in via install_if, and that only
works if a binary package is available.
2025-01-10 13:02:30 +01:00
Alexander Martinz 4c473428b1 systemd/systemd-services: add rtkit-daemon.service (MR 5563)
Taken upstream from https://github.com/heftig/rtkit/blob/master/rtkit-daemon.service.in

Change-Id: I0ae6e1a70b961bafd52702a412a2cdcc12bb544a
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2025-01-10 13:02:30 +01:00
Caleb Connolly 56a3ce0d96 systemd/gnome-shell-mobile: add uclamp hack (MR 5563)
This is a hack to configure utilisation clamping for gnome-shell. It
works by telling the scheduler that the gnome-shell process should run
with a much higher performance level. This improve animation performance
and general UI smoothness. A proper solution to have gnome-shell manage
this itself is in the works upstream.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 92004cc6ed systemd/xorg-server: new aport (MR 5563)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly e3d6bb26eb systemd/upower: new aport (MR 5563)
Integrates with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 436bbea46d systemd/systemd-services: new aport (MR 5563)
A collection of systemd services.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
110a6d97b3 systemd/systemd: new aport (MR 5563)
Co-Authored-by: jane400 <pmos@j4ne.de>
Co-Authored-by: Caleb Connolly <caleb@postmarketos.org>
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly ba85c19be8 systemd/postmarketos-base-systemd: new aport (MR 5563)
postmarketOS base package with systemd stuff.
2025-01-10 13:02:30 +01:00
Caleb Connolly 29262fd5f1 systemd/polkit: new aport (MR 5563)
Integrates tightly with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 6c0121469b systemd/networkmanager: new aport (MR 5563)
Clayton says: integrates with systemd (logind)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 9ae322da87 systemd/mutter-mobile: new aport (MR 5563)
Integrates tightly with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly d7d6d635dc systemd/multipath-tools: new aport (MR 5563)
Builds against systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 88cb968dca systemd/linux-pam-systemd: new aport (MR 5563)
integrates with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 845c078254 systemd/gnome-shell-mobile: new aport (MR 5563)
Integrates tightly with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly a68625db68 systemd/gnome-settings-daemon: new aport (MR 5563)
Integrates tightly with systemd

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly f89f215516 systemd/gnome-session: new aport (MR 5563)
Integrates tightly with systemd

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly d433dc486d systemd/gnome-keyring: new aport (MR 5563)
Integrates tightly with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 78fa9ec4a0 systemd/gdm: new aport (MR 5563)
gdm integrates tightly with systemd, fork from aports to rebuild against
systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly faa4d96bf7 systemd/dbus: new aport (MR 5563)
Fork dbus and rebuild it with systemd support.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 9ec9df60a1 systemd/apk-tools: new aport (MR 5563)
For systemd (and our own sanity) we need to do the /usr merge. This fork
of apk-tools includes the logic to support alpine packages like tar
which install the main tar binary to /bin and then a symlink to
/usr/bin/...

We should find a way to implement this in upstream apk-tools, and
continue pushing Alpine to also adopt the merged /usr model.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly c1160e2271 systemd/alpine-base: new aport (MR 5563)
alpine-base hard depends on openrc... Fork it to drop this.

We should eventually upstream this by having alpine-base depend on a
virtual pid1 or init-system subpackage which openrc and systemd can both
provide.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 886cca10fd systemd/accountsservice: new aport (MR 5563)
Forked from alpine to rebuild with systemd support.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00
Caleb Connolly 4abb213344 systemd/abuild: new aport (MR 5563)
Fork of abuild with a default_service implementation for generating
-service subpackages.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:29 +01:00
Oliver Smith ab113c2013 pmaports.cfg: add repo:systemd section (MR 5563) 2025-01-10 13:02:29 +01:00
Clayton Craft ad04271709 gitlab/issue_template: add init system options (MR 6022) 2025-01-09 11:52:26 -08:00
Alexey Min 5d56a5da1f soc-qcom-sc8180x: remove nonexistent package from depends (MR 6019)
The qrtr-openrc package was removed in 94a777390c
but somehow still left in depends of this package.

Fix the errors like:

  ERROR: unable to select packages:
    qrtr-openrc (no such package):
      required by: soc-qcom-sc8180x-nonfree-firmware-openrc-1-r1[qrtr-openrc]

This is the one and only mention of qrtr-openrc package in pmaports.

P.S. It's very telling how many users sc8180x has, if this was unnoticed
for 8 months.

Signed-off-by: Alexey Min <alexey.min@gmail.com>
2025-01-09 22:42:24 +09:00
Aster Boese 2b4bfb1b1f linux-postmarketos-apple: upgrade to 6.13.0-rc6 (MR 6007) 2025-01-09 22:22:10 +09:00
postmarketOS CI c5cbc06608 linux-next: upgrade to next-20250109 2025-01-09 05:59:48 +00:00
postmarketOS CI c549e46126 linux-next: upgrade to next-20250108 2025-01-08 19:57:37 +00:00
Stanislav Jakubek 366f71d365 device-motorola-falcon: add support for newer lk2nd (MR 5994)
Generate extlinux config for newer lk2nd and switch to msdos partition type,
since lk2nd doesn't support GPT yet.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
[ci:skip-build]: already built successfully in CI
2025-01-08 23:09:11 +09:00
Matti Tyrväinen 27ba82d874 samsung-lt023g: add required deviceinfo lines from wiki page (MR 5993) 2025-01-08 22:17:17 +09:00
Dzmitry Sankouski 423a48e276 firmware-samsung-sdm845: add package (MR 6002)
firmware-samsung-sdm845 package provides firmware for Samsung Galaxy S9
SDM845 SoC based phone series.
2025-01-08 21:59:16 +09:00
Clayton Craft c0e8d4c816 main/postmarketos-ui-plasma-mobile: depend on udisks2 (MR 5998)
Fixes #3410

[ci:skip-build]: already built successfully in CI
2025-01-07 23:42:44 -08:00
Clayton Craft f23fa7efb0 kconfigcheck: input: only check HID_GOODIX_SPI on >=6.12 (MR 5997) 2025-01-08 00:27:49 +03:00
Clayton Craft e2743c573a kconfigcheck: input: drop some kconfig (MR 5997)
This drops some kconfig that was added in !5836, which shouldn't be
required for device kernels to comply with the "input" kconfig check.

HID_HYPERV_MOUSE: requires enabling HyperV guest support in the kernel,
we shouldn't impose this on all device kernels.

HID_KUNIT_TEST: No reason to enable kunit support, we aren't testing the
kernel with device kernels

SURFACE_HID: Requires enabling a bunch of Microsoft Surface platform
drivers/support, doesn't make sense to require for all device kernels.
Kernels that support Surface devices can enable these as needed, since I
don't think any non-surface devices would even have surface HID input hw
in them.
2025-01-08 00:27:44 +03:00
postmarketOS CI 22456748d4 linux-next: upgrade to next-20250107 2025-01-07 20:00:15 +00:00
Luca Weiss 17f0976e29 device/*: replace deprecated mtk_mkimage="true" values (MR 5995)
Replace this deprecated variable with the new equivalent.

[ci:ignore-count]
[ci:skip-build]: armv7 fails in CI (qemu instabilities w/ our runner),
Clayton verified checksums for armv7 stuff manually
2025-01-07 10:47:47 -08:00
Luca Weiss 4fff56942d device/*: remove unnecessary mtk_mkimage="false" values (MR 5995)
Like quite a few other values being set to false, this one has a default
of false so can be safely removed.
2025-01-07 10:58:40 +01:00
Clayton Craft e362b66af2 purism-librem5dev: archive (MR 6000)
This is the port for the Librem 5 devkit, I still have one but haven't
booted it in years and it's unlikely anyone else is using this (since
this port is super outdated and almost certainly not functional as-is).
Let's archive it so that it doesn't cause any confusion.

[ci:skip-vercheck]
[ci:skip-build]: we don't actually want to build test this thing
2025-01-07 09:09:15 +01:00
Clayton Craft 71d0b5d31e main/boot-deploy: upgrade to 0.18.1 (MR 5996) 2025-01-06 21:25:33 -08:00
Caleb Connolly 6ca9e65fb3 CI: kconfig: allow failure when updating kconfigcheck.toml (MR 5836)
When enabling new options in kconfigcheck, it's likely that some kernels
in pmaports will fail, but often undesirable to rebuild all the kernels
particularly when the options being enabled are for quality of life.

Adjust the rules for the kconfig check job in CI so that it will fail
with a warning in this case, but still fail with an error when an
updated kernel package doesn't pass.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-01-06 16:39:46 -08:00
Caleb Connolly 85503434af CI: use yaml anchors for common job rule (MR 5836)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-06 16:39:46 -08:00
Jonas Dreßler 2306f86373 kconfigcheck: Add all HID config options from Fedora aarch64 kernel (MR 5836)
Looks like a lot of HID drivers are missing from pmOS device-specific
kernels. Let's try to deal with it by enabling all the HID related
drivers that the Fedora aarch64 and x86 kernels enable.

[ci:skip-kconfig-check]: too many kernels fail from the new required
config here, it's unfeasible to update them all right now
2025-01-06 16:39:46 -08:00
postmarketOS CI c4733a80f3 linux-next: upgrade to next-20250106 2025-01-06 19:57:23 +00:00
Dzmitry Sankouski 52ee0146a8 device-samsung-starqltechn: FIT: remove initrd load address (MR 5990)
U-boot doesn't use initrd load address - it loads ramdisk image
at the end of bootm space. Remove inird load property.
2025-01-06 17:25:07 +00:00
Dzmitry Sankouski 54538d207a device-samsung-starqltechn: FIT: increase memory for Linux (MR 5990)
Recent kernel occupies 47120384 bytes in uncompressed state,
which is more than reserved memory for kernel
0x80000000 - 0x82800000 (40M).
Shift FDT image to give more memory space (56M) to load Linux.
2025-01-06 17:25:07 +00:00
Andreas Kemnade 79e0ea8f41 device-epson-embt2ws: Disable GPT (MR 5982)
Disable GPT to be able to chainload stuff on uSD from vendor u-boot on
internal eMMC. The vendor u-boot does not support GPT.
If booting is done by reprogramming the boot order or zeroing internal
bootloader, GPT is no problem.

[ci:skip-build]: already built successfully in CI
2025-01-06 14:59:22 +01:00
Jan Jasper de Kroon fb0be371ef linux-pine64-pinephonepro: fix notification LED behavior (MR 5991)
Enable CONFIG_LEDS_GROUP_MULTICOLOR as a module to fix issue #3424.
Previously, notifications triggered the torch flash instead of the
status indicator LED. This change allows proper use of the multicolor
LED driver, ensuring notifications utilize the status indicator LED.

[ci:skip-build]: already built successfully in CI
2025-01-06 14:15:32 +01:00
Oliver Smith 5c1d76962b cross/grub-efi-x86: upgrade to 2.12-r7 (MR 5986)
[ci:ignore-count]
[ci:skip-build]: does not pass in CI, known in pmb issue 2467. I'll
build all of them locally before merging.
2025-01-06 15:35:01 +03:00
Oliver Smith ada84d65b8 cross/musl-*: upgrade to 1.2.5-r9 (MR 5986) 2025-01-06 15:35:01 +03:00
Oliver Smith e59a0ad98f cross/gcc-*: upgrade to 14.2.0-r5 (MR 5986)
Done with pmbootstrap MR 2521.
2025-01-06 15:34:57 +03:00
Raihan Ahamed 09b2fb029f device-lenovo-kuntao: move to archived (MR 5984)
there is available qcom-msm8953 which is working with latest lk2nd fine on kuntao, but after flashing by building with device-lenovo-kuntao, it is resulting rebooting the system continuously with latest lk2nd, so imo it should be archived
2025-01-06 21:18:26 +09:00
Dylan Van Assche c3fc4ef89a main/mobile-config-thunderbird: new aport (MR 5968) 2025-01-05 22:35:11 -08:00
Johannes Krampf 8e0a56fd1d pine64-pinephone: fix u-boot user script load address (MR 5980)
Fixes #3414.

The package `device-pine64-pinephone-vccq-mod` installs a u-boot user script.
The user script was loaded at address 0x50700000 partially overwriting
the initramfs (0x4FF00000-0x50883fd1), and causing a boot loop.

The user script load address was increased to 0x50f00000, leaving 16MB
of free space for the initramfs, the current initramfs size is 9.52MB.

Tested: Build and install package on Pinephone 1.2a running PMOS 24.12.
[ci:skip-build]: already built successfully in CI
2025-01-05 13:46:07 +01:00
Andreas Kemnade 725cd09e9d device-kobo/tolino: workaround GPT handling bug in pmbootstrap (MR 5977)
Bootloader needs to be at 0x400 for IMX6 devices. That is ignored by
pmbootstrap which places the GPT header there. Revert to msdos partition
table style to workaround that bug.
2025-01-05 17:02:20 +09:00
Raihan Ahamed 609f3a5544 device-xiaomi-surya: add kernel subpackage (MR 5983)
for different panel variants, huaxing and tianma

fixes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3421
2025-01-04 21:35:59 +05:30
User0 a582db9591 linux-samsung-loganrelte: fix ssh over usb (MR 5975) 2025-01-04 15:44:17 +00:00
User0 06bbebcfe6 device-samsung-loganrelte: add display support (MR 5975)
[ci:skip-wiki]
2025-01-04 15:44:17 +00:00
Aster Boese 58d05acb35 linux-postmarketos-apple: make myself maintainer (MR 5978) 2025-01-05 00:11:34 +09:00
Aster Boese 035cdeddc8 apple-n61: rename from apple-iphone6 and make myself maintainer (MR 5978) 2025-01-05 00:11:34 +09:00
Nikita Travkin 0682021692 main/dtbloader: upgrade to 1.3.0 (MR 5981) 2025-01-04 17:29:33 +05:00
User0 7f6f72f7e9 samsung-loganrelte: new device (MR 5973)
What works:
* Flashing with heimdall and a SD card
* Networking over USB
* SSH over USB
* Splash screen (when booting from charging screen)

What doesn't work:
* Any other UI than "none" (they boot, but no graphics and no SSH)

Steps to flash:
* pmbootstrap init # Select samsung-loganrelte, select "none" as UI
* pmbootstrap build linux-samsung-loganrelte
* pmbootstrap build device-samsung-loganrelte
* pmbootstrap install --sdcard=/dev/sdX # doesn't boot from internal storage
* pmbootstrap flasher flash_kernel
2025-01-03 14:44:06 +00:00
Raymond Hackley 691a9b3dc6 samsung-fortuna: fix WCNSS NV config filename (MR 5957) 2025-01-03 23:29:28 +09:00
Frank Oltmanns 399121b800 linux-postmarketos-qcom-sdm845: Work-around call audio regressions (MR 5966)
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 and log the rprocs in use until we better
understand what causes the issue.

Link: pmaports#3353
Link: pmaports#3320
Link: pmaports#3245
Link: pmaports#3253

Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
[ci:skip-build]: already built successfully in CI
2025-01-03 12:58:48 +01:00
Robert Mader 749904dd49 temp/libcamera: upgrade to 0.4.0 (MR 5948)
- drop some upstreamed patches
- add some tuning files with black levels

Release notes:
https://gitlab.freedesktop.org/camera/libcamera/-/releases/v0.4.0
2025-01-03 16:56:07 +09:00
Willow Barraco 33a86abe90 temp/conky: remove (MR 5967)
[ci:skip-build]: already built successfully in CI
2025-01-02 13:40:01 +01:00
Willow Barraco 6815bc8e3b main/postmarketos-ui-sxmo-de-sway: remove conky version constraint (MR 5967) 2025-01-02 13:39:58 +01:00
Willow Barraco 0f71ce1308 main/postmarketos-ui-sxmo-de-dwm: remove conky version constraint (MR 5967) 2025-01-02 13:39:54 +01:00
fossdd b2a684a49a main/postmarketos-base: set ANSI_COLOR in os-release (MR 5970)
For example systemd makes use of the color for the presentation color
when showing the OS name on the console
2025-01-02 05:32:02 +03:00
Clayton Craft c916869512 firmware-lenovo-21bx: drop bluetooth fw (MR 5963)
This is now in linux-firmware-qca
2025-01-01 12:05:42 +03:00
Barnabás Czémán a09ed3862b device-qcom-msm89x7: new device (MR 5693)
Replace xiaomi-riva and xiaomi-santoni device package with
this generic package.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-12-31 16:43:16 -08:00
Barnabás Czémán 5c91232144 soc-qcom-msm89x7: add initial soc package for msm89x7 devices (MR 5693) 2024-12-31 16:43:16 -08:00
Barnabás Czémán b61da3a499 linux-postmarketos-qcom-msm89x7: new package (MR 5693) 2024-12-31 16:43:16 -08:00
Ferass El Hafidi 45fcfc14ce bananapi-bpi-cm4-cm4io: new device (MR 5962)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-12-31 16:36:53 -08:00
Clayton Craft dcc527966d main/boot-deploy: use busybox sh (MR 5960)
boot-deploy uses 'local', which technically isn't POSIX-compliant
and if someone has 'sh' from something else that strictly adheres to
POSIX then boot-deploy will fail.
This is a workaround for https://gitlab.postmarketos.org/postmarketOS/boot-deploy/-/issues/38

[ci:skip-build]: already built successfully in CI
2024-12-31 10:58:25 -08:00
Stephan Gerhold 755132f651 main/postmarketos-initramfs: skip mounting /boot if rootfs is in fstab (MR 5920)
There is a special check in init_2nd.sh for older postmarketOS
installations that do not have a valid /etc/fstab file. When /boot does not
appear in fstab, it searches for the boot partition and mounts it manually.

However, /boot might be intentionally omitted in fstab, e.g. because we
just have a single rootfs partition that also contains /boot. In that case
it will wait forever, trying to find the missing boot partition.

The old installations do not have any entries in fstab, so fix this by
checking if the file is empty instead (with all comments and whitespace
removed).
[ci:skip-build]: already built successfully in CI
2024-12-30 15:46:02 -08:00
Stephan Gerhold 2965a659c8 Revert "main/postmarketos-initramfs: mount subpartitions if root or boot is missing (MR 5625)" (MR 5920)
This reverts commit 1259d74b09.

The main reason why that change was necessary is because we skipped
mounting subpartitions entirely if we found a potential root partition
(which could be simply a crypto_LUKS partition from a different distro).
Now that we look only for the actual root partition (based on the UUID),
this should not happen anymore.

Checking both conditions causes delays if there is no boot partition,
e.g. if pmOS was installed with --single-partition. Usually we don't need
to mount the boot partition anymore, because all needed files are part of
the initramfs. So let's drop the check for the boot partition again and
rely on the UUIDs to ensure we set up the correct partitions.
2024-12-30 15:46:01 -08:00
Stephan Gerhold 033d5f7985 main/postmarketos-initramfs: mount root partition we unlocked (MR 5920)
When using an encrypted installation of postmarketOS, the pmos_root_uuid=
on the cmdline only tells us the UUID of the crypto_LUKS partition. Once
the partition is unlocked, we perform the the old unreliable auto detection
again. This might mount the wrong partition if multiple installations of
pmOS are attached to the system.

After we unlock the root partition, we know exactly where the root
partition is supposed to be (= at /dev/mapper/root). Let's use that
directly instead of going through the whole detection sequence again.
2024-12-30 15:46:01 -08:00
Stephan Gerhold e5a1370ddd main/postmarketos-initramfs: don't fallback looking for root when given UUID or path (MR 5920)
Right now we fallback to the old behavior of searching for the "pmOS_root"
label when the root partition specified by pmos_root_uuid= on the cmdline
is not found. This works fine most of the time, but there are edge cases in
which this does not behave correctly. Problems occur especially if there
are multiple installations of pmOS (e.g. one on internal storage, and one
on USB drive/SD card). Depending on timing or enumeration order, the system
might boot into the wrong rootfs if the intended root partition shows up
too late.

For the boot partition we already enforce the UUID provided on the cmdline.
Let's apply the same for the root partition to ensure we always boot into
the correct root partition.
2024-12-30 15:46:01 -08:00
Jan Jasper de Kroon 0af3cf8732 device-pine64-pinephonepro: update keyboard config paths (MR 5956)
Update paths to keyboard configuration files to reflect PinePhone's
move from main to community device category.

[ci:skip-build]: already built successfully in CI
2024-12-29 19:39:54 +01:00
Anjandev Momi d48e3c3f8c kconfigcheck.toml: add comment explaining CONFIG_CRYPTO_MD4 (MR 5951)
[ci:skip-build]: already built successfully in CI
2024-12-29 12:16:21 +01:00
Alexandre Messier 848ea1fc81 device-htc-m8: enable initfs_extra for downstream kernel (MR 5919)
The full initramfs is now too big for the boot partition.

When building with the downstream kernel, use initfs-extra
to split the initramfs so it can fit again.

This is not an issue with mainline kernel since booting it
uses extlinux with lk2nd.

[ci:skip-vercheck]

Signed-off-by: Alexandre Messier <alex@me.ssier.org>
[ci:skip-build]: already built successfully in CI
2024-12-28 09:40:50 +01:00
Alexandre Messier 710b9f8499 device-htc-m8: add lk2nd dependency (MR 5919)
Like most msm8974 devices, lk2nd is used to boot mainline linux on the
HTC One (M8).

Add it as a dependency of the mainline kernel build, so that it is built
when required. It can be flashed with 'pmbootstrap flasher flash_lk2nd'
while in the vendor bootloader fastboot mode.

Only extlinux mode is supported for mainline kernel, as otherwise the
initramfs is too big for the boot partition.

Signed-off-by: Alexandre Messier <alex@me.ssier.org>
2024-12-28 09:40:50 +01:00
Alexandre Messier 85c25d0c1c main/lk2nd: add support for HTC One (M8) (MR 5919)
To support the HTC One (M8), a new specific target is required
since it needs non-default values for mkbootimg.

Signed-off-by: Alexandre Messier <alex@me.ssier.org>
2024-12-28 09:40:47 +01:00
Duje Mihanović b18635e940 device-samsung-coreprimevelte: add touchscreen driver to initfs (MR 5952)
Add the imagis and 88pm886_regulator drivers to the initfs allowing the
software keyboard in the debug shell to work.

[ci:skip-build]: already built successfully in CI
2024-12-28 09:30:13 +01:00
Duje Mihanović d8eb869d12 firmware-samsung-pxa1908: depend OpenRC service on downstream subpackage (MR 5952)
Otherwise the service will be installed even if the mainline kernel is
selected.

Fixes: f59eac28b ("firmware-samsung-pxa1908: move openrc scripts to subpackage (MR 5688)")
2024-12-28 09:30:12 +01:00
Duje Mihanović 00ca589beb linux-samsung-coreprimevelte: upgrade to 6.13_rc4 (MR 5952) 2024-12-28 09:30:12 +01:00
Duje Mihanović dfdc8d2f9e device-samsung-coreprimevelte: use U-Boot (MR 5952)
Convert the device package to use U-Boot.

The U-Boot binary is gzipped and put into a U-Boot legacy uImage to
match what the factory bootloader's demands. The postmarketOS kernel,
initramfs and device tree are packed into a FIT and passed to U-Boot as
an initramfs.
2024-12-28 09:30:12 +01:00
Duje Mihanović bb7a87b47b u-boot-coreprimevelte: new aport (MR 5952)
Package U-Boot fork for samsung-coreprimevelte.
2024-12-28 09:30:12 +01:00
exkc 39830ce2f3 linux-postmarketos-marvell-dove: drop aport in favour of linux-postmarketos-marvell (MR 5938) 2024-12-28 14:02:14 +09:00
exkc 58ffcc6bd1 device-linksys-shelby: new device (MR 5938) 2024-12-28 14:02:14 +09:00
exkc a4b2fa217a device-solidrun-cubox: use linux-postmarketos-marvell kernel (MR 5938) 2024-12-28 14:02:04 +09:00
exkc bb5eb76814 linux-postmarketos-marvell: new aport (MR 5938)
Basically linux-postmarketos-marvell-dove but with fellow changes :

1. Added support for other marvell SoC

2. The local version has been changed to -postmarketos-marvell

3. Several redundant USB controller driver has been removed

4. CONFIG_SATA_MV is seted to y

5. fbdev is disabled

6. CONFIG_ZRAM_BACKEND_ZSTD it enabled
(due to kconfig config but i also enabled CONFIG_ZRAM_BACKEND_LZ4 and
others)

7. neon is enabled
2024-12-28 14:02:04 +09:00
hexaheximal 501db74b86 odroid-c4: new device (MR 5949) 2024-12-27 21:58:02 +09:00
Benjamin Valentin 1eab02a18d lk2nd-msm*: set partition type to msdos (MR 5945)
[ci:skip-build]
2024-12-26 20:29:23 -08:00
hexaheximal f7416c06d5 odroid-n2plus: new device (MR 5950) 2024-12-26 16:20:53 -05:00
Vitalii Skorkin 6587348337 temp/iio-sensor-proxy: increase delay (MR 5941)
On miatoll hexagonrpcd takes longer time to start
2024-12-26 17:39:11 +03:00
Vitalii Skorkin 6b1f3b752c device-xiaomi-miatoll: add dependencies for modem, sensors, wifi and gpu (MR 5941)
Add soc-qcom-sm7125, firmware-xiaomi-miatoll, hexagonrpcd as dependency.
This necessary to make Wi-Fi, Sensors, GPU and modem work.
Split device package to support panel variants and take
maintainership.
2024-12-26 17:39:07 +03:00
Vitalii Skorkin 259e574f49 soc-qcom-sm7125: add alsa ucm subpackage and drop pd-mapepr (MR 5941)
pd-mapper is now built into the kernel, so we don't need userspace pd-mapper
2024-12-26 17:39:02 +03:00
Vitalii Skorkin cedffcc304 firmware-xiaomi-miatoll: new aport (MR 5941) 2024-12-26 17:38:59 +03:00
Vitalii Skorkin 9cd58cd988 linux-postmarketos-qcom-sm7125: upgrade to 6.12.1 (MR 5941)
Upgrade linux-postmarketos-qcom-sm7125 to 6.12.1 and take
maintainership
2024-12-26 17:38:55 +03:00
Clayton Craft c8b58685f6 linux-valve-jupiter: fix checksum for config file
fixes !5943

[ci:skip-build]: already built successfully in CI
2024-12-24 11:59:49 -08:00
Arnav Singh 0bcce70122 device-pine64-pinephone: drop modem autorecovery udev rule (MR 5935)
eg25-manager 0.5.2 seems to be able to bring back the modem on its own again,
so this hack is no longer necessary.

[ci:skip-build]: already built successfully in CI
2024-12-24 14:35:37 +01:00
Hendra Manudinata a667218fa6 device-samsung-j4lte: remove unneeded kernel cmdline (MR 5936)
postmarketOS does not utilize SELinux. Besides, Samsung bootloader will
ignore cmdline from the boot image, anyway.
2024-12-24 21:15:53 +09:00
Hendra Manudinata bfdbb4a3a3 testing/device-samsung-j4lte: New device (MR 5936)
Successfully built and booted postmarketOS on Samsung Galaxy J4.
It's based on Exynos 7570, same SoC used by samsung-xcover4lte [1].

Currently, these are tested working:

  - Boots from internal storage
  - Display (console framebuffer is NOT working, kernel panics)
  - Framebuffer (additionally with msm-fb-refresher to refresh the screen)
  - Touchscreen
  - USB Networking (RNDIS)
  - Wi-Fi

Tested UI environments:

  - XFCE 4
  - Console (Kernel log doesn't show up because
    `CONFIG_FRAMEBUFFER_CONSOLE` is not enabled, but enabling it panics
    the kernel. This is a known issue for some Samsung devices, notably
samsung-crownlte [2].)

[1] https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Xcover_4_(samsung-xcover4lte)

[2] https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Note_9_(Exynos)_(samsung-crownlte)#Current_status
2024-12-24 21:14:59 +09:00
Anjandev Momi d506dbcb30 kconfigcheck: enable CRYPTO_MD4 for iwd (MR 5943)
see: #3386

[ci:skip-build]
2024-12-24 13:06:32 +01:00
Oliver Smith 7c7af9e1cd gitlab/issue_templates: add EOL for v24.06 2024-12-23 18:28:35 +01:00
Oliver Smith 671d61e642 channels.cfg: mark v24.12 as released \o/ 2024-12-23 18:17:21 +01:00
iAboothahir da2153b244 device-asus-x00td: generate extlinux config (MR 5937)
set deviceinfo_flash_kernel_on_update=true &&
set deviceinfo_generate_extlinux_config=true

Signed-off-by: iAboothahir <aboothahirpkd@gmail.com>
2024-12-23 16:21:30 +03:00
Jakob Hauser 7bf4268dfa main/postmarketos-ui-lxqt: save and restore brightness on boots (MR 5933)
LXQt 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.
2024-12-23 15:37:35 +03:00
Jakob Hauser dbf55cdb9d main/postmarketos-ui-lxqt: separate openrc and main post-install scripts (MR 5933) 2024-12-23 15:37:31 +03:00
Anjandev Momi c31bc1a1be community/linux-postmarketos-qcom-laptop: enable CRYPTO_MD4 (MR 5923)
closes #3386

Needed to fix eduroam iwd on qcom laptots. This config option used to be enabled on v24.06.
[ci:skip-build]: already built successfully in CI
2024-12-22 13:18:17 +01:00
Clayton Craft 3d1f84a2c8 device-pine64-pinephone: fix hw keys in the initramfs (MR 5931)
fixes #3384

[ci:skip-build]: already built successfully in CI
2024-12-20 16:26:10 -08:00
Adam Thiede 202d2d2154 linux-postmarketos-mediatek-mt8173: upgrade to 6.12.6 (MR 5929)
[ci:skip-build]: already built successfully in CI
2024-12-20 23:31:17 +01:00
postmarketOS CI dc2390e848 linux-next: upgrade to next-20241220 2024-12-20 19:56:22 +00:00
Ferass El Hafidi 38f522f798 device-postmarketos-trailblazer: drop deviceinfo_getty (MR 5926)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi 5ee51e105b device-postmarketos-trailblazer: add some modules for amlogic (MR 5926)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi 98605bb2d5 device-postmarketos-trailblazer: add myself as co-maintainer (MR 5926)
I want to help maintaining this generic device port.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi 42560daf68 device-postmarketos-trailblazer: add a few more kernels (MR 5926)
Kernels added:
* linux-edge
* linux-lts
* linux-postmarketos-amlogic
* linux-postmarketos-qcom-laptop

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Richard Acayan dda11062b5 alsa-ucm-conf-qcom-sdm670: upgrade to 1.2.9_git20241211 (MR 5918)
[ci:skip-build]: already built successfully in CI
2024-12-20 18:15:31 +01:00
Sicelo A. Mhlongo f5b4473346 device-nokia-n900: move xdefaults to x11 subpackage (MR 5930)
The xdefaults file is not i3wm-specific, but can be used with any X11 UI the
user may want to try

[ci:skip-build]: already built successfully in CI
2024-12-20 15:31:26 +00:00
Sicelo A. Mhlongo 86fb190a34 device-nokia-n900: lock.sh: query touchscreen instead of display (MR 5930)
lock.sh is only reliable when used with i3wm, where we disable gpio_keys from
being handled by X/i3wm. When this is not done (e.g. when testing a different
X11 UI), the script becomes unreliable since the display turns on due to the
SCREENLOCK key being toggled, and therefore only the display=on case is ever
run.

Improve reliability of the script by basing the decision making on the
enabled/disabled state of the touchscreen instead.
2024-12-20 15:31:26 +00:00
Luca Weiss ccb0e43a6f linux-postmarketos-qcom-sm6350: upgrade to 6.12.4 (MR 5904)
[ci:skip-build]: already built successfully in CI
2024-12-20 16:15:58 +01:00
Oliver Smith ad0d82fbec device-pine64-pinephone: set partition_type=msdos (MR 5928)
Current pinephone images built pmbootstrap >= 3.0.0 don't boot on the
pinephone anymore. At least part of this must be the switch from GPT to
MBR that has been done by default in pmbootstrap. Set msdos explicitly
to revert this for the pinephone.

With Tow-Boot we could probably use GPT instead, but this should be a
well-tested, concious decision. Let's fix this regression first.

[ci:skip-build]: already built successfully in CI
2024-12-20 10:47:05 +01:00
postmarketOS CI 700dd6d775 linux-next: upgrade to next-20241219 2024-12-19 20:06:10 +00:00
Sicelo A. Mhlongo a092ed546a linux-postmarketos-omap: make AES builtin (MR 5925)
With AES built as a module, it is not possible to unlock the rootfs, at least
on the Nokia N900.

[ci:skip-build]: already built successfully in CI
2024-12-19 11:58:58 +02:00
panpantepan 8b455932f8 xiaomi-nabu: new device (MR 5804)
This adds Xiaomi Pad 5, it uses a close to mainline kernel on 6.12.0
the firmware is packaged and supported, although hexagonrpcd is not working yet.
this is a continuation from
https://github.com/map220v/postmarket_xiaomi_nabu/tree/test
updating its config and updating its components.
i based the hexagonrpcd bringup from xiaomi-elish and google-sargo

[ci:skip-build]: already built successfully in CI
2024-12-19 06:20:49 +03:00
Clayton Craft ec7a77f764 community/linux-postmarketos-allwinner: enable USB ACM module (MR 5922)
Allows using allwinner devices with usb devices that implement ACM (3d
printers, serial things, etc)
2024-12-18 17:47:39 -08:00
Android Piepaint 579b65d848 apple-tonga: new device (MR 5913) 2024-12-18 21:23:32 +09:00
postmarketOS CI 8f41b81707 linux-next: upgrade to next-20241218 2024-12-18 05:58:06 +00:00
Stephan Gerhold 35c98d44a8 main/postmarketos-initramfs: add cmdline to expose specific USB storage (MR 5912)
In addition to the pmos.debug-shell cmdline argument, add
pmos.usb-storage=<block-device> to set up the USB mass storage gadget by
default when going into debug shell. This allows building a special boot
image/option that directly exposes the storage for flashing, without having
to type in extra debug-shell commands.
2024-12-17 23:24:15 +03:00
Stephan Gerhold ce05d2d8ff main/postmarketos-initramfs: unify setup_usb_storage (MR 5912)
Right now we have two similar implementations of setting up a USB mass
storage gadget, in init_functions.sh and as separate script for the
debug-shell. Given that init_functions.sh is available in debug-shell
anyway, unify both in a common setup_usb_storage_configfs() function.

Having this included in the initramfs debug-shell by default (without
installing postmarketos-mkinitfs-hook-debug-shell) also simplifies
recovery, since you can set up the USB storage for repairing the flashed
postmarketOS installation in case of boot failures. The size overhead is
minimal, since this has no extra dependencies.
2024-12-17 23:24:15 +03:00
Alexey Min 854b37b98a device-xiaomi-clover: generate extlinux config (MR 5914)
So it can be booted using U-Boot bootstd method.

Signed-off-by: Alexey Min <alexey.min@gmail.com>
2024-12-17 22:52:46 +03:00
Alexey Min 6ea3a6db14 device-xiaomi-lavender: generate extlinux config (MR 5914)
So it can be booted using U-Boot bootstd method.

Signed-off-by: Alexey Min <alexey.min@gmail.com>
2024-12-17 22:52:32 +03:00
postmarketOS CI cad5fcbbe3 linux-next: upgrade to next-20241217 2024-12-17 05:59:47 +00:00
Oliver Smith 0260dfaa85 purism-librem5: move from main to community (MR 5911)
[ci:skip-vercheck], [ci:skip-build]: moving devices
2024-12-16 23:44:40 +01:00
Oliver Smith 230d684eee pine64-pinephone: move from main to community (MR 5911) 2024-12-16 23:23:44 +01:00
cosmo aa7eb4ed77 device-fairphone-fp5: add unl0kr quirk (MR 5910)
Added a config file to /etc/unl0kr.conf.d/ to fix issue with unl0kr
being invisible during boot.

Commit-Msg-Tweaked-By: Oliver Smith <ollieparanoid@postmarketos.org>
2024-12-16 23:12:28 +01:00
Caleb Connolly f261f55ea7 linux-postmarketos-qcom-sdm845: upgrade to 6.13-rc2 (MR 5902)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-12-16 23:06:29 +01:00
Stephan Gerhold f9174c6d05 main/postmarketos-initramfs: resize btrfs after mount (MR 5844)
BTRFS only supports online resizing. Right now we implement that by
temporarily mounting the file system, resizing it, and then unmounting it
again. But most of this is redundant since we mount the rootfs at /sysroot
immediately after.

Avoid this by splitting the file system resizing in offline resize (before
mount) and online resize (after mount) and resize BTRFS after mounting
/sysroot. For EXT4 we can either do offline resizing or online resizing.
Keep offline resizing for now for better compatibility with older kernels.
F2FS does not seem to support online resizing, so we need to keep the
functionality for offline resizing anyway.

Drop the splash for now, since it would introduce flickering on each boot.
We can restore it later if needed (ideally by adding a way to update the
splash message without restarting pbsplash).
2024-12-16 22:55:44 +01:00
Stephan Gerhold 8e2ce06af5 main/postmarketos-initramfs: don't resize ext4 with fsck errors (MR 5844)
Right now we use the resize2fs -f (force) option, which "Forces resize2fs
to proceed with the filesystem resize operation, overriding some safety
checks which resize2fs normally enforces." For example, this flag instructs
resize2fs to attempt resizing file systems with errors in some situations.

We primarily care about resizing the file system on initial boot, where we
shouldn't have any errors in the file system. For all other subsequent
boots, we shouldn't risk the filesystem data just to resize it again.
So let's drop the -f flag and only resize clean file systems.
2024-12-16 22:55:44 +01:00
Stephan Gerhold 892d5bb14f main/postmarketos-initramfs: always resize rootfs during boot (MR 5844)
At the moment, the root file system is only resized to span the entire
partition if we previously also resized the partition itself. However, if
a rootfs image without subpartitions is flashed to a pre-existing partition
this means that the installation only has very limited space available
without manual resizing.

Such a setup is used for devices using the "fastboot-bootpart" flasher
(e.g. asus-me176c), where boot and root images are flashed to two separate
partitions and the device boots directly from the boot partition.

Avoid this problem on these devices by always resizing the root file system
on each boot. All the resize tools exit early if the file system is already
expanded to the maximum size. It's faster to call resize2fs unconditionally
instead of manually checking if the file system needs resizing before.
Similar tooling like systemd-growfs also resizes unconditionally.
2024-12-16 22:55:39 +01:00
postmarketOS CI 839037e0d6 linux-next: upgrade to next-20241216 2024-12-16 19:59:39 +00:00
Oliver Smith da9d2f95e5 cross/busybox-static-*: upgrade to 1.37.0-r10 2024-12-15 12:36:04 +01:00
Raymond Hackley 3d7ac0d51a samsung-rossa: rename device from cprime and maintain (MR 5865)
[ci:skip-build]: already built successfully in CI
2024-12-15 08:32:17 +01:00
Raymond Hackley b4f94a4621 samsung-fortuna: simplify backwards compatibility (MR 5908)
[ci:skip-build]: already built successfully in CI
2024-12-15 08:18:17 +01:00
Fiona Klute 1b83a7647e main/postmarketos-base-ui: Fix growing number of tethering unudhcpd instances (MR 5905)
/usr/lib/NetworkManager/dispatcher.d/50-tethering.sh had a typo in the
"killall" command in the "disable_tethering" function, leading to it
never stopping any unudhcpd process. As a new instance is started each
time a USB cable is connected, so the number of instances kept growing
until reboot. Fix the typo so any old unudhcpd instance is actually
stopped before starting a new one.

To illustrate the bug, a sample with an uptime of 4 days:

$ ps w | grep unudhcpd
 2467 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 5009 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 5525 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 6360 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 7271 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 9356 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
11045 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
14779 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
15696 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
17454 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
19119 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
24729 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
25565 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
25691 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
27417 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
30649 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
31690 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
[ci:skip-build]: already built successfully in CI
2024-12-13 16:46:10 -08:00
Caleb Connolly 3becd343af soc-qcom-sdm845: update alsa UCM configs (MR 5901)
* reduce op6 default earpiece volume
* add symlinks to enable audio when booting with u-boot

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-13 09:37:44 +01:00
postmarketOS CI a236a9cce4 linux-next: upgrade to next-20241213 2024-12-13 05:59:45 +00:00
Oliver Smith e195bc11d9 main/postmarketos-artwork: set wallpaper: Dawning (MR 5900)
Related: https://fosstodon.org/@postmarketOS/113624366198561582

[ci:skip-build]: already built successfully in CI
2024-12-12 23:14:02 +01:00
Oliver Smith 22087e93c6 main/postmarketos-ui-gnome-mobile: fix gnome-mobile-extensions-app dep (MR 5899)
Fix the bug that prevented "pmbootstrap install" from working with
postmarketos-ui-gnome (not -mobile).

This bug has been here in pmaports for a long time, but until recent
changes in apk's resolver code, this did not fail (apk installed
gnome-extensions-app instead of gnome-mobile-extensions-app in that
scenario).

How it happened:
* postmarketos-ui-gnome has _pmb_recommends="gnome-extensions-app".
* pmbootstrap: pmb.install._install.get_recommends() works like this:
  1. Look at the packages i in _pmb_recommends of the packages that
     will be installed in "pmbootstrap install".
  2. For each package j in _pmb_recommends of i:
    2.1 Add all packages in j's _pmb_recommends to the list of
        packages to be installed.
    (2.2 Recurse by doing 1. with each package in j's _pmb_recommends.)
* In step 2:
  * pmaports doesn't have a gnome-extensions-app (it's in Alpine, a
    subpackage of gnome-shell).
  * Therefore our gnome-shell-mobile fork gets looked at, which has a
    gnome-mobile-extensions-app subpackage that provides
    gnome-extensions-app.
  * pmbootstrap looks at the _pmb_recommends of the gnome-shell-mobile
    package, which has "gnome-mobile-extensions-app" (this is wrong,
    it should be in postmarektos-ui-gnome-mobile instead and this patch
    fixes this!).
  * pmbootstrap adds the "gnome-mobile-extensions-app" to the list of
    packages to be installed.
* The result is an "apk add" line that has "postmarketos-ui-gnome" and
  "gnome-mobile-extensions-app" (and more packages), which results in a
  conflict betwen gnome and gnome-mobile packages.

Fixes: issue 3360
[ci:skip-vercheck]: _pmb_recommends changes don't need package rebuilds
[ci:skip-build]: already built successfully in CI
2024-12-12 22:01:59 +01:00
Raymond Hackley ccdf640439 main/postmarketos-base: add udev rules for imagis touchkey (MR 5358)
[ci:skip-build]: already built successfully in CI
2024-12-12 20:41:40 +01:00
Raymond Hackley 38691ceffa main/postmarketos-base: update comments in zinitix udev rules (MR 5358) 2024-12-12 20:41:40 +01:00
adamthiede 7f02b78afd postmarketos-base-ui-gnome: replace power-profiles-daemon dependency (MR 5820)
replace power-profiles-daemon with virtual package

[ci:skip-build]: already built successfully in CI
2024-12-12 20:37:49 +01:00
Stefan Hansson 52f58a9c09 linux-purism-librem5: upgrade to 6.6.63 (MR 5898)
[ci:skip-build]: already built successfully in CI
2024-12-12 20:22:50 +01:00
postmarketOS CI c74fd5fd85 linux-next: upgrade to next-20241212 2024-12-12 05:57:51 +00:00
Ferass El Hafidi cd1599baf8 testing/u-boot-librecomputer-lafrite: remove (MR 5897)
lafrite has u-boot in SPI already

it also prevents lafrite from booting because pmbootstrap uses GPT partitioning now.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-11 17:51:17 -08:00
Jan Jasper de Kroon 948ed6c7b9 linux-postmarketos-pinephonepro: upgrade to 6.11.11 (MR 5855)
[ci:skip-build]: already built successfully in CI
2024-12-11 20:48:28 +01:00
Jack Knightly 4059957c69 device-samsung-{m0,m3,t03g,t0lte}: add camera flash udev rule subpackage (MR 5888)
[ci:skip-build]: already built successfully in CI
2024-12-11 16:21:42 +01:00
Jack Knightly 02f54fca6f exynos4412: add udev rule for camera flash (MR 5888) 2024-12-11 16:21:42 +01:00
Jack Knightly 52d5adb068 linux-postmarketos-exynos4: add camera configs (MR 5888) 2024-12-11 13:41:15 +01:00
Cedric Busacker c38afdc20a samsung-kminilte: fix flashing via heimdall (MR 5890)
Fixes the problem that BOOT partition is only 10 MB big while boot.img is 13 MB now.
Also heimdall was stuck at 7% with the sparse flag this gets fixed.

[ci:skip-build]: already built successfully in CI
2024-12-11 12:46:14 +01:00
Oliver Smith c513182c82 gitlab/issue_template: add v24.12 2024-12-11 09:16:18 +01:00
Oliver Smith 0431845a82 main/postmarketos-release-upgrade: upgrade to 1.8.0 (MR 5894)
[ci:skip-build]: already built successfully in CI
2024-12-11 08:35:48 +01:00
postmarketOS CI aec1f74992 linux-next: upgrade to next-20241211 2024-12-11 05:59:41 +00:00
postmarketOS CI cd2778a888 linux-next: upgrade to next-20241210 2024-12-10 20:15:40 +00:00
Hendra Manudinata f0c4755878 testing/firmware-samsung-a51: Move a51 specific blobs to its own directory (MR 5887)
As @grimler stated in MR !5887 (comment) [1], samsung-jackpotlte,
samsung-xcover4lte, and samsung-a30 share the same name for Wi-Fi
proprietary blobs, and packaged in their own specific firmware package.

The problem is these firmware packages put files in the same directory
as `firmware-samsung-a51`: /lib/firmware/postmarketos/mx140/. This opens
up the probability of conflicting blobs when multiple firmware packages
are installed on the system, resulting in wrong blobs used.

To ensure that this firmware is located in its own directory, move
`samsung-a51` blobs into its own subdirectory. This way, `a51` blobs
will stay intact whether multiple firmware packages are installed.

[1] https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5887#note_459185
2024-12-10 11:57:13 +01:00
Hendra Manudinata 6a01b409c3 testing/device-samsung-a51: New device (MR 5887)
Successfully built and booted postmarketOS on Samsung Galaxy A51. It's based on Exynos 9611 SoC.

Currently, these are tested working:

- Boots from internal storage
- Display (DECON driver needs to be patched. Included in the kernel package)
- Framebuffer (additionally with msm-fb-refresher to refresh the screen)
- Touchscreen
- USB Networking (RNDIS)
- Wi-Fi

Tested UI environments: XFCE 4 & Console.

Wiki: https://wiki.postmarketos.org/wiki/Samsung_Galaxy_A51_(samsung-a51)
2024-12-10 16:49:12 +07:00
Oliver Smith e9643f19db u-boot-pinephone: fix build with modern SWIG (MR 5893)
[ci:skip-build]: already built successfully in CI
2024-12-10 08:48:04 +01:00
Oliver Smith 4de559cf50 u-boot-librem5: fix build with modern SWIG (MR 5893) 2024-12-10 08:47:59 +01:00
Barnabás Czémán 99a17c5b0f main/lk2nd: upgrade to 20.0 (MR 5884)
Upgrade lk2nd to 20.0.

Additional changes:
- Add msm8996 subpackage
- Limit msm8953, msm8996, msm8952-xiaomi-land packages to aarch64.
2024-12-09 18:13:07 -08:00
Oliver Smith 6878ac727e main/postmarketos-initramfs: makedepend on postmarketos-base-nofde (MR 5891)
Ensure postmarketos-base-nofde is built before this package, otherwise
bootstrapping this on a new stable branch fails. This does not need to
be backported, as postmarketos-base-nofde has already been built for
v24.12.

Related: https://builds.sr.ht/~postmarketos/job/1384748
2024-12-09 18:06:48 -08:00
postmarketOS CI d1ec0a3ce6 linux-next: upgrade to next-20241209 2024-12-09 19:57:46 +00:00
Clayton Craft e74432fd0e main/postmarketos-base-ui: add NM connectivity config (MR 5659)
Fixes #1920

[ci:skip-build]: already built successfully in CI
2024-12-09 11:03:15 -08:00
Jakob Hauser dc751d558a main/postmarketos-ui-xfce4: set background for login greeter (MR 5889)
Actually Xfce4 is capable to use the "draw-user-backgrounds" option of
"slick-greeter", applying the users wallpaper on the greeter.

However, as it turns out, the users background in pmOS Xfce4 is set at first
login of the user. Therefore, the greeters background is black at the first
boot.

Therefore set the greeters background to the default postmarketOS wallpaper.
2024-12-08 21:15:16 +01:00
Oliver Smith e90e45cf71 main/postmarketos-base-ui-gnome: fix polkit conflict, pt. 2 (MR 5886)
Move the polkit-elogind into depends= instead of pmb_recommends=, so
packages depending on postmarketos-base-ui-gnome can build successfully
again. The previous fix only helped for "pmbootstrap install", this fix
will help for both cases.

Without this, e.g. postmarketos-base-ui-gnome-mobile fails to build:
https://builds.sr.ht/~postmarketos/job/1384469
[ci:skip-build]: already built successfully in CI
2024-12-08 15:09:44 +01:00
Oliver Smith 954fee6646 main/postmarketos-base-ui-gnome: fix polkit conflict (MR 5885)
Add polkit-elogind to _pmb_recommends, to help apk resolve the polkit
depends again. Otherwise it fails with a conflict since recent changes
in apk's dependency resolving code.

Fixes: issue 3349
[ci:skip-vercheck]: pmb_recommends change doesn't need rebuild
[ci:skip-build]: already built successfully in CI
2024-12-08 14:58:13 +01:00
Anjandev Momi d51e909387 main/postmarketos-ui-sxmo-de-{dwm/sxmo}: add comment on why pkgver must be bumped (MR 5878) 2024-12-08 12:51:46 +01:00
Oliver Smith d01b3c760a main/postmarketos-ui-sxmo-de-{dwm/sxmo}: fix conky dep (MR 5878)
Change <=…-r0 to <=…-r999 as it was just bumped to fix a build error and
might be bumped again in the future. I've also tried just removing -r0,
but that results in a conflict.
2024-12-08 12:50:30 +01:00
Richard Acayan e6b5b4046f linux-postmarketos-qcom-sdm670: upgrade to v6.12.3 (MR 5881)
The Linux stable team merged v6.12 into linux-rolling-stable as
of Thursday, so here's a new release.

This release cycle was very quiet with small fixes.

The ttynull driver was enabled in the configuration to fix a bug
where userspace would start with no stdio open.

A patch that made the fuel gauge driver compatible with v6.10
was dropped.

Patches from MSM8916 and MSM8953 were re-picked, to include the change
from strlcpy to strscpy and to remove duplicate q6voice entries in a
Makefile.

Some flashlight and charging patches were staged.

The thermal nodes were sorted by the thermal sensor to match
other platforms.

Bluetooth, camera, call audio, display, USB, I2C, eMMC, modem, video
acceleration, WiFi, haptics, NFC, sensors, and touchscreen should
work and be slightly broken like before.
2024-12-07 22:54:10 -08:00
Ferass El Hafidi 05d9b25643 amlogic: switch partition_type to msdos (MR 5883)
After commit 8335d050bf24977afefee6612dd347abd555bc53 in pmbootstrap the
partition table now defaults to GPT instead of MBR.  This breaks booting
on Amlogic devices for the following reasons:

 * On set-top boxes: downstream U-Boot most likely does not have GPT
   support
 * On boards where we install mainline U-Boot as BL33 on eMMC/SD: the
   bootROM checks for an `@AML` image header at offset 512 (second LBA),
   which means we are basically stuck on MBR

Some Amlogic boards have U-Boot + the proprietary Amlogic firmware
stages in SPI flash (mainly the Libre Computer boards do), which means
they can use GPT, because the firmware is simply not stored on eMMC/SD.
For that reason I chose not to change the partition table on those.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-08 12:22:30 +09:00
Adam Thiede 05958311ee linux-postmarketos-mediatek-mt8173: upgrade to 6.12.3 (MR 5879)
[ci:skip-build]: already built successfully in CI
2024-12-07 10:38:46 +01:00
Jianhua Lu ec0a8ecf13 firmware-qcom-adreno: upgrade to 20241110, add gen70500 (MR 5882)
[ci:skip-build]: already built successfully in CI
2024-12-07 10:27:20 +01:00
Anri Dellal b22ec1522a .ci/testcases/test_device.py: fix TypeError errors (MR 5863)
Fix TypeError when RuntimeError is thrown

Example:
FAILED testcases/test_device.py::test_aports_device -
	TypeError: can only concatenate str (not "PosixPath") to str
2024-12-06 23:11:16 -08:00
Raymond Hackley 660518e165 samsung-fortuna: merge devices from fortuna3g, gprimeltecan and grandprimelte and maintain
Merge the following Samsung Galaxy Grand Prime devices into
samsung-fortuna:
- samsung-fortuna3g
- samsung-fortunaltezt (firmware only due to armv7 architecture)
- samsung-gprimeltecan
- samsung-grandprimelte (was samsung-gprimeltexx)
2024-12-07 05:21:51 +00:00
postmarketOS CI a96584537e linux-next: upgrade to next-20241206 2024-12-06 19:59:38 +00:00
Jan Jasper de Kroon f4ae4180e2 linux-pine64-pinephonepro: fix disk encryption deadlock on RK3399 (MR 5870)
Resolves deadlock between Rockchip crypto hardware and dm-crypt causing
kernel panic during disk decryption on devices like PinePhone Pro.

- Disables RK3399 hardware crypto engine (CONFIG_CRYPTO_DEV_ROCKCHIP)
- Enables ARM64 CPU crypto extensions for AES/SHA
- Makes core crypto components built-in instead of modules

Fixes: kernel panic in queued_spin_lock_slowpath() when accessing
encrypted devices.
[ci:skip-build]: already built successfully in CI
2024-12-06 14:34:02 +01:00
Jianhua Lu 0104485272 CODEOWNERS: add Jianhua Lu to device-xiaomi-elish maintainership (MR 5832)
[ci:skip-vercheck]
2024-12-05 23:39:47 -08:00
Jianhua Lu 7eaa286e9c device-xiaomi-elish: Move from testing to community (MR 5832) 2024-12-05 23:37:26 -08:00
Oliver Smith 04d707acbf channels: update v24.12 branch_aports 2024-12-06 00:01:57 +01:00
Frank Oltmanns 8d49f8782b soc-qcom-sdm845: update ucm conf to fix poco f1 mic during calls (MR 5860)
Update ucm conf to a version that contains a workaround to get the
bottom mic working again in voice calls.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3322
[ci:skip-build]: already built successfully in CI
2024-12-05 23:43:58 +01:00
Stephan Gerhold 85e0c1f0ba main/postmarketos-initramfs: start mdev/udev before setting up USB (MR 5852)
There might be additional kernel modules needed for the USB UDC to show up.
This used to work fine, but broke when the initramfs was unified with the
minimal one. We need to load modules/start udev before setting up USB.

Fix this by duplicating the setup calls in both init.sh and init_2nd.sh.
Both calls already have checks to allow calling them multiple times,
so we don't need to handle the initramfs-extra case in a special way.
[ci:skip-build]: already built successfully in CI
2024-12-05 23:38:52 +01:00
Alistair Francis 49e70bd5f5 temp/iio-sensor-proxy: Support set_polling (MR 5853)
In order to reduce the power usage when using sensors let's implement
set_polling as described [1]. The patch was linked in the MR that adds
libssc support [2] and is from [3].

An alternative implementation is also avaliable [4], but that seems to
have GLib threading issues [5].

1: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2455#note_453587
2: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/merge_requests/381#note_2567822
3: https://gitlab.freedesktop.org/verdre/iio-sensor-proxy/-/commit/7a7a5f3ea04ff4c134f3dbbbc005b8c26d0af300
4: https://gitlab.freedesktop.org/verdre/iio-sensor-proxy/-/commit/74a5860474b6e79cd6e3be13d1ff8dd9cd810b8b
5: https://mastodon.social/@verdre/113390737074625004

Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2024-12-05 23:32:45 +01:00
Oliver Smith 1ba238d37e main/postmarketos-base-nofde: split from postmarketos-base (MR 5875)
Split -nofde into a separate package to resolve the cyclic depenency:
postmarketos-base -> postmarketos-initramfs -> postmarketos-base-nofde

Fixes: issue 3236
[ci:skip-build]: already built successfully in CI
2024-12-05 22:40:04 +01:00
Oliver Smith 278bdcc619 main/postmarketos-cros-common: add makedepends (MR 5876)
Fill out makedepends, so pmbootstrap and bpo know that these packages
need to be built before building postmarketos-cros-common, because it
has subpackages depending on these packages. Without this,
bootstrapping v24.12 currently fails:
https://builds.sr.ht/~postmarketos/job/1381582

This is intended behavior, abuild works the same way:
https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10138

[ci:skip-build]: already built successfully in CI
2024-12-05 22:35:17 +01:00
Willow Barraco ec694630cb temp/conky: fix build (MR 5877)
[ci:skip-build]: Oliver verified locally that it builds
2024-12-05 22:08:18 +01:00
Clayton Craft a56982b79f linux-lenovo-21bx: drop (MR 5837)
[ci:skip-build]: already built successfully in CI
2024-12-05 11:59:56 -08:00
Clayton Craft 924a78b271 device-lenovo-21bx: use linux-pmos-qcom-laptop kernel (MR 5837) 2024-12-05 11:59:56 -08:00
Clayton Craft eb2b5cd458 linux-postmarketos-qcom-laptop: new aport (MR 5837)
This is a generic kernel for qcom laptops (sc8280xp & x1e), meant to
replace the lenovo-21bx kernel for the x13s.

- Uses johan_defconfig as base, and includes Minecrell's pmos.config
- Adds some extra kconfig for supporting virtualization
2024-12-05 11:59:56 -08:00
postmarketOS CI 59b4992428 linux-next: upgrade to next-20241205 2024-12-05 19:57:19 +00:00
Maarten van Gompel 2d4f8429ea postmarketos-ui-sxmo-*: upgrade to 1.17.1 (MR 5869)
[ci:skip-build]: already built successfully in CI
2024-12-05 11:16:13 -08:00
Oliver Smith 0420dc57f2 cross/musl-*: upgrade to 1.2.5-r8 2024-12-04 22:06:13 +01:00
postmarketOS CI cde8d7149a linux-next: upgrade to next-20241204 2024-12-04 19:57:24 +00:00
Sicelo A. Mhlongo 5f059f959e device-nokia-n900: do not use upower for low-battery shutdown (MR 5868)
As of upower 1.90.5, it is possible to configure upower to not take an action
when the battery capacity is reported as critically low. Since the Nokia N900
now monitors its battery capacity using udev scripts, which is more accurate
than upower's calculation, enable the new ignore feature for the N900.
2024-12-04 17:25:12 +01:00
Sicelo A. Mhlongo ea97c08fa6 device-nokia-n900: implement udev-based battery monitoring (MR 5868)
The bq27200 fuel gauge depends on its battery-backed memory for capacity
reporting. If the supply is off for some time, the fuel gauge's last known
capacity is reset, after which a capacity value can only be read after a
full charge cycle. Thus, most of the time, as used on the Nokia N900, the
reported percentage cannot be relied on for making power-off decisions on
battery low conditions, e.g. through UPower.

However the fuel gauge can very accurately detect and report a low battery
condition internally, even if the reported capacity is incorrect, e.g. when
it has been reset. The low battery condition is reported by the kernel via
capacity_level in sysfs, and also generates uevents.

So we can implement safe battery shutdown by requesting the kernel to more
regularly polling for status changes, then performing an immediate shutdown
when the capacity_level is reported as Low and the device is not charging.
2024-12-04 17:25:12 +01:00
Sicelo A. Mhlongo 06aaf0abe4 device-nokia-n900: update urxvt font (MR 5868)
pmos now defaults to droid sans font
2024-12-04 17:25:12 +01:00
Sicelo A. Mhlongo 64dcfb004a device-nokia-n900: cleanup modem udev rules (MR 5868)
Do not duplicate udev rules that are also shipped by upstream
2024-12-04 17:25:12 +01:00
Sicelo A. Mhlongo fdd064430e device-nokia-n900: drop sxmo-specific sub-package (MR 5868)
The deviceprofile is now in a tagged sxmo release.

The conky issue will be mentioned in wiki for users to manually disable, until
upstream allows toggling it.
2024-12-04 17:25:03 +01:00
Caleb Connolly 1c3296a63a githooks: ignore unstaged hunks of APKBUILD (MR 5807)
It's possible that additional sources have been made to an APKBUILD
which are unstaged, but if the hunks adding those sources haven't been
staged either then it doesn't make sense to fail on this.

Use git show to get only the staged hunks for the APKBUILD.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-04 16:17:36 +01:00
postmarketOS CI b76e61f7b4 linux-next: upgrade to next-20241203 2024-12-04 06:10:55 +00:00
Oliver Smith d056729300 main/postmarketos-base: pmb_recommends: add doas-sudo-shim (MR 5867)
Fix the following error during "pmbootstrap install":

  ERROR: unable to select packages:
    sudo-1.9.16_p1-r1:
      conflicts: doas-sudo-shim-0.1.1-r1[cmd:sudo=1.9.16_p1-r1]
      breaks: doas-sudo-shim-0.1.1-r1[!sudo]
      satisfies: postmarketos-base-38-r0[sudo-virt]
                 postmarketos-base-nofde-38-r0[sudo-virt]
    doas-sudo-shim-0.1.1-r1:
      conflicts: sudo-1.9.16_p1-r1[cmd:sudo=0.1.1-r1]
      satisfies: postmarketos-base-doas-38-r0[doas-sudo-shim]
                 postmarketos-base-38-r0[sudo-virt]
                 postmarketos-base-nofde-38-r0[sudo-virt]

How the error gets triggered:
* postmarketos-base depends on sudo-virt. During "pmbootstrap install",
  pmbootstrap has to resolve this to a sudo implementation (sudo, doas,
  ...).
* pmbootstrap does this by looking at the packages that get installed
  at the same time. Before this patch we did not install doas-sudo-shim
  directly through _pmb_recommends, only indirectly through a
  postmarketos-base-doas subpackage that pulls doas-sudo-shim in via
  install_if.
* pmbootstrap cannot look at install_if as it resolves dependencies,
  so it has to pick one and goes for "sudo".
* pmbootstrap tells apk to install a list of packages including "sudo",
  and because apk also resolves install_if correctly, the solver fails
  at the conflict between "doas-sudo-shim" and "sudo". (This only fails
  since apk-tools-static 2.14.6-r0, apparently beforehand apk just
  installed "doas-sudo-shim" in this scenario.)

Teaching pmbootstrap to look at install_if while resolving packages
would be one way to fix this. But it would be a lot of effort, not
feasible to quickly stop the problem at hand that breaks "pmbootstrap
install" for all edge installs. IMHO it is not worth implementing this
at all in pmbootstrap, as it is just supposed to do some more or less
basic package resolving until apk takes over and does it properly.

Put doas-sudo-shim in _pmb_recommends so pmbootstrap knows that this is
the sudo implementation we want without looking at install_if.

Remove the now obsolete postmarketos-base-doas subpackage. This will
lead to doas-sudo-shim getting removed for old installations on upgrade,
but it can easily be installed back (doas add doas-sudo-shim). I'll make
an edge post about it and put it in the v24.12 release notes. If we
don't remove it here, we would need to keep this legacy subpackage
around forever and I'd rather avoid that to reduce maintenance effort.

Another alternative to this was removing sudo-virt from depends="". But
that would lead to sudo getting uninstalled for users upgrading from
old releases from before we had doas in pmb_recommends, so I've decided
against it.

Fixes: pmaports issue 3340
2024-12-01 15:27:05 +01:00
dabao1955 2ebc5dcbdc README.md: fix typo (MR 5862)
[ci:skip-build]: already built successfully in CI
2024-11-30 14:31:19 +01:00
Arnav Singh 578bd8f983 linux-postmarketos-allwinner: upgrade to 6.12.1_git20241127 (MR 5858) 2024-11-29 22:58:42 -08:00
Daniel LangbeinandClayton Craft 2c07e2d38f README.md: add short explanation of this repository (MR 5841)
Inspired by the Alpine aports README: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/README.md?ref_type=heads

Co-authored-by: Clayton Craft <craftyguy@postmarketos.org>
2024-11-30 09:16:47 +09:00
Richard Acayan 8834db0ffb linux-postmarketos-qcom-sdm670: enable null tty (MR 5856)
The Google Pixel 3a automatically appends console=null to the command
line. In the kernel, the preferred console is set to ttynull. Since
ttynull is not automatically enabled, a warning is currently emitted:

	[    0.909853] Warning: unable to open an initial console.

This also causes stdin, stdout, and stderr to be missing from the init
process.

In the busybox implementation, syslogd creates the /dev/log socket and
opens /dev/kmsg. This happens just before daemonizing, which opens
/dev/null and aliases stdin, stdout, and stderr to it. After daemonizing
and potentially closing the socket, stdin is aliased to the socket to
save stack memory. If the program starts without stdin under Linux, the
socket gains the constant STDIN_FILENO file descriptor, which is cleared
when daemonizing.

Syscalls when the 0, 1, 2 file descriptors aren't open:

	socket(AF_UNIX, SOCK_DGRAM, 0)    = 0
	openat(AT_FDCWD, "/dev/kmsg", O_WRONLY|O_LARGEFILE) = 1
	openat(AT_FDCWD, "/dev/null", O_RDWR|O_LARGEFILE) = 2

Enable the CONFIG_NULL_TTY option and update the configuration to allow
the kernel to open stdin, stdout, and stderr for the init and (by
inheritance) syslogd processes. It's technically an expert option but
isn't enabled by default (and can be enabled in config fragments).

Closes #3269
[ci:skip-build]: already built successfully in CI
2024-11-29 04:15:20 +03:00
Jakob Hauser e60c77ac7a main/postmarketos-ui-{mate,xfce4}: switch to slick-greeter (MR 5805)
The main goal of switching LightDM to slick-greeter is to ease
enabling/disabling autologin. With "lightdm-settings" installed, there
is an administration/settings GUI "Login Window" available that allows
among others to configure autologin. Contrary to its general purpose
name, it works on LightDM greeter "slick-greeter" only.

[ci:skip-build]: already built successfully in CI
2024-11-28 21:37:35 +01:00
Jakob Hauser 8379700a13 main/postmarketos-ui-xfce4: clean up package section (MR 5805)
Use install "-t" option, avoiding to repeat the file name and allowing to add
more than one file per command. Additionally sort the commands alphabetically
per path.

Exception is the lightdm autologin config file because it does a file renaming.
Put this command to the end.
2024-11-28 21:37:35 +01:00
Jakob Hauser 15ee5d968a main/postmarketos-ui-{mate,xfce4}: remove tinydm line from post-install (MR 5805)
The line has been long enough in the script.
2024-11-28 21:37:32 +01:00
Clayton Craft bccbfbc90e kconfigcheck: add new category for virtualization support (MR 5843)
For including options to making sure KVM (and others later) is enabled
in the kernel.

[ci:skip-build]: already built successfully in CI
2024-11-28 21:12:21 +01:00
Sicelo A. Mhlongo f7f49b3416 linux-postmarketos-omap: n900: bq27xxx: generate events in changes to status flags (MR 5857)
bq27xxx_battery has a check for status flags in order to detect changes
and report to userspace. However, the cached flags are updated before
checking for changes, hence no flag-related events are ever sent. This
patch fixes this behavior, and has been sent upstream.

[ci:skip-build]: already built successfully in CI
2024-11-28 20:51:10 +01:00
postmarketOS CI 9b13e1ee5a linux-next: upgrade to next-20241128 2024-11-28 06:00:21 +00:00
Aster Boese 3589a3be15 main/postmarketos-initramfs: fix filesystem detection regex (MR 5812)
Changes the regex of the initramfs to make sure that it is searching for
filesystem type instead of any type (eg partition scheme type).
2024-11-27 18:30:21 +00:00
Barnabás Czémán 0a49f8ebc1 device-qcom-msm8953: move to community (MR 5800)
Replace individual msm8953 xiaomi packages with generic msm8953 package.
Move device-xaiomi-daisy-fake-goodix package to the generic device
package.

[ci:ignore-count] [ci:skip-vercheck]
2024-11-27 23:00:13 +09:00
Lin, Meng-Bo 42749e6dc8 samsung-j3ltetw: maintain device (MR 5851) 2024-11-27 16:46:58 +03:00
Lin, Meng-Bo 149033e513 samsung-fortunaltezt: maintain device (MR 5851) 2024-11-27 16:46:58 +03:00
Luca Weiss dde59c8f50 linux-postmarketos-qcom-sc7280: upgrade to 6.12.0 (MR 5821)
Manual kconfig changes:
* EEPROM_AT24
* VIDEO_IMX858
* VIDEO_QCOM_CAMSS
* VIDEO_S5KJN1
2024-11-27 22:24:50 +09:00
Maarten van Gompel 634a87c2f9 postmarketos-ui-sxmo-*: upgrade to 1.17.0 (MR 5854)
[ci:skip-build]: already built successfully in CI
2024-11-27 08:02:40 +01:00
postmarketOS CI 112e48b348 linux-next: upgrade to next-20241127 2024-11-27 06:00:03 +00:00
Jianhua Lu e4e0c10048 device-xiaomi-elish: include more modules and firmwares to initramfs (MR 5830)
[ci:skip-build]: already built successfully in CI
2024-11-26 14:28:26 +01:00
Jianhua Lu 03d04f20d1 firmware-xiaomi-elish: include firmware files to initramfs (MR 5830) 2024-11-26 14:28:26 +01:00
Jianhua Lu 412ace8335 linux-postmarketos-qcom-sm8250: upgrade to 6.12.0 (MR 5830) 2024-11-26 14:28:26 +01:00
postmarketOS CI edefb3dfa0 linux-next: upgrade to next-20241126 2024-11-26 05:57:36 +00:00
Jakob Hauser ff1db54205 device-qemu-*: move X11 config file from /etc to /usr (MR 5809)
As it's delivered by the distro, it should go into /usr.
2024-11-25 23:35:10 +09:00
Iuri Jikidze be05b7e3d0 device-samsung-logands: add initfs_extra (MR 5850) 2024-11-25 21:01:17 +09:00
Patriot-06 9c178c75a0 realme-x3: new device (Realme X3) (MR 5839)
Signed-off-by: Patriot-06 <mbmc172@gmail.com>
2024-11-25 20:34:14 +09:00
postmarketOS CI 61ebd242c9 linux-next: upgrade to next-20241125 2024-11-25 06:00:21 +00:00
Danct12 6d1184c01f device-pine64-pinetab2: upgrade to kernel 6.12.1-danctnix1 (MR 5849)
Upgrade to the new v6.12.1 kernel from the vendor.

Also disabled unnecessary erratas (they're platform-specific).
2024-11-24 23:06:31 +09:00
Oliver Smith 8423a52017 cross/busybox-static-*: upgrade to 1.37.0-r8 2024-11-24 12:08:59 +01:00
Oliver Smith 9028e0cf0c cross/musl-*: upgrade to 1.2.5-r7 2024-11-24 12:08:55 +01:00
Oliver Smith 864873e463 linux-htc-flounder: add V=1 workaround (MR 5848)
Add a workaround so the kernel compile output is not silent (which leads
to pmbootstrap aborting the build). This will be fixed once upgrading to
linux >= 6.2.

Related: pmaports issue 1990
[ci:skip-build]: already built successfully in CI
2024-11-24 12:00:56 +01:00
Stephan Gerhold ae57a82b67 device-samsung-serranove: drop display panel workaround (MR 5847)
In linux-postmarketos-qcom-msm8916 this is fixed properly thanks to a patch
from Jakob Hauser. The cmdline parameter is no longer necessary, and just
causes the display to be horizontally flipped again.

[ci:skip-build]: already built successfully in CI
2024-11-24 11:27:02 +01:00
Stephan Gerhold 053a486241 linux-postmarketos-qcom-msm8916: upgrade to 6.12.1 (MR 5847)
- Update to Linux v6.12.1
- Lots of cleanup and upstreaming, more than 30 commits upstreamed since 6.7
- Various defconfig updates

Device changes:
  - Acer a1-724 gains sound/modem, mount-matrix, simple-framebuffer display
  - L8910/l9100 (BQ Aquaris X5/M5) gain rgb led
  - More variants of Lenovo Vibe K5 supported
  - grandmax gains touchkeys
  - heatqlte gains backlight
  - gplus fl8005a gains modem, display, battery
  - serranove gains hardware-side display flip and brightness control

New devices:
  - Fareastone Smart 506
  - Lenovo Yoga Tab 3 10 LTE
  - Vivo Y21L
  - ZTE N818s (sapphire)
2024-11-24 11:26:58 +01:00
Oliver Smith 2602662717 linux-postmarketos-omap: enable ZRAM_BACKEND_ZSTD (MR 5846)
[ci:skip-build]: I've built it locally
2024-11-24 11:03:40 +01:00
Mithil Bavishi c3bac23fd3 linux-postmarketos-omap: upgrade to 6.12.1 (MR 5846)
[ci:skip-build]: already built successfully in CI
2024-11-24 10:52:36 +01:00
Robert Eckelmann 29e1a5f6c6 linux-purism-librem5: add CONFIG_CRYPTO_ZSTD (MR 5835)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>

[ci:ignore-count]: We meant to change many packages
[ci:skip-build]: already built successfully in CI
2024-11-24 09:31:47 +01:00
Robert Eckelmann 1c17f832f3 linux-postmarketos-qcom{msm8974,msm8994,sc7280,sm6115,sm6350}: add CONFIG_CRYPTO_ZSTD/CONFIG_ZRAM_BACKEND_ZSTD (MR 5835)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-11-24 09:31:22 +01:00
Robert Eckelmann f2f1c4f138 linux-postmarketos-amlogic: add CONFIG_CRYPTO_ZSTD (MR 5835)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-11-24 09:31:21 +01:00
Robert Eckelmann 13947dff65 linux-htc-flounder: add CONFIG_CRYPTO_ZSTD (MR 5835)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-11-24 09:31:21 +01:00
Robert Eckelmann 1cb8193d30 linux-postmarketos-grate: add CONFIG_CRYPTO_ZSTD (MR 5835)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
2024-11-24 09:31:21 +01:00
Stephan Gerhold 9c55a40724 linux-volla-mimameid: drop ZRAM kconfigcheck (MR 5835)
Linux 4.14.186 has no ZSTD support and is therefore too old to have full
support for our default ZRAM configuration. ZRAM will likely still work,
but fall back to the default compression method. This is not something we
can actively test or support, so drop the pmb:kconfigcheck-zram.

[ci:skip-vercheck]: no rebuild needed
2024-11-24 09:31:21 +01:00
Stephan Gerhold 8969b0159b linux-samsung-jxelte: drop ZRAM kconfigcheck (MR 5835)
Linux 3.18.14 has no ZSTD support and is therefore too old to have full
support for our default ZRAM configuration. ZRAM will likely still work,
but fall back to default compression method. This is not something we
can actively test or support, so drop the pmb:kconfigcheck-zram.

[ci:skip-vercheck]: no rebuild needed
2024-11-24 09:31:21 +01:00
Stephan Gerhold 3acdb58155 kconfigcheck: Fix ZRAM checks (MR 5835)
main/postmarketos-base/rootfs-etc-conf.d-zram-init configures zstd as our
default ZRAM configuration, but the kconfigcheck only checks for LZ4 at the
moment. Because of this some of our kernels don't actually have ZSTD
support enabled and end up using the default compression algorithm.

For Linux >=4.18 we should enable CONFIG_CRYPTO_ZSTD to enable ZSTD support
for ZRAM.

In Linux >=6.12 the configuration was changed to CONFIG_ZRAM_BACKEND_ZSTD.
This requires manual edits while upgrading, otherwise only LZO support will
remain enabled.

Checking for >=3.14.0 additionally does not make any sense, because the
kconfig check should not be enabled for kernels that cannot satisfy our
minimum requirements.

Describe this properly in kconfigcheck.toml to ensure kernels are
configured correctly.

The following kernels are currently missing the correct options:

config-htc-flounder.aarch64: CONFIG_CRYPTO_ZSTD should be set (category:zram)
config-postmarketos-amlogic.aarch64: CONFIG_CRYPTO_ZSTD should be set (category:zram)
config-postmarketos-grate.armv7: CONFIG_CRYPTO_ZSTD should be set (category:zram)
config-postmarketos-qcom-msm8974.armv7: CONFIG_CRYPTO_ZSTD should be set (category:zram)
config-postmarketos-qcom-sc7280.aarch64: CONFIG_CRYPTO_ZSTD should be set (category:zram)
config-postmarketos-qcom-sm6115.aarch64: CONFIG_CRYPTO_ZSTD should be set (category:zram)
config-postmarketos-qcom-sm6350.aarch64: CONFIG_CRYPTO_ZSTD should be set (category:zram)
config-purism-librem5.aarch64: CONFIG_CRYPTO_ZSTD should be set (category:zram)

The following kernels are too old to support CONFIG_CRYPTO_ZSTD:

config-samsung-jxelte.aarch64: CONFIG_CRYPTO_ZSTD should be set (category:zram)
config-volla-mimameid.aarch64: CONFIG_CRYPTO_ZSTD should be set (category:zram)
2024-11-24 09:31:21 +01:00
Caleb Connolly 34ad0ba568 postmarketos-base-ui: depend on xdg-utils (MR 5811)
Many parts of the Linux desktop (apps, tools, scripts, etc) all expect
xdg-open and friends to be installed.

Since these utilities are tiny and (usually) ubiquitous, let's make sure
our UIs all depend on them.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-11-24 15:36:02 +09:00
Mithil Bavishi 627e427cab device-samsung-espresso*: use initramfs extra (MR 5845)
[ci:skip-build]: already built successfully in CI
2024-11-23 21:29:32 +01:00
Stefan Hansson 207873d698 linux-purism-librem5: upgrade to 6.6.57 (MR 5815)
[ci:skip-build]: already built successfully in CI
2024-11-22 23:23:36 -08:00
Barnabás Czémán 13093eea02 device-qcom-msm8953: set partition type to msdos (MR 5818)
Set partition type to msdos because lk2nd does not
support gpt yet.

[ci:skip-build]: already built successfully in CI
2024-11-22 23:20:54 -08:00
Stefan Hansson e1be115971 CI: Don't bother with main/linux-*/config-* in kconfig check (MR 5838)
We haven't had kernels in main/ for soon three years[1], so no need
to bother checking this location.

 [1]: See commits 47d8f823..8f24fe3a
[ci:skip-build]: already built successfully in CI
2024-11-22 22:49:25 -08:00
postmarketOS CI c017365d9c linux-next: upgrade to next-20241122 2024-11-22 19:59:57 +00:00
Barnabás Czémán ed7cfa4163 device-qcom-msm8953: add qbootctl as a dependency (MR 5828)
Add qbootctl as dependency msm-firmware-loader needs it
for A/B devices like xiaomi-daisy and xiaomi-tissot.

[ci:skip-build]: already built successfully in CI
2024-11-22 12:51:36 +01:00
Stephan Gerhold 22f96f6dba main/postmarketos-initramfs: add missing USB gadget modules (MR 5795)
init_functions.sh makes use of the mass_storage and acm USB gadget
functions for error reporting, but the necessary kernel modules are not
included in the initramfs at the moment. Because of this, the functionality
works only on kernels where all these USB gadget functions are built-in and
not built as modules.

Add the missing modules and fix the sort order while at it.

[ci:skip-build]: bug in CI prevents build testing armv7, succeeded locally
2024-11-21 23:18:20 +01:00
postmarketOS CI c93cbc2c6a linux-next: upgrade to next-20241121 2024-11-21 19:57:56 +00:00
methanal ecb1c7fa21 CI: deviceinfo: allow inline comments (MR 5766)
The current test script disallows these kinds of comments:
  deviceinfo_some_variable="some_value" # an inline comment

Since deviceinfo is essentially a shell script, it does make sense to
allow inline comments. It is relatively simple to implement as well, by
adjusting the regex.
[ci:skip-build]: already built successfully in CI
2024-11-21 13:19:09 +01:00
Petr Vorel ea3904055a linux-postmarketos-qcom-msm8994: upgrade 6.12 (MR 5827)
Patch adding LG G4 (H815) support got upstreamed in v6.12-rc1 mainline
kernel (it's slightly different than the patch used here).

Add python3 to makedepends (required from v6.10-rc1
0fddd045f88e ("drm/msm: generate headers on the fly")).

Signed-off-by: Petr Vorel <pvorel@suse.cz>
2024-11-20 17:51:24 -08:00
fossdd adb58f61f8 firmware-motorola-osprey: move maintainership to Minecrell (MR 5822)
As discussed in https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2979

[ci:skip-build]: already built successfully in CI
2024-11-20 22:31:34 +01:00
fossdd b607c97b1d main/postmarketos-base-ui-gnome: add accidently removed line (MR 5833)
Follow-up of https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5824.

Accidently removed `decibels` in a MR revision:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5824/diffs?diff_id=27482&start_sha=a5318d3eef5f6d08c08e086098a42af461f768fe

[ci:skip-vercheck]
2024-11-20 21:59:30 +01:00
Barnabás Czémán ce4bc777e0 linux-postmarketos-qcom-msm8953: upgrade to 6.12 (MR 5829)
Upgrade to 6.12.0-r0.

[ci:skip-build]: already built successfully in CI
2024-11-20 21:48:28 +01:00
postmarketOS CI 261fb37d58 linux-next: upgrade to next-20241120 2024-11-20 19:59:49 +00:00
Caleb Connolly 0b78805c8d CI: autoupdate: update access token bot email (MR 5834)
The project access token disappeared (maybe expired?), let's avoid
hardcoding this and put it in a CI variable instead.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-11-20 20:19:01 +01:00
fossdd f5d4bef1b2 main/postmarketos-ui-phosh: remove blue accent color override
Phosh 0.43 supports accent colors with the xdg-desktop-portal-phosh.

This reverts commit d6344ca124.
2024-11-20 20:06:29 +01:00
fossdd 166a0ba7cf main/postmarketos-ui-phosh: add xdg-desktop-portal-phosh as dependency
Required for accent colors and other portals
2024-11-20 20:06:19 +01:00
fossdd 78a034792b main/postmarketos-base-ui-gnome: replace lollypop with decibels
Closes #3198

[ci:skip-vercheck]
2024-11-20 11:39:51 +01:00
Adam Thiede 7be6be4312 linux-postmarketos-mediatek-mt8173: upgrade to 6.12 (MR 5816)
Tested working on C330. I can drop the patch for 6.11 regression since
that is fixed now. All the normal stuff works, nothing broken as far as
I can tell. Default config options chosen with pmbootstrap kconfig
migrate.
2024-11-19 22:39:20 -08:00
Stephan Gerhold 319396a6d5 device-<qcom-msm8916>: revert to msdos partition table for now (MR 5813)
pmbootstrap 3.0.0 uses GPT partition table by default, which breaks booting
on all the devices using the lk2nd bootloader. The current version of lk2nd
supports GPT only for the eMMC, while subpartitions and SD cards must be
partitioned with MBR. GPT support was present in the legacy branch of
lk2nd, but was dropped at some point because of poor code quality.

Fix the regression for now by reverting back to the old msdos (MBR)
partition table. We can revert this again later when lk2nd restores support
for GPT.

Generated with
$ for d in $(grep -R linux-postmarketos-qcom-msm8916 | grep -Eo 'device-[^/]+' | sort -u); do \
  echo -e '\n# lk2nd does not support GPT for subpartitions/SD cards yet\ndeviceinfo_partition_type="msdos"' \
  >> device/*/$d/deviceinfo && pmbootstrap checksum $d && pmbootstrap pkgver_bump $d; done

[ci:ignore-count]

[ci:skip-build]: bug in CI prevents build testing armv7 and aarch64, so
Clayton did the test locally for those archs
2024-11-19 20:15:49 +01:00
Clayton Craft 0924a7f25b device-lenovo-21bx: update bt firmware path (MR 5681)
[ci:skip-build]: already built successfully in CI
2024-11-19 09:15:37 -08:00
Clayton Craft 345792be08 firmware-lenovo-21bx: package bt fw from unreleased linux-fw (MR 5681)
This is needed for completely functional BT on the 6.12 kernel we
package. The bt fw file will be in the next (december) release of
linux-firmware, so in the meantime it's fetched/packaged here. This will
need to be dropped when the next linux-fw package upgrade is released.
2024-11-19 09:14:59 -08:00
Clayton Craft 1e52f0a21c linux-lenovo-21bx: upgrade to 6.12 (MR 5681)
- kconfig migrated
- enable some user crypto stuff
- enabled WBT
2024-11-19 09:14:56 -08:00
fossdd 5c9976f594 CODEOWNERS: add me as co-maintainer of phosh, gnome and gnome-mobile (MR 5823)
I'm already part of the corresponding Alpine groups and also here on
pmaports helping these packages.
2024-11-19 16:11:38 +01:00
Raymond Hackley 0acca93062 samsung-{e7,grandmax}: change maintainer's email
[ci:skip-vercheck]
2024-11-19 10:44:44 +00:00
Oliver Smith a904211cdb channels.cfg: fix mirrordir-alpine -> mirrordir_alpine 2024-11-18 20:49:07 +01:00
Oliver Smith 4343a28b69 channels.cfg: add v24.12 2024-11-18 20:44:03 +01:00
WeirdTreeThing 2baaa10227 linux-postmarketos-mediatek-mt81xx: upgrade to 6.12.0_rc1_git20241108 (MR 5802)
Tested on google-hayato. I also cleaned up the config a bit since the
collabora defconfig had a few weird things set. Zram now works as
expected because of this.
2024-11-17 02:47:47 -08:00
WeirdTreeThing eda150d3a8 linux-postmarketos-mediatek-mt8183: upgrade to 6.6.61 (MR 5797) 2024-11-17 02:12:22 -08:00
Barnabás Czémán 7368bed858 linux-postmarketos-qcom-msm8953: upgrade to 6.11.6-r2
Upgrade to 6.11.6-r2 what contains hot fix for Redmi 5 (rosy).
2024-11-16 18:09:59 +01:00
1347 changed files with 57488 additions and 26369 deletions

No files matched your search

+4 -2
View File
@@ -10,8 +10,9 @@ fi
git config --global --add safe.directory "$CI_PROJECT_DIR"
git config --global user.name "postmarketOS CI"
# pmaports
git config --global user.email "project_226_bot_a365eaa0c380d1bee0af03adf42ebea3@noreply.gitlab.postmarketos.org"
# The username for the bot associated with the access token
# e.g. project_226_bot_bfa19b84bf7f559c8ff7438a01fd29b9
git config --global user.email "$PMAPORTS_TOKEN_BOT@noreply.gitlab.postmarketos.org"
# Configure SSH key for signing
mkdir -p ~/.ssh
@@ -70,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
+4
View File
@@ -110,6 +110,10 @@ if __name__ == "__main__":
# 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:
-2
View File
@@ -21,11 +21,9 @@ sh_files="
./main/postmarketos-installkernel/installkernel-pmos
./main/postmarketos-initramfs/init.sh
./main/postmarketos-initramfs/init_functions.sh
./main/postmarketos-mkinitfs-hook-debug-shell/setup_usb_storage.sh
./main/postmarketos-mkinitfs-hook-netboot/netboot.sh
./main/ttyescape/*.post-install
./main/unl0kr/unlock.sh
./main/msm-firmware-loader/*.post-install
./device/community/soc-qcom-sdm845/call_audio_idle_suspend_workaround.sh
$(find . -path './main/postmarketos-ui-*/*.sh')
+2 -3
View File
@@ -47,8 +47,7 @@ def test_aports_device():
if "postmarketos-base" == dependency or "postmarketos-base>" in dependency:
depend_flag = True
if not depend_flag:
raise RuntimeError("Missing 'postmarketos-base' in depends of " +
path)
raise RuntimeError(f"Missing 'postmarketos-base' in depends of {path}")
# Depends: Must not have specific packages
for depend in apkbuild["depends"]:
@@ -61,7 +60,7 @@ def test_aports_device():
raise RuntimeError("wrong architecture, please change to arch=\""
f"{deviceinfo.arch}\": {path}")
if "!archcheck" not in apkbuild["options"]:
raise RuntimeError("!archcheck missing in options= line: " + path)
raise RuntimeError(f"!archcheck missing in options= line: {path}")
def test_aports_device_kernel():
+3 -3
View File
@@ -36,7 +36,7 @@ def test_deviceinfo():
# Iterate over all devices
last_exception = None
count = 0
pattern = re.compile("^deviceinfo_[a-zA-Z0-9_]*=\".*\"$")
pattern = re.compile("^deviceinfo_[a-zA-Z0-9_]*=\".*\"(\\s*# .*)?$")
for folder in pkgrepo_iglob("device/*/device-*"):
device = folder.name.split("-", 1)[1]
@@ -63,8 +63,8 @@ def test_deviceinfo():
# Check line against regex (can't use multiple lines etc.)
if not pattern.match(line) or line.endswith("\\\""):
raise RuntimeError("Line looks invalid, maybe missing"
" quotes/multi-line string/comment next"
f" to line instead of above? {line}")
" quotes/multi-line string/malformed"
f" inline comment? {line}")
# Successful deviceinfo parsing / obsolete options
info = pmb.parse.deviceinfo(device)
@@ -10,6 +10,7 @@ expected_directories = [
"device/community",
"device/main",
"device/testing",
"extra-repos/systemd",
"main",
"modem",
"non-free",
+3
View File
@@ -23,6 +23,9 @@ def test_aports_kernel():
apkbuild = pmb.parse.apkbuild(path)
aport_name = os.path.basename(os.path.dirname(path))
if aport_name == "linux-pam":
continue # This package isn't a linux kernel!
if "pmb:cross-native" not in apkbuild["options"]:
raise RuntimeError(f"{aport_name}: \"pmb:cross-native\" missing in"
" options= line")
+5
View File
@@ -12,3 +12,8 @@ indent_style = tab
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# Forked from Alpine
[extra-repos/systemd/networkmanager/networkmanager.rules]
indent_style = space
indent_size = 4
+12 -2
View File
@@ -65,7 +65,7 @@ is_symlink() {
# available in git tree and checksums are correct.
check_local_sources() {
local apkbuild="$1"
local startdir="${apkbuild%/*}"
local startdir="$2"
local status=0
local checksum_act checksum_exp content filename line sources
@@ -109,11 +109,21 @@ check_file_size() {
fi
}
cleanup() {
[ -f "$_staged" ] && rm "$_staged"
}
trap cleanup EXIT
for apkbuild in $(changed_files '**/APKBUILD'); do
check_local_sources "$apkbuild"
_staged="$(mktemp)"
git show ":$apkbuild" >"$_staged"
check_local_sources "$_staged" "${apkbuild%/*}"
cleanup
done
for path in $(changed_files); do
check_file_size "$path"
done
trap - EXIT
+11 -9
View File
@@ -31,7 +31,7 @@ workflow:
wiki:
stage: lint
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
- if: &mr_rule $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
changes:
- .ci/**/*
- .gitlab-ci.yml
@@ -44,7 +44,7 @@ wiki:
ruff:
stage: lint
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
- if: *mr_rule
changes:
- .ci/*
- .ci/*/*
@@ -58,7 +58,7 @@ shellcheck-grep:
stage: lint
image: alpine:edge
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
- if: *mr_rule
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/shellcheck.sh
@@ -69,7 +69,7 @@ editor-config:
stage: lint
image: alpine:edge
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
- if: *mr_rule
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/ec.sh
@@ -78,7 +78,7 @@ editor-config:
pytest-commits:
stage: lint
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
- if: *mr_rule
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/pytest.sh
@@ -95,7 +95,7 @@ pytest-commits:
aport-lint:
stage: lint
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
- if: *mr_rule
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/apkbuild-lint.sh
@@ -105,11 +105,13 @@ aport-lint:
kernel-kconfig:
stage: lint
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
- if: *mr_rule
changes:
- kconfigcheck.toml
allow_failure: true
- if: *mr_rule
changes:
- device/*/linux-*/config-*
- main/linux-*/config-*
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/kconfig.sh
@@ -131,7 +133,7 @@ mr-settings:
.build:
stage: build
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
- if: *mr_rule
before_script:
- *global_before_scripts
- .ci/lib/gitlab_prepare_ci.sh
+5 -1
View File
@@ -27,7 +27,8 @@
Replace space inside `[ ]` with `x` to fill the checkbox
-->
* [ ] edge (`master` branch)
* [ ] `v24.06`
* [ ] `v24.12`
* [ ] `v24.06` (supported until 2025-01-23)
* [ ] I confirm that the issue still is present after running `sudo apk upgrade -a`
@@ -38,6 +39,9 @@
* [ ] Plasma Mobile
* [ ] Sxmo (Wayland/Sway) **Please post the output of `sxmo_version.sh`**
* [ ] Other: **Please fill out**
### Which init system are you using?
* [ ] OpenRC
* [ ] systemd
### How did you get postmarketOS image?
* [ ] from https://images.postmarketos.org
* [ ] I built it using pmbootstrap
+4 -8
View File
@@ -1,14 +1,10 @@
{
"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+\\)|)$"
"^(([a-z]+\\/\\)?\\([a-z\\-0-9*{}]+),?)+: [a-z][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+\\)|)$"
]
}
}
+1
View File
@@ -0,0 +1 @@
https://postmarketos.org/funding.json
+16 -3
View File
@@ -31,25 +31,34 @@ 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
@@ -59,6 +68,7 @@ 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
@@ -93,6 +103,7 @@ 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
@@ -103,14 +114,16 @@ 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-dove/ @longnoserob
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
@@ -134,10 +147,10 @@ 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
main/postmarketos*gnome*/ @pabloyoyoista @Newbyte @fossdd
main/postmarketos-initramfs/ @calebccff @craftyguy
main/postmarketos-ui-i3wm/ @fossdd
main/postmarketos-ui-phosh/ @pabloyoyoista @Newbyte
main/postmarketos-ui-phosh/ @pabloyoyoista @Newbyte @fossdd
main/postmarketos-ui-plasma-mobile/ @PureTryOut
main/shutdown-clear-rtc-wakealarm/ @Arnavion
main/ttyescape/ @calebccff
+5 -1
View File
@@ -1,4 +1,8 @@
# postmarketOS aports
# postmarketOS aports repository
This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.
There are many more packages defined in the [Alpine Linux aports](https://gitlab.alpinelinux.org/alpine/aports/) on which these packages depend.
Helpful resources:
* [How to create a package](https://wiki.postmarketos.org/wiki/Create_a_package)
+7 -1
View File
@@ -8,8 +8,14 @@ branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[v24.06]
[v24.12]
description=Latest release / Recommended for best stability
branch_pmaports=v24.12
branch_aports=3.21-stable
mirrordir_alpine=v3.21
[v24.06]
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=7
pkgrel=11
_arch="aarch64"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
9d0fd2ad11f7b2f9fbb3d5e71a2a7f113187648f61c269bee7b6b7ef0976d181d6a7588638382415b7eb2cc3934d0ef62080d4462acfc97c4c7b056003d333d4 busybox-static-1.37.0-r7-aarch64-edge.apk
4b5bc587f42d06ec8dfb1b1b0dc9bcd5e7b35e6b0223c6e4d3db3ac3567a93eda4b595e7e46b9d4322607380909ebba7361a8ea3e8bfe3fcecb139261b22331d busybox-static-1.37.0-r11-aarch64-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armhf
pkgver=1.37.0
pkgrel=7
pkgrel=11
_arch="armhf"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
c89807c048cd58a5994c8162685669d0e49752f7284adc427d017355bbfd43f5a686617be42abd2b470c15869225a03f31a6231ee4dbb03fc6b27d6c920b5208 busybox-static-1.37.0-r7-armhf-edge.apk
2acc65aa25b8d4a842e951ea357b7f5c9dbcb693c2d7bca7b5256e2a79211b90eb63c0b3b5e146501e679d6db89c9b499090b87e3039b5fce9ef68f039de0eb7 busybox-static-1.37.0-r11-armhf-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armv7
pkgver=1.37.0
pkgrel=7
pkgrel=11
_arch="armv7"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
56e0b396ced0a0afab2f5b50156b87707e3511a2e24c52c9688a20791fad20f11869b5b06bb6c7d407ffec3e4e06ea3100876e3d32efae678fc5a0fe6b57715a busybox-static-1.37.0-r7-armv7-edge.apk
016df6eaeda31a8c6236fde4a93a7bed005f61970d53f02d2ca7c91234a7e6587538c8a3fa3ac8cba6aa0cccbf7d0ad104c63c6967e2b6372fe1c5f56b0649ea busybox-static-1.37.0-r11-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
+8 -9
View File
@@ -34,20 +34,19 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-aarch64
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for aarch64"
url="https://gcc.gnu.org"
arch="x86_64"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
_gccrel=$pkgver-r$pkgrel
depends="binutils-aarch64 mpc1"
depends="binutils-aarch64 mpc1 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
makedepends_build="gcc g++ bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-aarch64 binutils-aarch64"
subpackages="g++-aarch64:gpp libstdc++-dev-aarch64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc"
replaces="libstdc++ binutils"
options="!strip !tracedeps"
depends="$depends so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -320,7 +319,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
loongarch64-*-*-*) _arch_configure="--with-arch=la64v1.0 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -473,7 +472,9 @@ package() {
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "libgna*.a" \) ); do
local libgnat_static=
[ "$CHOST" = "$CTARGET" ] && libgnat_static="libgna*.a"
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "$libgnat_static" \) ); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
@@ -486,9 +487,6 @@ package() {
# libcc1 does not depend on target, don't ship it
rm -rf "$pkgdir"/usr/lib/libcc1.so*
# These are moved into packages with arch=$CTARGET_ARCH so remove
# cross prefix
#mv "$pkgdir"/usr/$CTARGET/lib/*.so.* "$pkgdir"/usr/lib/ # FIXME
# fixup gcc library symlinks to be linker scripts so
# linker finds the libs from relocated sysroot
@@ -570,9 +568,10 @@ libcxx_dev() {
gpp() {
pkgdesc="GNU C++ standard library and compiler"
depends="libstdc++-dev$_target=$_gccrel gcc$_target=$_gccrel musl-dev"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
[ "$CHOST" = "$CTARGET" ] && depends="$depends libstdc++=$_gccrel"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
amove $_gcclibexec/cc1plus
amove usr/bin/*++
}
+8 -9
View File
@@ -34,20 +34,19 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-armhf
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for armhf"
url="https://gcc.gnu.org"
arch="x86_64"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
_gccrel=$pkgver-r$pkgrel
depends="binutils-armhf mpc1"
depends="binutils-armhf mpc1 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
makedepends_build="gcc g++ bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-armhf binutils-armhf"
subpackages="g++-armhf:gpp libstdc++-dev-armhf:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc"
replaces="libstdc++ binutils"
options="!strip !tracedeps"
depends="$depends so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -320,7 +319,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
loongarch64-*-*-*) _arch_configure="--with-arch=la64v1.0 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -473,7 +472,9 @@ package() {
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "libgna*.a" \) ); do
local libgnat_static=
[ "$CHOST" = "$CTARGET" ] && libgnat_static="libgna*.a"
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "$libgnat_static" \) ); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
@@ -486,9 +487,6 @@ package() {
# libcc1 does not depend on target, don't ship it
rm -rf "$pkgdir"/usr/lib/libcc1.so*
# These are moved into packages with arch=$CTARGET_ARCH so remove
# cross prefix
#mv "$pkgdir"/usr/$CTARGET/lib/*.so.* "$pkgdir"/usr/lib/ # FIXME
# fixup gcc library symlinks to be linker scripts so
# linker finds the libs from relocated sysroot
@@ -570,9 +568,10 @@ libcxx_dev() {
gpp() {
pkgdesc="GNU C++ standard library and compiler"
depends="libstdc++-dev$_target=$_gccrel gcc$_target=$_gccrel musl-dev"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
[ "$CHOST" = "$CTARGET" ] && depends="$depends libstdc++=$_gccrel"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
amove $_gcclibexec/cc1plus
amove usr/bin/*++
}
+8 -9
View File
@@ -34,20 +34,19 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-armv7
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for armv7"
url="https://gcc.gnu.org"
arch="x86_64"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
_gccrel=$pkgver-r$pkgrel
depends="binutils-armv7 mpc1"
depends="binutils-armv7 mpc1 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
makedepends_build="gcc g++ bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-armv7 binutils-armv7"
subpackages="g++-armv7:gpp libstdc++-dev-armv7:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc"
replaces="libstdc++ binutils"
options="!strip !tracedeps"
depends="$depends so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -320,7 +319,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
loongarch64-*-*-*) _arch_configure="--with-arch=la64v1.0 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -473,7 +472,9 @@ package() {
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "libgna*.a" \) ); do
local libgnat_static=
[ "$CHOST" = "$CTARGET" ] && libgnat_static="libgna*.a"
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "$libgnat_static" \) ); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
@@ -486,9 +487,6 @@ package() {
# libcc1 does not depend on target, don't ship it
rm -rf "$pkgdir"/usr/lib/libcc1.so*
# These are moved into packages with arch=$CTARGET_ARCH so remove
# cross prefix
#mv "$pkgdir"/usr/$CTARGET/lib/*.so.* "$pkgdir"/usr/lib/ # FIXME
# fixup gcc library symlinks to be linker scripts so
# linker finds the libs from relocated sysroot
@@ -570,9 +568,10 @@ libcxx_dev() {
gpp() {
pkgdesc="GNU C++ standard library and compiler"
depends="libstdc++-dev$_target=$_gccrel gcc$_target=$_gccrel musl-dev"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
[ "$CHOST" = "$CTARGET" ] && depends="$depends libstdc++=$_gccrel"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
amove $_gcclibexec/cc1plus
amove usr/bin/*++
}
+8 -9
View File
@@ -34,20 +34,19 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-riscv64
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for riscv64"
url="https://gcc.gnu.org"
arch="x86_64"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
_gccrel=$pkgver-r$pkgrel
depends="binutils-riscv64 mpc1"
depends="binutils-riscv64 mpc1 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
makedepends_build="gcc g++ bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-riscv64 binutils-riscv64"
subpackages="g++-riscv64:gpp libstdc++-dev-riscv64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc"
replaces="libstdc++ binutils"
options="!strip !tracedeps"
depends="$depends so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -320,7 +319,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
loongarch64-*-*-*) _arch_configure="--with-arch=la64v1.0 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -473,7 +472,9 @@ package() {
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "libgna*.a" \) ); do
local libgnat_static=
[ "$CHOST" = "$CTARGET" ] && libgnat_static="libgna*.a"
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "$libgnat_static" \) ); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
@@ -486,9 +487,6 @@ package() {
# libcc1 does not depend on target, don't ship it
rm -rf "$pkgdir"/usr/lib/libcc1.so*
# These are moved into packages with arch=$CTARGET_ARCH so remove
# cross prefix
#mv "$pkgdir"/usr/$CTARGET/lib/*.so.* "$pkgdir"/usr/lib/ # FIXME
# fixup gcc library symlinks to be linker scripts so
# linker finds the libs from relocated sysroot
@@ -570,9 +568,10 @@ libcxx_dev() {
gpp() {
pkgdesc="GNU C++ standard library and compiler"
depends="libstdc++-dev$_target=$_gccrel gcc$_target=$_gccrel musl-dev"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
[ "$CHOST" = "$CTARGET" ] && depends="$depends libstdc++=$_gccrel"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
amove $_gcclibexec/cc1plus
amove usr/bin/*++
}
+8 -9
View File
@@ -34,20 +34,19 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-x86
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for x86"
url="https://gcc.gnu.org"
arch="x86_64"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
_gccrel=$pkgver-r$pkgrel
depends="binutils-x86 mpc1"
depends="binutils-x86 mpc1 so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
makedepends_build="gcc g++ bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-x86 binutils-x86"
subpackages="g++-x86:gpp libstdc++-dev-x86:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc"
replaces="libstdc++ binutils"
options="!strip !tracedeps"
depends="$depends so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -320,7 +319,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
loongarch64-*-*-*) _arch_configure="--with-arch=la64v1.0 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -473,7 +472,9 @@ package() {
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "libgna*.a" \) ); do
local libgnat_static=
[ "$CHOST" = "$CTARGET" ] && libgnat_static="libgna*.a"
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "$libgnat_static" \) ); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
@@ -486,9 +487,6 @@ package() {
# libcc1 does not depend on target, don't ship it
rm -rf "$pkgdir"/usr/lib/libcc1.so*
# These are moved into packages with arch=$CTARGET_ARCH so remove
# cross prefix
#mv "$pkgdir"/usr/$CTARGET/lib/*.so.* "$pkgdir"/usr/lib/ # FIXME
# fixup gcc library symlinks to be linker scripts so
# linker finds the libs from relocated sysroot
@@ -570,9 +568,10 @@ libcxx_dev() {
gpp() {
pkgdesc="GNU C++ standard library and compiler"
depends="libstdc++-dev$_target=$_gccrel gcc$_target=$_gccrel musl-dev"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
[ "$CHOST" = "$CTARGET" ] && depends="$depends libstdc++=$_gccrel"
depends="$depends so:libc.musl-x86_64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
amove $_gcclibexec/cc1plus
amove usr/bin/*++
}
+8 -11
View File
@@ -34,21 +34,19 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-x86_64
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for x86_64"
url="https://gcc.gnu.org"
arch="aarch64"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
_gccrel=$pkgver-r$pkgrel
depends="binutils-x86_64 mpc1"
depends="binutils-x86_64 mpc1 so:libc.musl-aarch64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
makedepends_build="gcc g++ bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-x86_64 binutils-x86_64"
subpackages="g++-x86_64:gpp libstdc++-dev-x86_64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc"
replaces="libstdc++ binutils"
options="!strip !tracedeps"
depends="$depends so:libc.musl-aarch64.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libstdc++.so.6 so:libz.so.1"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -321,7 +319,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
loongarch64-*-*-*) _arch_configure="--with-arch=la64v1.0 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -474,7 +472,9 @@ package() {
# move ada runtime libs
if $LANG_ADA; then
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "libgna*.a" \) ); do
local libgnat_static=
[ "$CHOST" = "$CTARGET" ] && libgnat_static="libgna*.a"
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 \( -name "libgna*.so" -o -name "$libgnat_static" \) ); do
mv "$i" "$pkgdir"/usr/lib/
ln -s ../../../../${i##*/} $i
done
@@ -487,9 +487,6 @@ package() {
# libcc1 does not depend on target, don't ship it
rm -rf "$pkgdir"/usr/lib/libcc1.so*
# These are moved into packages with arch=$CTARGET_ARCH so remove
# cross prefix
#mv "$pkgdir"/usr/$CTARGET/lib/*.so.* "$pkgdir"/usr/lib/ # FIXME
# fixup gcc library symlinks to be linker scripts so
# linker finds the libs from relocated sysroot
@@ -571,10 +568,10 @@ libcxx_dev() {
gpp() {
pkgdesc="GNU C++ standard library and compiler"
depends="libstdc++-dev$_target=$_gccrel gcc$_target=$_gccrel musl-dev"
depends="$depends so:libc.musl-aarch64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
[ "$CHOST" = "$CTARGET" ] && depends="$depends libstdc++=$_gccrel"
depends="$depends so:libc.musl-aarch64.so.1 so:libgmp.so.10 so:libisl.so.23 so:libmpc.so.3 so:libmpfr.so.6 so:libz.so.1"
amove $_gcclibexec/cc1plus
amove usr/bin/*++
}
+2 -2
View File
@@ -3,7 +3,7 @@
pkgname=grub-efi-x86
pkgver=2.12
pkgrel=6
pkgrel=7
_arch="x86"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -22,5 +22,5 @@ package() {
}
sha512sums="
bad54187b4fbb9f78f2d619ff9a652a4927c557070c2c39334fd9900ae5aeb956144055602ca56295d7966c2d10090ef142a073dd67eb14f7b41ba0d54c78d4d grub-efi-2.12-r6-x86-edge.apk
8a44b4d48c804fb2c62c3d75c85f86a108f1446d3b1f194cde3c1b3ce7653825379d5733fdf8e08013afcea0d9c879438556d8cbbfb7d5cd6c41b98ab7216492 grub-efi-2.12-r7-x86-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-aarch64
pkgver=1.2.5
pkgrel=5
pkgrel=9
arch="x86_64"
subpackages="musl-dev-aarch64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
5b3c6f1f1d87164a8a72c9d90b6e35ccc256bb2f6e1a12e4a3ff04b6309fff6c438eef60b824e4993958c4348c122fb96ef8f59dc468e10ee5be69aa81e6f4bc musl-1.2.5-r5-aarch64-edge.apk
ebbd7300b2102f322633dbc01449b5d4f25374609193359bf5da97e3a6cf34f1288a69ed0638bd5505b4548fdeb1efa481c9cd3a031ae3a98759b36cbf2db46e musl-dev-1.2.5-r5-aarch64-edge.apk
0f874d6c7be3a69a69553d99c4b50ede6e3b92811052c13a36d8dd35955817f437f77e185d624804526d36e8cc6e99be4eedf8c2d3bcf09340068b1e41da5a49 musl-1.2.5-r9-aarch64-edge.apk
2b85e131b5b8829a02ca5d6ab9bf3e897468834e6db9e5d54127037b5951f5c3ca06964d225d7d4376637ae77467c4001cbcc7f179705a6a206587ac8d7cd266 musl-dev-1.2.5-r9-aarch64-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-armhf
pkgver=1.2.5
pkgrel=5
pkgrel=9
arch="x86_64"
subpackages="musl-dev-armhf:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
302f14e5dc60b4c55f5f299be6cd158fe0955549e8b559afb5985c29a5c98432f82586732954c0dc3776104efc072b11ad9e4818842e6592df2e1931ba3590de musl-1.2.5-r5-armhf-edge.apk
71fc34ce05c5ed73136e77baa478986ec205f882f02602f54f772498451c70a254c89301e932c1e9d3b48a4b4513ca99f64b54de38bdd95966421c297e81ac5b musl-dev-1.2.5-r5-armhf-edge.apk
10f462174d0fa0caaa4e4b767848b2d3a89c70617aca562cf0cd310ee2119eee8638b9eb2909a0756ee8e8952236624c1bacaac314b2d1146cf1c47b4c9b409d musl-1.2.5-r9-armhf-edge.apk
b9305bbe13d94de869d354f3657f59f1e08e897c2b6b0d0419a1dc384f00160dbf56df52b75196f238bcee62dd2e7e613755a91ee6e28776f6df38e5e9203de1 musl-dev-1.2.5-r9-armhf-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-armv7
pkgver=1.2.5
pkgrel=5
pkgrel=9
arch="x86_64"
subpackages="musl-dev-armv7:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
9e2af487860c1a232941a8c5e9833457af1f8c1bd45ce2105dcffcd39879363d4a14928c8670b6e5b8295c97a9fd121d880f8eee2f301df243e1e12dcae1cb69 musl-1.2.5-r5-armv7-edge.apk
8de555df4077de3f12bb5a113d2baaa93f403bd829058dd94093e58a0a7cd7b868d76bdc3f5bc0e5953f2bffdac4360cdbbada3be72578a17c7b1118cb2330a0 musl-dev-1.2.5-r5-armv7-edge.apk
874994ef577a9651b444ddab90f8ac248b7b2ef8c4b0b7dda38d4ff2200e76a737e9dc27b63da5e7fd4022d18829badcdf99969cc52752d710ec598460cbe03d musl-1.2.5-r9-armv7-edge.apk
945a53e8ac24889bcc1bee2b9235fa743c6f653ca0f1611176797ae242eb26c19d3521ead290e9a759ffff38135073c6d2677879c891499c3a50f7f23ab0cead musl-dev-1.2.5-r9-armv7-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-riscv64
pkgver=1.2.5
pkgrel=5
pkgrel=9
arch="x86_64"
subpackages="musl-dev-riscv64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
4234a6980ea7bae2d275537f2c55e6ff1c480fc1ff838341d252ca71f6d098e1e91b60a8341744c91721d0850886f9155de330de7a71b037b9b87ac514582587 musl-1.2.5-r5-riscv64-edge.apk
6d10394c2e778699645ed3a65a52bd1fead39aeea13371a83cacae4b301fd577b2cb8cd9779c285d1dafeebef99cbd09807b86013468fe74f45cac1498c400ff musl-dev-1.2.5-r5-riscv64-edge.apk
eb1e36d35decc8df6c383845e73a703bb5e0f322ca4ba8c346a54652f6d3c9c46d1eef901031ccfaa3a52a132963a67f35f791480f5918c091f3141775e1b1b9 musl-1.2.5-r9-riscv64-edge.apk
0cfa1711bc803674fb6504ed7466d73c2e35b735cbd78a5348bafd48973ed89afb877d966202d822f5e7d1064e99c1cc8452672478e3c6f30bac611328462c57 musl-dev-1.2.5-r9-riscv64-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-x86
pkgver=1.2.5
pkgrel=5
pkgrel=9
arch="x86_64"
subpackages="musl-dev-x86:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
5a556b306c4fe7969318c3af456dfa3b91f4a8563cf21d95154b27864d74baa68e99fc78302ac1b19f7aa3f72febb647959ef6c1c664798bbc8d411f8fe950f3 musl-1.2.5-r5-x86-edge.apk
52b49e9789176f47d6c00e0cf5e4ec66a70f1977ae86d4f8cbc33631e0f5586c8d745536aa04fcd612ec4aee9bfca2cc2e5beea0e5108d81a6a8e015a58d1666 musl-dev-1.2.5-r5-x86-edge.apk
809a21a20c1c0558c717b566c2fa53af05bb5eab0ca44bc1616b746f89fb4bf9ea05a733a6f4d6b674cd8d531c2734d3d44e38460c4939ac8e24423c91ad8e57 musl-1.2.5-r9-x86-edge.apk
be193ac93468095cbecd9fbc84ee16b9fc2f5e7f5181b6759669cb180cdd31daf1b094eb9585e1ddc9b27be7cedc931a51eaca09c1dce191826f8b6f1c15587d musl-dev-1.2.5-r9-x86-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-x86_64
pkgver=1.2.5
pkgrel=5
pkgrel=9
arch="aarch64"
subpackages="musl-dev-x86_64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
73c14308a84b80ffefa83e48322869a99c9adede367155493bee7f19e2be0846908cf52f0068748d641df9e19566c2fd49feda56e7848432054674a81c10f85e musl-1.2.5-r5-x86_64-edge.apk
8521be7365f75c68752c1527d32bc7c83a9f6670f5aff97752d9708607aaca04bf6afbed437192736f9e1baa85c1ff8f40dc75ce010554ac5ffbc777b9f0a6ac musl-dev-1.2.5-r5-x86_64-edge.apk
b762a06e161cfbdf3a62c155dd6b0d11d81b81543a2381b7ea0ccd56320f9ed14c52a19dd76033594cfefd3b5da20517a2fda3a7c94d7e43c0f378912237b62f musl-1.2.5-r9-x86_64-edge.apk
396a982f454b377df901bc465ec5e5ba8b91c2e9e9b6cd52ae28f83f4b5fbd673e7c79657ffa94d0d164e80d77dac813c5b7c51914fabcae3167d0bbc182b01a musl-dev-1.2.5-r9-x86_64-edge.apk
"
@@ -0,0 +1,51 @@
From 4cbffcd4f146ccceafccd9fa9d522640d1f0f519 Mon Sep 17 00:00:00 2001
From: Oliver Smith <ollieparanoid@postmarketos.org>
Date: Tue, 10 Dec 2024 08:33:54 +0100
Subject: [PATCH] libfdt.i_shipped: use SWIG_AppendOutput
Fix this build error with modern SWIG:
scripts/dtc/pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_next_node':
scripts/dtc/pylibfdt/libfdt_wrap.c:5578:17: error: too few arguments to function 'SWIG_Python_AppendOutput'
5578 | resultobj = SWIG_Python_AppendOutput(resultobj, val);
Patch is based on:
https://github.com/dgibson/dtc/pull/154
---
scripts/dtc/pylibfdt/libfdt.i_shipped | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/dtc/pylibfdt/libfdt.i_shipped b/scripts/dtc/pylibfdt/libfdt.i_shipped
index 27c29ea260..3bbbfb3c9f 100644
--- a/scripts/dtc/pylibfdt/libfdt.i_shipped
+++ b/scripts/dtc/pylibfdt/libfdt.i_shipped
@@ -1033,7 +1033,7 @@ typedef uint32_t fdt32_t;
fdt_string(fdt1, fdt32_to_cpu($1->nameoff)));
buff = PyByteArray_FromStringAndSize(
(const char *)($1 + 1), fdt32_to_cpu($1->len));
- resultobj = SWIG_Python_AppendOutput(resultobj, buff);
+ resultobj = SWIG_AppendOutput(resultobj, buff);
}
}
@@ -1072,7 +1072,7 @@ typedef uint32_t fdt32_t;
%typemap(argout) int *depth {
PyObject *val = Py_BuildValue("i", *arg$argnum);
- resultobj = SWIG_Python_AppendOutput(resultobj, val);
+ resultobj = SWIG_AppendOutput(resultobj, val);
}
%apply int *depth { int *depth };
@@ -1088,7 +1088,7 @@ typedef uint32_t fdt32_t;
if (PyTuple_GET_SIZE(resultobj) == 0)
resultobj = val;
else
- resultobj = SWIG_Python_AppendOutput(resultobj, val);
+ resultobj = SWIG_AppendOutput(resultobj, val);
}
}
--
2.47.1
@@ -2,8 +2,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-alcatel-idol347-downstream
pkgdesc="Alcatel OneTouch Idol 3 (4.7) (Downstream)"
pkgver=1
pkgrel=2
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -21,5 +21,5 @@ package() {
}
sha512sums="
2b6ba0e6e6d8f90d907a7a8089718c8a1ff8ee3ad0ea17f204e2e9fa2a514a06af9c2b91b7bfb0b8b8362ba2d44b53aad52fd88d506682f1f61b9fe6c19d206e deviceinfo
131bddf782050fd8301ebd242a5b19cd70c520f03fe2e8a2f0b7afba60cc3dc0330f3765395de70553fc172a116a02a9512c3fc189303cb09609e4adac76a799 deviceinfo
"
@@ -20,7 +20,6 @@ deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk androidboot.bootloader=L1BGC0C0BG00"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
@@ -1,7 +1,8 @@
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-kuntao
pkgdesc="Lenovo P2"
pkgver=3
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -29,6 +30,6 @@ package() {
}
sha512sums="
0eb7a1a0b10e79d4d8b64b22cda74ccd6f8ef1d5f30ac75dd08e3eb6858ac730f4cba4561adb74d23dc5cf118df6708ea4508c1fc4d347a7dd0ae510fb8b7f60 deviceinfo
5e0a1e6315c1bc85af7bc0c4ae58c817cfe4a373b1f65fe8a133310868e1ccb974d9648d5397a2a1566cf174b935e8b1717f23ede6096e77caa86f8fba29fe3f deviceinfo
2ce6911ef54351f46819b3323e361ce60297b30f94e81a77e2d20b1bc294e51e3a0fa859ad8e257fa3fdef404a47dd3b64c247222cb7ca73f03cb4dcd083d1f8 modules-initfs
"
@@ -34,3 +34,6 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -1,5 +1,5 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Clayton Craft <clayton@craftyguy.net>
# Archived: Not actively maintained, hw is very rare/unlikely to be used by anyone, and port is outdated/broken
pkgname=device-purism-librem5dev
pkgdesc="Purism Librem 5 Devkit"
pkgver=2
@@ -3,7 +3,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-coreprimevelte-downstream
pkgdesc="Samsung Galaxy Core Prime VE LTE downstream"
pkgver=2
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -24,6 +24,6 @@ package() {
}
sha512sums="
ec654952ea328489ced4268a78272977cca1a9356d86ea9794f5a0aa9387d7daeb1125419388a4ade0ea86cc6893178601eb7aa18a5886970a775e5ad78a59ba deviceinfo
00c8780dbc77e62e7d57a2b3e879881076204f3e58d50555778aa68feb0157f5b4207fdabbb4627888eeeda6a35182e8e199e49e4050244a60ce4e9e2d84bd99 deviceinfo
4854cc57b86e1199dbc165110514e672dabf45044fe9f7ebbde5b2b24768fb5497273b5f38612cf2dfeffc9bf0648c725114b4fa01165bf7fb02f7d741ee5806 90-coreprimevelte.conf
"
@@ -20,7 +20,6 @@ deviceinfo_create_initfs_extra="true"
deviceinfo_flash_method="heimdall-bootimg"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="true"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_bootimg_pxa="true"
deviceinfo_flash_offset_base="0x10000000"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-m0-downstream
pkgdesc="Samsung Galaxy S III"
pkgver=4
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -39,6 +39,6 @@ nonfree_firmware() {
}
sha512sums="
8e72ed82c9cfa5e1a95aa480392264a69a9fe5a6e0b3e40dde4fdd7ca157b20ea673d2183fc02d0e98d4971a94fc625c0df6a8065527173d1653b1c90d1ed232 deviceinfo
e43ad5a25aa5b0c499a8f7001feb236e428a185df0e51bf0b72f82550965e3050d10f8a4e6b0f92b11feec6f4bee734fac78bcbe8f55d8290d2544bd7ec3e811 deviceinfo
1376f0eb7c6ba459ca5c44b3eb7e9919d9c5f48d71ec30c006d1b4843e31cdade9f980415a166e977b2567b26f4e87d4554ee1143fdc62453d60a93bed129d06 90-android-touch-dev.rules
"
@@ -21,7 +21,6 @@ deviceinfo_flash_method="heimdall-bootimg"
deviceinfo_kernel_cmdline="console=ttySAC2,115200 buildvariant=userdebug"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x10000000"
deviceinfo_flash_offset_kernel="0x00008000"
@@ -2,8 +2,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-on7xelte-downstream
pkgdesc="Samsung Galaxy J7 Prime"
pkgver=1
pkgrel=1
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -52,7 +52,7 @@ lightdm() {
}
sha512sums="
d342e7d79922d2e4a313e6c0ad20172e841886aa9517522460699da0dc66cd83cfeab986e468b0427ebcd64d54ffbc39cf3ba56c5d839b560e34cbe6e36526f1 deviceinfo
eb8a2cfc57044f901b3ce75eda0001b58d5132ea52155d5e4bfa7361c1a19021759c0182c5ac01100145902dbebaaaf7965ded45487c6b4d0860a7d799d4cf94 deviceinfo
baee319b6d2f49a15680b0f322ec3e398a071d73fbf7713d14f26a1d027f8950457a482ac3f019605af3dfcf25bbb33ebaa0ffde181f7f96d911d56251c81eef lightdm.conf
efbe3d6217854c0131e61f9f3722100d349cb0673f4923bc3d56dae30a6346b0c33e676a39fc4c080150f6ea9457bf268abf870eea916a7d5daae1a22642a2b8 mount-efs.rc-init
3e5bb764529010d2b6b1f2759a7799f665d140aebcee2dd63433e68cd4282e09b5d3b34fb7c21e737595b406501e7f02ece4592651c60e4c2b9419de4aedb438 samsungipcd.rc-conf
@@ -21,7 +21,6 @@ deviceinfo_flash_method="heimdall-bootimg"
deviceinfo_kernel_cmdline="androidboot.selinux=permissive androidboot.selinux=permissive"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="true"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_offset_base="0x10000000"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-cepheus-downstream
pkgdesc="Xiaomi Mi 9"
pkgver=1
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -25,5 +25,5 @@ package() {
}
sha512sums="
ee52ac16542a599f397fba5ddbb82028d666dec7f509a4b9298df248ac98a129c7f2eb4452282c5de38f7f97516da6ba70ea027a0fea075881f6a7f5d2ca10c7 deviceinfo
f71fef16c5a10a49b5ff56971a50224bc4a3c59075276ce2c4fc4f94307d3e39e006942d9f5fe4711058b0ce83b1df44e491efb9b67781662e042878556fe03d deviceinfo
"
@@ -22,7 +22,6 @@ deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xa90000 androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=2048 loop.max_part=7 androidboot.usbcontroller=a600000.dwc3 buildvariant=user"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_offset_base="0x00000000"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-daisy
pkgdesc="Xiaomi Mi A2 Lite"
pkgver=12
pkgver=13
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -43,7 +43,7 @@ fake_goodix() {
}
sha512sums="
a958e29c8ba4c079ee64a9882fe14ad03e7751ba4c2416a4bda07b0ee4e0342d5d6e3d43c95b05f47dabe06ff5be759401287da3c58ef0ecb31c8cba515cd560 deviceinfo
83b468ba3250896f9ade6cbc0c9defeb4fec4f9f3513c0bfdf2530197547a668e3940351430c0dbf1ca93e195b30208a47f92a44c31db64d0332dcb3db3bb3a5 deviceinfo
7202f0a55dfe43348940412fc38e59c855594b070db8742419feadb2299086d5810107201a228b7137b7cc7a97c94afac95d81c0cd65c52f31dbcb619b0a4279 modules-initfs
a2608b01b7b6e2dade694af355ff4f0f26cad49cf54bc332c77eb75d19fdc985f7f996fedb72753de447be0391deabf5fcea52406791d1e6e0d165703b63f145 90-device-xiaomi-daisy.rules
"
@@ -34,3 +34,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-markw
pkgdesc="Xiaomi Redmi 4 Prime"
pkgver=7
pkgver=8
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -31,6 +31,6 @@ package() {
}
sha512sums="
d5ecef8983110624e0cd69feed5f105204f8323e718435b19ffafa37cbe73d1c37a4d1d1cfb53d338dfeffa91ade137b3cf7c7b9f48408002c04260bbd3b5e65 deviceinfo
a31f4e9612407662e3f0de56ed892073449d3d39452026f8f73d3e300ea01636a966970c7c93ec748c468876d232a54c18e6fe2ec0e967093b166db60705f764 deviceinfo
0cba88d7ede62dc7c47feefb27d10e58e4c93498bec97cd274a1d10c4f16dff06c5472ed555170e0392a57c9269cc50bf550523f41bf1ba6c600af533302574b modules-initfs
"
@@ -33,3 +33,5 @@ deviceinfo_flash_sparse="true"
# osk-sdl
deviceinfo_mesa_driver="msm"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -1,7 +1,7 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
pkgname=device-xiaomi-mido
pkgdesc="Xiaomi Redmi Note 4X"
pkgver=8
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -30,6 +30,6 @@ package() {
}
sha512sums="
3424c103cc2878480527f57d75e122cfc5c95ffa66bf7133067dd691e664fee14ba43a626f70c5b2ffb70cd24a08b026e0571e99e390c0a485a3491e28883cda deviceinfo
cf450799dbb70f9ce40f6eb431493b3675e8ad1ae19048b2b62f0b2fc53897ebcbe578b57c29132450e26afe2b3739546eb31191e94d9e6b2aa028ef5878ec9f deviceinfo
9f534c76689728c3fa699ac8c854ca82815d5158a3675a70ef879ddbf140460977187dc3c1a799dadd0ab53d5a08b6275a1594a7b976eda983f3e78b2738a8be modules-initfs
"
@@ -32,4 +32,5 @@ deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -3,7 +3,7 @@
pkgname=device-xiaomi-onclite
pkgdesc="Xiaomi Redmi 7"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -32,6 +32,6 @@ package() {
}
sha512sums="
38630c72060697f3404e3832a21f1d9a3e365303c37e71e0df152f059e2607086718f115109e7d68e4906c6052a69f3b6649f8e2c2fd87708b9b2bedd154489e deviceinfo
a37d2baf856bbd734b9571ded15aa24c8800350295169b9d543b10cd225eadbdf36a1ebbb4d72369f0f117662de6e8f43cdd2f095893ef3ef3f201b6c98e8a73 deviceinfo
706e76054992dfd03ef240e0de2d7e84a77c97727141fa8d737b02c9d780f60c2df57755e17c44d93136aa6a6d1f8a8d9dbbf51d11674e5fb67197bd313811fd modules-initfs
"
@@ -38,3 +38,6 @@ deviceinfo_flash_kernel_on_update="false"
# osk-sdl
deviceinfo_mesa_driver="msm"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -3,7 +3,7 @@
pkgname=device-xiaomi-rosy
pkgdesc="Xiaomi Redmi 5"
pkgver=3
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -32,6 +32,6 @@ package() {
}
sha512sums="
7492d71babd34e34d3e69e82b538b8369cf46bd83da3ceb39ee1a36f7ecfaf09b01621acc23417041b4fd0ce8115e1364bafa051c75a04767f7c6e1d84858425 deviceinfo
7c8cb91b8b5e2405e371f614791a7354cafe81427c8f2ee190282edfbdfe0be6df37621f950a8040de29d9e5bee9379f05c3ef3681dc383db1b49d1432856e57 deviceinfo
ddc4e788c7cf62a1f0d6228f3bb59b89cba8f30c06d99c945477b0c1931721aefa3dc77e9f90ae3f0ad78979b9c7b228984e0bfd961b3e5eac62961830682939 modules-initfs
"
@@ -35,3 +35,6 @@ deviceinfo_flash_sparse="true"
deviceinfo_dtb="qcom/sdm450-xiaomi-rosy"
deviceinfo_append_dtb="true"
deviceinfo_flash_kernel_on_update="false"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -4,7 +4,7 @@
pkgname=device-xiaomi-tissot
pkgdesc="Xiaomi Mi A1"
pkgver=8
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -34,6 +34,6 @@ package() {
}
sha512sums="
4ea529e8822f268773e043dec4af4c419803e3220bc0bc85def1c07ee480efd5f33b2f8f74007aaf7d608926048c49d4dfc1d529f6501cebf5aba0f183ac9cd0 deviceinfo
a20e73d01823cfa5a5796c4a3725ab7a594bd8ae8cb46c3d2326d5f15fd19086b37dac1f5d5e19b222215d3275df585537ef26f15bfced2dd007975d14eb4968 deviceinfo
4284d7c184f364d81a06de962808cb240b713cda11381ddcec5acdfbb4d4962922b64b2f2675ab463961c0510352211ec439a6b9e4ebdc47bf73980133e9626a modules-initfs
"
@@ -38,3 +38,6 @@ deviceinfo_flash_kernel_on_update="false"
# osk-sdl
deviceinfo_mesa_driver="msm"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-vince
pkgdesc="Xiaomi Redmi 5 Plus"
pkgver=14
pkgver=15
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -34,6 +34,6 @@ package() {
}
sha512sums="
902eea9986467553e129c11a387919f21aed496d09475e6fd3b8fa44b036c79f2705b9ccda9caa0e2954b62cc5bafe761bdf734de871463020926c7263032e44 deviceinfo
bc0db9190fdef9859e7dedc0439f350ce8716a59efa5a182e12985c2435e2f1a624ddb85d1d3b89c60d452e813c90a8a9eb888db5a83422d6d225363c84e5072 deviceinfo
69cfc8db6ea497576085e1b5861c766b5c6cfbd493e4d66aa0bfa29a0e80eeaeb8a465c4841c6a7959796f5a2325e621d60f2c35ccb0741d7934ab310abe807f modules-initfs
"
@@ -38,3 +38,6 @@ deviceinfo_flash_sparse="true"
# osk-sdl
deviceinfo_mesa_driver="msm"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -2,8 +2,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-wt88047-downstream
pkgdesc="Xiaomi Redmi 2 (Downstream)"
pkgver=1
pkgrel=3
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -21,5 +21,5 @@ package() {
}
sha512sums="
30d1e79a3cafe22a307ace6a4897077e21e93a3433a8c2c636368fb037328d82a22009f6631c8c74481fe030fff9fef846b90a93ecadbc44484558ceb1a4b78f deviceinfo
2b101a3143cf3201bb20e8896ecf432bb4b7e6127eb82dd598f9e225338f7b510fe6658701656a5eed5969d691ff699424bda5f27b8a112115f3ab7e33439a68 deviceinfo
"
@@ -21,7 +21,6 @@ deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 loop.max_part=7 phy-msm-usb.floated_charger_enable=1 buildvariant=userdebug"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="true"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-ysl
pkgdesc="Xiaomi Redmi S2/Y2"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -31,6 +31,6 @@ package() {
}
sha512sums="
a985591e27192acc03a3218ae7e419aa557b6219139058f3269ff5c3bb5f695c2af1af8157c55331d4238d9fb179c0492db660e7212a100bd3c5c31e37d623fe deviceinfo
2348d7622b6638a3c2beb6a5ba9eee3375614e2a63f5e1474740d9cf4c822c9963b6fbbec17354c4a3d14eeaeec5644f75f939e80d551adeb1b2455280406220 deviceinfo
b5e4f6dec04a9a7d7231a62d8b60e17a9a5265768eb80050225c0f57b8188ec108d8b7155ccb70ba95201906b653d19ef33a0ff04072da040b0242d7032b103d modules-initfs
"
@@ -31,3 +31,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -1,6 +1,6 @@
# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=alsa-ucm-conf-qcom-sdm670
pkgver=1.2.9_git20241012
pkgver=1.2.9_git20241211
pkgrel=0
pkgdesc="ALSA UCM configuration for SDM670 devices"
url="https://gitlab.com/sdm670-mainline/alsa-ucm-conf"
@@ -8,7 +8,7 @@ arch="aarch64"
license="BSD-3-Clause"
provides="alsa-ucm-conf"
provider_priority=1
_commit="437f49545593a3e285feff1820bc1a282213af45"
_commit="80bbe11220dcb5db4f2b3e65f1e1783d4935f902"
source="https://gitlab.com/sdm670-mainline/alsa-ucm-conf/-/archive/$_commit/alsa-ucm-conf-$_commit.tar.gz"
options="!check"
@@ -19,5 +19,5 @@ package() {
}
sha512sums="
4e0edfaf6451bc0177e2115f21ef00504abf2b974e7f8eb8e5f4089f11ff6d2692ff07965946eb9086b1dce7016ab14bdc998bbf6f72ae9da00d83678ed5c956 alsa-ucm-conf-437f49545593a3e285feff1820bc1a282213af45.tar.gz
489c9807e7667e2246426970009d2dbed0267d797764a8766f37375e6bf2d4d0035ab46d205acb9e96748d2257083ae816639cd559b292e2551ab7481a9040f9 alsa-ucm-conf-80bbe11220dcb5db4f2b3e65f1e1783d4935f902.tar.gz
"
@@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-arrow-db410c
pkgdesc="Arrow DragonBoard 410c"
pkgver=4
pkgrel=1
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -32,6 +32,6 @@ nonfree_firmware() {
}
sha512sums="
b7431dcf918509458637442814d6f91f1532c75cd483be65d14dedd7af81f2f565187a190b3e3537474d00eec71cdb4ef6eb7fe3246ecde5a6c7b92593e71207 deviceinfo
748f5953d059f6765b041910bc8d7654a9e92d54d1646d8b90a4cdf5a66087f9a1917c7d1bddba994d2cc65d5b2ce422d6fb4650f771819b9f3f9ff33342be99 deviceinfo
ccd6758cb4954eb0a96c7fb15e732e8147414f8edc498d9faf7d04ddef85d817733669ec1a6003e623e8392f3f6bb85f71160efe4e82f27e300d58aa6f5c8549 modules-initfs
"
@@ -33,3 +33,6 @@ deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
deviceinfo_flash_fastboot_partition_rootfs="rootfs"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
+3 -3
View File
@@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-bq-paella
pkgdesc="BQ Aquaris X5"
pkgver=8
pkgrel=1
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -38,6 +38,6 @@ nonfree_firmware() {
}
sha512sums="
75e857f36f627d1ef209bfc79bac574b432ecb93a0e0de131675de43c43cef15e455284bab7b635376d21fd908e8cd21e6e918c6bd03c6e711179489f56e39a5 deviceinfo
ec9416137ac7e49f564428bd92811ecc557567d3ee9b73061bab6da4d818fbecbbe70d179b91ef98576244bb6793e64b8add8d82a3a0398c5f542ba18978b58f deviceinfo
ebf6a40372329116a25df1407e671365bb2bf0613f61f0a572fc77890fb0a1760259ab35ed9f002ef2a5c6ee8836bc7bbeb50bf5ac3de14c11e6d96872ad3644 modules-initfs
"
@@ -31,3 +31,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -2,8 +2,8 @@
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
pkgname=device-fairphone-fp4
pkgdesc="Fairphone 4"
pkgver=3
pkgrel=1
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -73,7 +73,7 @@ openrc() {
sha512sums="
2c16ba75e0077b2b1eaefa4c73b287475505a1aeb291ec29316d41cc094277320f9d2aaabfd91eb1dc0f488ab2d61a94faef16e7afe0f1e226779113761b9a37 81-libssc-fairphone-fp4.rules
2974ccc172bf1299daeb0bc746879b3a1db1fbc3a2b163a02a6554fed6ed9f733144bcf976cd2441c5664d496dcce3ae943f4314c653470dc07dda0de5ad632b 90-feedbackd-aw8695.rules
9549f105f865d230e7b67819c96b7e06a5ed4d5808f083099a408934ffbacdb412984b861f6756fa4fde94b51e6a268b8d2ce9fed6f13ee3e8041bb96492310a deviceinfo
97629090e9d08391ec9ee9f84cf40b9710c9dffc09609f056a27869acc8f87e176765f6e8f9800ef29872df8f48a2e085eeaaaf69f38f8a97ecb1d19ac9c79eb deviceinfo
6a3d620f2cc60308a62ff651ffb00a5ee1f092131cca9d33b6afd61c8a372a3fd7d46540162213593107e0943b33f3f0119d003d43dcd06dbde757390a6c1729 hexagonrpcd.confd
52bb7ed829caa4dcff9728bd6e3cdf118b3c7ee7dfe90df0d4e6422dd67bf3258ae2a4d2dc7599da4182fbd8eb47a0e1d20c58198dc17f2bf178b8f01a8887f7 modules-initfs
"
@@ -26,7 +26,6 @@ deviceinfo_flash_method="fastboot"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_offset_base="0x00000000"
+7 -3
View File
@@ -3,7 +3,7 @@
pkgname=device-google-gru
pkgdesc="Google Gru Chromebooks"
pkgver=8
pkgrel=0
pkgrel=1
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=$pkgvar-r$pkgrel openrc"
depends="eudev-hwids>=3.2.12-r0"
mkdir "$subpkgdir"
}
sha512sums="
d0d5e47e7bc6f63f92669a315611c36972e2f06a32c1339ac551f23db023331fb6e1cdbbe4dc2022596aaf8083967951c43585a3aa32c4fddc8d8987bc20c092 deviceinfo
@@ -2,8 +2,8 @@
# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=device-google-sargo
pkgdesc="Google Pixel 3a"
pkgver=6
pkgrel=5
pkgver=7
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -84,7 +84,7 @@ sha512sums="
f700af3145b79d1ef9edfb22982899b25cabfb212f9620dcbd3a2e6f44b5ad591e0a66056c6fcd66c3fde89a2b5f551e8a8fe2e65cf0e2a48adec57c027d7825 10-unl0kr-msm.conf
089ce0acba4e1d789e337bedfca7570796a6416e7230ae9b8fc6b625747a40dbb064b1a707877cd6b7bdc73844c6571316e2ec0746a77060f13d98c52fdbfc00 81-libssc-google-sargo.rules
016d398155f2344417f5e5649a361719ba6e53e593c501b5df39114cdd284302b9bf8686a39817aee0c08fec95b3ab613c181d6cc9596299aaf7fd05dbe0c3dd 90-feedbackd-drv2624.rules
8af19da4e4a4a59c49263722065229fae849c3273af313300b7ea1b8fe008c6e55cfd060b91909306dd600134e2494f740adda245707dbcff84b1ab2f37dbde7 deviceinfo
ad032b1a35cfcd4fc0c8df988430ee97b711e785b86cca68b7552b23a9a2e2b6b97c327e3415a575db47ad6c1f86ded18df5553acaae63010057d89b8c16135e deviceinfo
b6208c254b6e44ac4f6d748a38cc6b05da0db2c90235ada2011b138b82ccc3372687df2f5ad97e885e9eea135216a3c52266a08a7f4eb323e62e799f6f82ec7b hexagonrpcd-adsp-sensorspd.confd
3213a3586c25cef843a47e2446179ff73acad6421826a64bedb6b9800d30673503d0ea6b3fcc8cfbdcdcaf0926755a489323fce9d14d4411799e6988144b3518 modules-initfs
2972005a9cf6ca57061965075593dddfa8ee479bc6c21cd41851b1a14768cb1cddbd31a17975ae17adc36d40d294ccbc6bf83defbd69fc7b363f638d8564fbbc no-hexagonrpcd-on-suspend.sh
@@ -22,7 +22,6 @@ deviceinfo_screen_height="2220"
deviceinfo_flash_method="fastboot"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_offset_base="0x00000000"
@@ -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
Loaded 100 of 1347 files, more files were not shown because too many files have changed in this diff. Show more