Compare commits

...
736 Commits
Author SHA1 Message Date
Aster Boese a482f41540 systemd/systemd: lower systemd-resolved provider_priority
Currently we do not package the configurations needed to use systemd-resolved
as a replacement for openresolv. Without this patch current systems that have
wireguard-tools installed will automatically pull systemd-resolved.

See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/80058/diffs
2025-02-28 01:23:22 -05:00
adamthiede 4af4a32b2f linux-postmarketos-mediatek-mt8173: upgrade to 6.13.5 (MR 6262) 2025-02-27 23:39:19 +01:00
Sicelo A. Mhlongo 6589a57e26 device-nokia-n900: force SD card partition resizing (MR 6257)
Reverts 82a8d55197 (device-nokia-n900: drop partition resize cmdline option
(MR 6164)) since it seems resizing does not actually take place automatically,
at least as far as the N900 is concerned

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Add board support in testing.

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

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

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

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

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

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

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

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

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

fixes 2238b8e734

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

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

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

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

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

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

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

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

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

Refine nonfree firmware dependencies:

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

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

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

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

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

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

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

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

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

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

Depend on new alsa ucm config package.

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

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

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

Add bootmac to set bt mac address.

Install nonfree firmware unconditionally.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Tested Community Devices:

    - xiaomi-onclite
    - motorola-potter

Changes

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

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

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

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

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

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

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

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

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

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

Also fix the q6voiced.conf path while on it.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fixes: postmarketOS/pmaports#3510

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fix use of REPLACE_GCCH=0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This should be moved to tinydm upstream later on.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

No files matched your search

+2 -1
View File
@@ -43,7 +43,7 @@ update_linux_next() {
# shellcheck source=/dev/null
pkgver=$(. device/testing/linux-next/APKBUILD; echo "$pkgver")
curl -s "https://gitlab.com/linux-kernel/linux-next/-/tags?format=atom" | grep -oP "(?<=<title>)[^<]+" | tail -n +2 > /tmp/tags
curl -s https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/refs/tags/ | grep -oE "<a href='.*'>(.*)</a>.*\.tar\.gz</a>" | awk -F'[<>]' '{print $3}' > /tmp/tags
latest=$(grep -v "v" < /tmp/tags | head -n1)
if [ -z "$latest" ]; then
@@ -71,6 +71,7 @@ update_linux_next() {
echo "Updating linux-next from $pkgver to $new_pkgver..."
sed -i -e "s/pkgver=$pkgver/pkgver=$new_pkgver/" device/testing/linux-next/APKBUILD
sed -i -e "s/^pkgrel=.*/pkgrel=0/" device/testing/linux-next/APKBUILD
# Update the checksums
pmbootstrap checksum linux-next
+27 -9
View File
@@ -110,14 +110,32 @@ 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"])
# filter out packages that can't be built for arch
# (Iterate over copy of `systemd_pkgs`, because we modify it in this loop)
for package in systemd_pkgs.copy():
apkbuild_path = pmb.helpers.pmaports.find(package, True, True, with_extra_repos="enabled")
apkbuild = pmb.parse._apkbuild.apkbuild(pathlib.Path(apkbuild_path, "APKBUILD"))
if not pmb.helpers.pmaports.check_arches(apkbuild["arch"], arch):
print(f"(extra-repos/systemd) {package}: not enabled for {arch}, skipping")
systemd_pkgs.remove(package)
# No packages: skip build
if len(systemd_pkgs) == 0:
print(f"no packages changed, which can be built for {arch}")
verify_only = common.commit_message_has_string("[ci:skip-build]")
if verify_only:
# [ci:skip-build]: verify checksums
print("WARNING: not building changed packages for extra-repos/systemd: ([ci:skip-build])!")
print("verifying checksums: " + ", ".join(systemd_pkgs))
verify_checksums(systemd_pkgs, arch)
else:
# Build packages
print(f"building in strict mode for {arch}, from extra-repos/systemd: {', '.join(systemd_pkgs)}")
build_strict(systemd_pkgs, arch)
verify_only = common.commit_message_has_string("[ci:skip-build]")
if verify_only:
# [ci:skip-build]: verify checksums
print("WARNING: not building changed packages for extra-repos/systemd: ([ci:skip-build])!")
print("verifying checksums: " + ", ".join(systemd_pkgs))
verify_checksums(systemd_pkgs, arch)
else:
# Build packages
print(f"building in strict mode for {arch}, from extra-repos/systemd: {', '.join(systemd_pkgs)}")
build_strict(systemd_pkgs, arch)
+1 -3
View File
@@ -21,12 +21,10 @@ 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
./device/community/soc-qcom/call_audio_idle_suspend_workaround.sh
$(find . -path './main/postmarketos-ui-*/*.sh')
$(find . -path './main/postmarketos-ui-*/*.pre-install')
+3 -69
View File
@@ -14,9 +14,6 @@ import pmb.parse._apkbuild
from pmb.core.pkgrepo import pkgrepo_default_path, pkgrepo_iglob, pkgrepo_relative_path
from pmb.core.arch import Arch
# Cache for codeowners_parse
codeowners_parsed = {}
# Don't complain if these nicknames are the only maintainers of an APKBUILD,
# because they are actually a group of people
gitlab_groups = [
@@ -47,8 +44,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 +57,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():
@@ -103,72 +99,12 @@ def test_aports_device_kernel():
f" <https://postmarketos.org/devicepkg>): {path}")
def codeowners_parse():
global codeowners_parsed
pattern_prev = None
aports = pkgrepo_default_path()
with open(aports / "CODEOWNERS") as h:
for line in h:
line = line.rstrip()
if not line or line.startswith("#"):
continue
pattern_nicks = line.split()
assert len(pattern_nicks) > 1, f"CODEOWNERS line without nicks: {line}"
pattern = pattern_nicks[0]
if pattern.endswith("/"):
pattern += "*"
nicks = []
for word in pattern_nicks[1:]:
if word.startswith("@"):
nicks += [word]
codeowners_parsed[pattern] = nicks
if pattern_prev:
assert pattern_prev <= pattern, "CODEOWNERS: please order entries alphabetically"
pattern_prev = pattern
def require_enough_codeowners_entries(path, maintainers):
"""
:param path: full path to an APKBUILD (e.g. /home/user/…/APKBUILD)
:param maintainers: list of one or more maintainers
"""
_, path = pkgrepo_relative_path(path)
nicks = set()
for pattern, pattern_nicks in codeowners_parsed.items():
if fnmatch.fnmatch(path, pattern):
for nick in pattern_nicks:
nicks.add(nick)
print(f"{path}:")
print(f" APKBUILD: {maintainers}")
print(f" CODEOWNERS: {nicks}")
if len(nicks) < len(maintainers):
for nick in nicks:
if nick in gitlab_groups:
print(f" -> {nick} is a group")
return
assert len(nicks) >= len(maintainers), \
f"{path}: make sure that each maintainer is listed in CODEOWNERS!"
# @pytest.mark.xfail # Not all aports have been updated yet
def test_aports_maintained():
"""
Ensure that aports in /device/{main,community} have "Maintainer:" and
"Co-Maintainer:" (only required for main) listed in their APKBUILDs. Also
check that at least as many are listed in CODEOWNERS.
"Co-Maintainer:" (only required for main) listed in their APKBUILDs.
"""
codeowners_parse()
for path in pkgrepo_iglob("device/main/*/APKBUILD"):
if 'firmware-' in path.parent.name:
@@ -176,14 +112,12 @@ def test_aports_maintained():
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers and len(maintainers) >= 2, \
f"{path} in main needs at least 1 Maintainer and 1 Co-Maintainer"
require_enough_codeowners_entries(path, maintainers)
for path in pkgrepo_iglob("device/community/*/APKBUILD"):
if 'firmware-' in path.parent.name:
continue
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers, f"{path} in community needs at least 1 Maintainer"
require_enough_codeowners_entries(path, maintainers)
def test_aports_unmaintained():
@@ -10,6 +10,7 @@ expected_directories = [
"device/community",
"device/main",
"device/testing",
"extra-repos/systemd",
"main",
"modem",
"non-free",
+1
View File
@@ -25,6 +25,7 @@ def test_aports_firmware():
"firmware-samsung-maguro", # Depends on firmware-aosp-broadcom-wlan
"firmware-xiaomi-ferrari", # Depends on soc-qcom-msm8916
"firmware-xiaomi-willow", # Doesn't build, source link is dead (pma#1212)
"firmware-samsung-i9105p", # Depends on firmware-aosp-broadcom-wlan
]
for path in pkgrepo_iglob("**/firmware-*/APKBUILD", recursive=True):
+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
+15 -8
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,9 +105,12 @@ 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-*
script:
- .ci/lib/gitlab_prepare_ci.sh
@@ -130,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
@@ -154,21 +157,25 @@ build-x86:
build-aarch64:
extends: .build
tags: [arm64]
script:
- .ci/build-aarch64.sh
build-armv7:
extends: .build
tags: [qemu]
script:
- .ci/build-armv7.sh
build-armhf:
extends: .build
tags: [qemu]
script:
- .ci/build-armhf.sh
build-riscv64:
extends: .build
tags: [qemu]
script:
- .ci/build-riscv64.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
+19 -6
View File
@@ -34,35 +34,44 @@ 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-sm7150/ @Adrian @jiaxyga @ungeskriptet
device/*/*-qcom-sm8250/ @jianhua
device/*/*-qcom/ @calebccff
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-davinci/ @Adrian @ArianK16a
device/*/*-xiaomi-elish/ @jianhua
device/*/*-xiaomi-markw/ @vipaoL
device/*/*-xiaomi-mido/ @barni2000
device/*/*-xiaomi-scorpio/ @Tooniis
device/*/*-xiaomi-surya/ @jiaxyga @ungeskriptet
device/*/*-xiaomi-tissot/ @jiaxyga @barni2000
device/*/*-xiaomi-vince/ @M0Rf30
device/*/*-xiaomi-wt88047/ @Minecrell
device/*/*-xiaomi-ysl/ @barni2000
device/*/alsa-ucm-conf-cros/ @WeirdTreeThing
device/*/alsa-ucm-conf-qcom-sdm670/ @flamingradian
device/*/device-fairphone-*/ @z3ntu
device/*/device-apple-n61/ @JustSoup321
device/*/device-generic-x86_64/ @craftyguy @ollieparanoid
device/*/device-google-nyan-big/ @jenneron
device/*/device-google-nyan-blaze/ @jenneron
@@ -82,12 +91,12 @@ device/*/device-postmarketos-trailblazer/ @calebccff
device/*/device-qcom-msm8909/ @wonderfulShrineMaidenOfParadise
device/*/device-qemu-aarch64/ @Minecrell @ollieparanoid
device/*/device-qemu-amd64/ @Minecrell @ollieparanoid
device/*/device-qemu-riscv64/ @Minecrell @z3ntu
device/*/device-qemu-riscv64/ @Minecrell
device/*/device-qualcomm-sdm845/ @calebccff
device/*/device-raspberry-pi3/ @fossdd
device/*/device-samsung-chagallwifi/ @Grimler
device/*/device-samsung-coreprimevelte/ @legolivesmatter @balejk
device/*/device-samsung-j5y17lte/ @andrisas
device/*/device-samsung-j5y17lte/ @andrisas
device/*/device-samsung-klimtlte/ @Grimler
device/*/device-samsung-lt01/ @knuxify
device/*/device-samsung-m0/ @Newbyte
@@ -107,14 +116,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
@@ -123,7 +134,7 @@ device/*/linux-postmarketos-rockchip/ @QC8086
device/*/linux-postmarketos-stericsson/ @Newbyte
device/*/linux-samsung-chagallwifi/ @Grimler
device/*/linux-samsung-coreprimevelte/ @legolivesmatter @balejk
device/*/linux-samsung-j5y17lte/ @andrisas
device/*/linux-samsung-j5y17lte/ @andrisas
device/*/linux-samsung-klimtlte/ @Grimler
device/*/oem-amd/ @craftyguy
device/*/oem-intel/ @craftyguy
@@ -142,6 +153,8 @@ main/postmarketos*gnome*/ @pabloyoyoista @Newbyte @fossdd
main/postmarketos-initramfs/ @calebccff @craftyguy
main/postmarketos-ui-i3wm/ @fossdd
main/postmarketos-ui-phosh/ @pabloyoyoista @Newbyte @fossdd
main/postmarketos-ui-plasma-bigscreen/ @PureTryOut
main/postmarketos-ui-plasma-desktop/ @PureTryOut
main/postmarketos-ui-plasma-mobile/ @PureTryOut
main/shutdown-clear-rtc-wakealarm/ @Arnavion
main/ttyescape/ @calebccff
+3 -4
View File
@@ -9,14 +9,13 @@ branch_aports=master
mirrordir_alpine=edge
[v24.12]
description=Upcoming stable release (DO NOT USE)
description=Latest release / Recommended for best stability
branch_pmaports=v24.12
# FIXME: branch_aports=3.21-stable is not available yet
branch_aports=master
branch_aports=3.21-stable
mirrordir_alpine=v3.21
[v24.06]
description=Latest release / Recommended for best stability
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=8
pkgrel=14
_arch="aarch64"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
d815c97080b7c82b8335942438d636072918559e5c9343fc827d423521365eae362302f11f29cdb316bdbca4b3348fee563a64518b0f9d954bff23df92bbf85d busybox-static-1.37.0-r8-aarch64-edge.apk
8f1f521eceb24a5f66e18e022b1151e96b40378051aaed911dc22e68dbffc5998c8f2bac3935423371c7e707f8931e97873c91c39d56dc2e34292567b3caceaf busybox-static-1.37.0-r14-aarch64-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armhf
pkgver=1.37.0
pkgrel=8
pkgrel=14
_arch="armhf"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
92026d1b08e9d6e7075af8d7eae4c5841451bd61ddf74b094e458c7b7a2ad4f18a7d250f354ffd60dc5191fe38991b94026b8597836609b82c46949bd7aba134 busybox-static-1.37.0-r8-armhf-edge.apk
ce7dfd41a149faed98ae5ae08695223b57e8104a47c9c4c0e956a8c7cbd7fbc6b53b247f2c0f0633d72aa0aba8688f6ecfdd9784722b655f3c29dc1a2557f3e1 busybox-static-1.37.0-r14-armhf-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armv7
pkgver=1.37.0
pkgrel=8
pkgrel=14
_arch="armv7"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
5f8b0a2911c7ddbe267f18a5df70eeb801a8b44de117bf6a5ac0677bc5b613c302f7d8a11fe6753c710ad38274561525243d90dc535c0b1119511b3ef6bf17f9 busybox-static-1.37.0-r8-armv7-edge.apk
2f7003d0de894299a0260efd97bddfabd8d14d0e4b624445a77367036ad33c7ad65a85ee758969e671599ded5ee5674bda755c570ca4d9e95bba9c02b5788b8f busybox-static-1.37.0-r14-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=7
pkgrel=10
arch="x86_64"
subpackages="musl-dev-aarch64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
27dc4642eb9473b3654efb31b1dab92c72774a6fbe2f45d58772becf5bb64f0eb566c656a78bb589fcae5d8ed573b1405bc2d0fb8009d57abf1ecfbc2f39f27b musl-1.2.5-r7-aarch64-edge.apk
42406d25d542e10b23a428a42ffbf76952899b9c840b31939d21bda32a866ceb2921d77619be5a26d31a2100d2fdf8df945b3c14dcba6d8c58f615646d4937d3 musl-dev-1.2.5-r7-aarch64-edge.apk
8276aa0ce7368b87bf97f37d600639d475c059b984061125c6b648d2fecb838d87c8de9f19af32bad5862845c05368ccec0b328af3beb0fedc89a7ec0fb3babb musl-1.2.5-r10-aarch64-edge.apk
2da7a285fee8a1f2386d4a75cbf3c75cfbbaf88c617d50af0e0440fcd5d9825183772bb13f55f885137d6519c606791d3a8c576c5202818b2289f0db4c98720d musl-dev-1.2.5-r10-aarch64-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-armhf
pkgver=1.2.5
pkgrel=7
pkgrel=10
arch="x86_64"
subpackages="musl-dev-armhf:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
bff3534bc0b2b715561878b686d47640f6442fc65ea7133321426effe446af292d872fa6aa35490fa9c0f5fce10266f7f1813544866a8da1a9e86b73e3cd91d5 musl-1.2.5-r7-armhf-edge.apk
de43f7db88de107a99d750a2366d223fc53149adf6b7bc5a1532ad1484b33fa149171773c7d5077a84aac6336045abf59148461cc21fdd78ee0553c10ed9a326 musl-dev-1.2.5-r7-armhf-edge.apk
18e90cbe16c8084cbf8d91b36decde0d520778946258d4c84908e639741843d21b7e9e610f007e5126dcc6a3ba2289a862bc18cfd9b21d3bc64161483a5704cf musl-1.2.5-r10-armhf-edge.apk
7b46a6eb791beb511d9d40c5de3fc08d9b2fbf82b0538dfb171cdafd16d719687d3bb55e718a0f1eefcd0a8342d81fcb258928a3209ab1a874015054f5ffe501 musl-dev-1.2.5-r10-armhf-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-armv7
pkgver=1.2.5
pkgrel=7
pkgrel=10
arch="x86_64"
subpackages="musl-dev-armv7:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
e0f140c339f2963f7522a9d3c7bf45089c47cc7ef6b4cbe31c7db60012f8e66141cfecfe824706ad88a85e1169fea3c29e4db869cae768da7b885eb5b49097f7 musl-1.2.5-r7-armv7-edge.apk
783fb95ba265720757d1a9e9c5dbb5871f71cac2ad66651292a96c53c09b0c380ee37f9476f72296617f596a2f0db9ab3099c14ec4b2714690af6c8b3f90733a musl-dev-1.2.5-r7-armv7-edge.apk
cfd51c4655b612815af1e888228244640a4516dd8edd7a75131d6634c96d8ea6028e780b3c3e870dd22c4f89788f9f12594b4900a8df287161059687f1630857 musl-1.2.5-r10-armv7-edge.apk
88f482c389479817700a5b2c8609bae9d152303b92b1a9c7bd464aa990975b7bd0990c7b185d6c66ecd0c3c0c5f7579fc52a618d4393e511e112c8992d682693 musl-dev-1.2.5-r10-armv7-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-riscv64
pkgver=1.2.5
pkgrel=7
pkgrel=10
arch="x86_64"
subpackages="musl-dev-riscv64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
5d0c646a7a6ecc410f4aea70e860078d12f695c88e57cb95fe3858ad23ae5b1d2abad314e78bd25c213fc3c152dc4ea9a7c34fdfac29be0b67396a3c318f334c musl-1.2.5-r7-riscv64-edge.apk
813a6e2b981e8a6633db2a850c8cc11fa21c5349ccbbc4cafe618b85670ff142db1d82a9d4dcf73dd35f95871bbfa9e1f5319b9c78486f9b2f8fec35e721de2d musl-dev-1.2.5-r7-riscv64-edge.apk
4c76e3c4e94ab96d49c51ad01205e846280f851cff06b8c6ab8269d2ac99bbede29da9600fa60130c266d95da21bccdb00ad4b18123964774835e8014611e53e musl-1.2.5-r10-riscv64-edge.apk
27e6923fb43b1cd87b15e42edec6c658b7983b4e8c001bb67f5fc79cb124a46af92440e75676460eb3bed3a7acdd5ad142f03ba7dd040aae056431b8cc56818d musl-dev-1.2.5-r10-riscv64-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-x86
pkgver=1.2.5
pkgrel=7
pkgrel=10
arch="x86_64"
subpackages="musl-dev-x86:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
60e0d2c8b524f980375ce1e5f74a48afc1f54257ba5e1aa58fe520c3f936e2c01c565418fa50154d5d9a30a435c47e8e42bdf77f104f2013dc089c127b4318e2 musl-1.2.5-r7-x86-edge.apk
3470cc5a28a8f83e3ddc92593710c3e179bd84b044cf954e9c860d218464b3e24ce59bbdb3c900a024c337361d2fd0c536766b8018c75f07c043438300b3d1de musl-dev-1.2.5-r7-x86-edge.apk
7d53c9b8d328860e09e5e5835be9632e9ee6effb6ce4203817b12139a1c4c69ac71495bb575e696b16e9a1dde830729af1b5b4d9308bf2e4be0995f2d7e2843b musl-1.2.5-r10-x86-edge.apk
5d048109d3360c526216a6f47446c5e9315fed76ae24bc8238d08dcac80edd22ac3de9ae4fda8fc42fd2c70c676e8673811eddb991bf08ea500bf4ccd10e2a3e musl-dev-1.2.5-r10-x86-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-x86_64
pkgver=1.2.5
pkgrel=7
pkgrel=10
arch="aarch64"
subpackages="musl-dev-x86_64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
a7d515ef1b359228afc362de4dbc43ab75a5e7e4d1a11832d15abf202020d56dbb5ae18d84c13e78940bddc866a8199895aabac38afe0f7313cb88ae369e46f2 musl-1.2.5-r7-x86_64-edge.apk
03f29dca8b17cedd74468e365c8dbbed3ac0fe17f6f032371c45c2c821b1e2e0a63254a82617a43a67dbc23e0f795a68e3ed1de3c9f716aaa3d0b7f0946fd276 musl-dev-1.2.5-r7-x86_64-edge.apk
5d8ee4ca49019bf728f855cd296e36ac8ba9c16dc85f56c7b8bb6804788656584464ed9828f1eb5a14c1da1ca77906fae9d93174c44d03e003b6e1c2d1f445a6 musl-1.2.5-r10-x86_64-edge.apk
788290a474910e15611f8a9165470fd5a633a579ca3a6f89f5f550864303949dedb286c6f0108db5490e8e05d0ce0dcfd749555b63b624ea8fcaffd9a0b201b9 musl-dev-1.2.5-r10-x86_64-edge.apk
"
@@ -0,0 +1,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"
+3 -3
View File
@@ -1,8 +1,8 @@
# Maintainer: Alejandro Tafalla <alikates@dnyon.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-daisy
pkgdesc="Xiaomi Mi A2 Lite"
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"
+3 -3
View File
@@ -1,8 +1,8 @@
# Maintainer: Victor Pavlov (vipaoL) <vipaolmail@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-markw
pkgdesc="Xiaomi Redmi 4 Prime"
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"
+3 -3
View File
@@ -1,7 +1,7 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=device-xiaomi-mido
pkgdesc="Xiaomi Redmi Note 4X"
pkgver=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"
@@ -1,9 +1,9 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-onclite
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 -3
View File
@@ -1,9 +1,9 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-rosy
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"
@@ -1,10 +1,9 @@
# Maintainer: Danila Tikhonov (JIaxyga) <danila@jiaxyga.com>
# Co-Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-tissot
pkgdesc="Xiaomi Mi A1"
pkgver=8
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -34,6 +33,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"
+3 -3
View File
@@ -1,8 +1,8 @@
# Maintainer: m0rf30 <morf3089@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-vince
pkgdesc="Xiaomi Redmi 5 Plus"
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"
+3 -3
View File
@@ -1,8 +1,8 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-ysl
pkgdesc="Xiaomi Redmi S2/Y2"
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,4 +1,4 @@
# Maintainer: Alejandro Tafalla <alikates@dnyon.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-daisy
pkgver=2
pkgrel=2
@@ -1,5 +1,4 @@
# Maintainer: vipaoL <vipaolmail@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-markw
pkgver=2
pkgrel=2
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-mido
pkgver=3
pkgrel=1
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-onclite
pkgver=2
pkgrel=2
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-rosy
pkgver=1
pkgrel=1
@@ -1,6 +1,4 @@
# Maintainer: Danila Tikhonov (JIaxyga) <danila@jiaxyga.com>
# Co-Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-tissot
pkgver=2
pkgrel=2
@@ -1,4 +1,4 @@
# Maintainer: m0rf30 <morf3089@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-vince
pkgver=4
pkgrel=2
+1 -1
View File
@@ -1,4 +1,4 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
# Archived: unmaintained port, only for testing. Use generic/mainline port (qcom-msm8953)
pkgname=firmware-xiaomi-ysl
pkgver=3
pkgrel=2
@@ -1,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
"
@@ -0,0 +1,26 @@
# Maintainer: Danila Tikhonov <danila@jiaxyga.com>
# Co-Maintainer: Jens Reidel <adrian@travitia.xyz>
pkgname=alsa-ucm-conf-qcom-sm7150
pkgver=1.2.11_git20240810
pkgrel=0
pkgdesc="ALSA UCM configuration for SM7150 devices"
url="https://github.com/sm7150-mainline/alsa-ucm-conf"
arch="aarch64"
license="BSD-3-Clause"
provides="alsa-ucm-conf"
provider_priority=1
_commit="dedbb209ed983a869b7aaceb883f8896c82d2296"
source="$pkgname-$_commit.tar.gz::https://github.com/sm7150-mainline/alsa-ucm-conf/archive/$_commit.tar.gz"
options="!check"
builddir="$srcdir/alsa-ucm-conf-$_commit"
package() {
# install audio config files
mkdir -p "$pkgdir"/usr/share/alsa
cp -r ucm2 "$pkgdir"/usr/share/alsa/
}
sha512sums="
4c873c3e5b372f7075a38b8fd33723b47cf0ed2013b5ddccec64a4edc587d2f121eb80b930fa6d1ce98dd9ad55043eb1e3e152f1451f4491bc667353548acee7 alsa-ucm-conf-qcom-sm7150-dedbb209ed983a869b7aaceb883f8896c82d2296.tar.gz
"
@@ -0,0 +1,27 @@
# Maintainer: Caleb Connolly (kalube) <caleb@connolly.tech>
# Co-Maintainer: Joel Selvaraj <joelselvaraj.oss@gmail.com>
pkgname=alsa-ucm-conf-sdm845
pkgver=1
pkgrel=0
pkgdesc="ALSA UCM configuration for Qualcomm SDM845 devices"
url="https://postmarketos.org"
arch="aarch64"
license="BSD-3-Clause"
provides="alsa-ucm-conf"
provider_priority=1
replaces="soc-qcom-sdm845-ucm"
_commit="70d89261a7d30273fba9c6e67a072699f9f88151"
source="$pkgname-$_commit.tar.gz::https://gitlab.com/sdm845-mainline/alsa-ucm-conf/-/archive/$_commit/alsa-ucm-conf-$_commit.tar.gz"
options="!check"
builddir="$srcdir/$pkgname-$_commit"
package() {
# install audio config files
mkdir -p "$pkgdir"/usr/share/alsa
cp -r "$srcdir/alsa-ucm-conf-$_commit"/ucm2 \
"$pkgdir"/usr/share/alsa/
}
sha512sums="
f6d03f3b03f944b29b588464e2e26f4f4cc185368714f9e623c1211174ea172efb81a765980c9a289112f5bf8c5c4aafdfd87c0094890069fc3d7c73b29456bc alsa-ucm-conf-sdm845-70d89261a7d30273fba9c6e67a072699f9f88151.tar.gz
"
@@ -2,7 +2,7 @@
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
pkgname=device-fairphone-fp4
pkgdesc="Fairphone 4"
pkgver=3
pkgver=4
pkgrel=1
url="https://postmarketos.org"
license="MIT"
@@ -19,7 +19,7 @@ depends="
firmware-fairphone-fp4-modem
firmware-fairphone-fp4-wlan
firmware-qcom-adreno-a630
hexagonrpcd
hexagonrpcd>=0.3.2-r3
hexagonrpcd-openrc
linux-firmware-ath10k
linux-postmarketos-qcom-sm6350
@@ -38,7 +38,6 @@ depends="
tqftpserv-openrc
"
makedepends="devicepkg-dev"
replaces="hexagonrpcd-openrc"
subpackages="$pkgname-openrc"
source="
81-libssc-fairphone-fp4.rules
@@ -60,12 +59,13 @@ package() {
install -Dm644 "$srcdir"/90-feedbackd-aw8695.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-feedbackd-aw8695.rules
install -Dm644 "$srcdir"/hexagonrpcd.confd \
"$pkgdir"/etc/conf.d/hexagonrpcd-adsp-sensorspd
"$pkgdir"/usr/share/hexagonrpcd/hexagonrpcd-adsp-sensorspd.conf
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="hexagonrpcd-openrc"
mkdir -p "$subpkgdir"
}
@@ -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"
@@ -2,8 +2,8 @@
# Co-Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=device-generic-x86_64
pkgdesc="Generic x86_64 system, with EFI"
pkgver=16
pkgrel=0
pkgver=17
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
@@ -12,6 +12,7 @@ depends="
alsa-ucm-conf
postmarketos-base
systemd-boot
unl0kr-fbforcerefresh
"
makedepends="devicepkg-dev"
source="
@@ -70,6 +71,6 @@ kernel_lts() {
sha512sums="
e9dfcd70ccfb9a0fdaa0cdc52faf3be96d6de8af8c60a758bb703c515b0648cec4552e0eaf56e5168b0004cd3fc4b28118abb05dad2c581d3579a2e9134862cb deviceinfo
e464ef0ad4a4c34d2d53f69c4612b612ea878a77c9efdef69b0f842edf701036c8218809fd63aac286d6a08ae07f39e568199fc3e38d145e716c1723e7215019 modules-initfs
7f0e1dab2eaf0616220a06a658245a297f2627f1b6a492ccf3bb9922c5b40aa6fd320c4ec5f909557bfc9b38985ef6bc58a67dd87fc46e0d9d35addbcfb2683d modules-initfs
9599a10679a43929e4ed2ea22269a0716219163817574d48db4dc1cb21a0fcf17ea54d77d5fd8efd034905c421ecb3eaa600a72927d683983ce48d1159329881 30-gpu-i915-firmware.files
"
@@ -12,6 +12,7 @@ mbcache
mmc_block
mmc_core
nvme
psmouse
scsi_mod
sd
sd_mod
+7 -3
View File
@@ -3,7 +3,7 @@
pkgname=device-google-gru
pkgdesc="Google Gru Chromebooks"
pkgver=8
pkgrel=0
pkgrel=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
+27 -39
View File
@@ -2,90 +2,78 @@
# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=device-google-sargo
pkgdesc="Google Pixel 3a"
pkgver=6
pkgrel=5
pkgver=9
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
alsa-ucm-conf-qcom-sdm670
firmware-google-sargo
hexagonrpcd
linux-firmware-ath10k
linux-firmware-qca
linux-firmware-qcom
linux-postmarketos-qcom-sdm670
make-dynpart-mappings
mkbootimg
postmarketos-base
soc-qcom-sdm845
soc-qcom-sdm845-qbootctl
soc-qcom
soc-qcom-modem
soc-qcom-qbootctl
unl0kr-fbforcerefresh
"
makedepends="devicepkg-dev"
source="
10-unl0kr-msm.conf
81-libssc-google-sargo.rules
90-feedbackd-drv2624.rules
deviceinfo
hexagonrpcd-adsp-sensorspd.confd
hexagonrpcd.confd
modules-initfs
no-hexagonrpcd-on-suspend.sh
q6voiced.conf
"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-nonfree-firmware-openrc:nonfree_firmware_openrc
"
subpackages="$pkgname-openrc"
build() {
devicepkg_build $startdir $pkgname
}
package() {
replaces="$pkgname-nonfree-firmware"
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/90-feedbackd-drv2624.rules \
-t "$pkgdir"/usr/lib/udev/rules.d
install -Dm644 "$srcdir"/10-unl0kr-msm.conf \
"$pkgdir"/etc/unl0kr.conf.d/10-unl0kr-msm.conf
}
nonfree_firmware() {
pkgdesc="Proprietary firmware blobs for the Google Pixel 3a"
depends="
firmware-google-sargo
hexagonrpcd
linux-firmware-ath10k
linux-firmware-qca
linux-firmware-qcom
soc-qcom-sdm845-modem
soc-qcom-sdm845-nonfree-firmware
"
# Sensors depend on ADSP firmware and the sensors registry served over FastRPC.
install -Dm644 "$srcdir"/hexagonrpcd.confd \
"$pkgdir"/usr/share/hexagonrpcd/hexagonrpcd-adsp-sensorspd.conf
install -Dm644 "$srcdir"/81-libssc-google-sargo.rules \
"$subpkgdir"/usr/lib/udev/rules.d/81-libssc-google-sargo.rules
"$pkgdir"/usr/lib/udev/rules.d/81-libssc-google-sargo.rules
# The q6voiced configuration can only be used if the ADSP is brought up
# via non-free firmware.
install -Dm644 "$srcdir"/q6voiced.conf "$pkgdir"/etc/conf.d/q6voiced
}
nonfree_firmware_openrc() {
replaces="hexagonrpcd-openrc"
install_if="$pkgname-nonfree-firmware=$pkgver-r$pkgrel openrc"
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
# Enable HexagonRPCD by default, but not if the user installed this
# package then disabled it.
install="$subpkgname.post-install"
replaces="hexagonrpcd-openrc"
depends="hexagonrpcd-openrc"
# The FastRPC service is only enabled when non-free firmware is installed.
install -Dm755 "$srcdir"/no-hexagonrpcd-on-suspend.sh \
"$subpkgdir"/etc/elogind/system-sleep/no-hexagonrpcd-on-suspend.sh
# The q6voiced configuration can only be used if the ADSP is brought up
# via non-free firmware.
install -Dm644 "$srcdir"/q6voiced.conf "$subpkgdir"/etc/conf.d/q6voiced
# Sensors depend on ADSP firmware and the sensors registry served over FastRPC.
install -Dm644 "$srcdir"/hexagonrpcd-adsp-sensorspd.confd \
"$subpkgdir"/etc/conf.d/hexagonrpcd-adsp-sensorspd
}
sha512sums="
f700af3145b79d1ef9edfb22982899b25cabfb212f9620dcbd3a2e6f44b5ad591e0a66056c6fcd66c3fde89a2b5f551e8a8fe2e65cf0e2a48adec57c027d7825 10-unl0kr-msm.conf
089ce0acba4e1d789e337bedfca7570796a6416e7230ae9b8fc6b625747a40dbb064b1a707877cd6b7bdc73844c6571316e2ec0746a77060f13d98c52fdbfc00 81-libssc-google-sargo.rules
016d398155f2344417f5e5649a361719ba6e53e593c501b5df39114cdd284302b9bf8686a39817aee0c08fec95b3ab613c181d6cc9596299aaf7fd05dbe0c3dd 90-feedbackd-drv2624.rules
8af19da4e4a4a59c49263722065229fae849c3273af313300b7ea1b8fe008c6e55cfd060b91909306dd600134e2494f740adda245707dbcff84b1ab2f37dbde7 deviceinfo
b6208c254b6e44ac4f6d748a38cc6b05da0db2c90235ada2011b138b82ccc3372687df2f5ad97e885e9eea135216a3c52266a08a7f4eb323e62e799f6f82ec7b hexagonrpcd-adsp-sensorspd.confd
ad032b1a35cfcd4fc0c8df988430ee97b711e785b86cca68b7552b23a9a2e2b6b97c327e3415a575db47ad6c1f86ded18df5553acaae63010057d89b8c16135e deviceinfo
b6208c254b6e44ac4f6d748a38cc6b05da0db2c90235ada2011b138b82ccc3372687df2f5ad97e885e9eea135216a3c52266a08a7f4eb323e62e799f6f82ec7b hexagonrpcd.confd
3213a3586c25cef843a47e2446179ff73acad6421826a64bedb6b9800d30673503d0ea6b3fcc8cfbdcdcaf0926755a489323fce9d14d4411799e6988144b3518 modules-initfs
2972005a9cf6ca57061965075593dddfa8ee479bc6c21cd41851b1a14768cb1cddbd31a17975ae17adc36d40d294ccbc6bf83defbd69fc7b363f638d8564fbbc no-hexagonrpcd-on-suspend.sh
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
@@ -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
@@ -2,7 +2,7 @@
# Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-veyron
pkgdesc="Google Veyron Chromebooks"
pkgver=7
pkgver=8
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -53,6 +53,6 @@ nonfree_firmware() {
sha512sums="
abeebda841ae33d50008b891b4a29ccf4a7cf7be240b5913b701409e8621aa7210f685543b8ab7a9778b311359a197b4429af2b559716fa130d3af8447bef61d deviceinfo
d6a214d98ef6502ebed97dd2b774d9d7de1ac969d6d17513f413234e9698bd860248345520eb15f6b54fb0e06a793ba974f8548d397c9a72db31ecd506038008 deviceinfo
be3e804fa538d9d377c637094dcf95e503e8a156fa71676a9e78abc0e290595dfdaa70b5642df721ebcdd3daa04d14e0c61d9bab6f78cb1dbd669404abc3a56d modules-initfs
"
@@ -27,3 +27,4 @@ deviceinfo_cgpt_kpart_size="32768"
deviceinfo_depthcharge_board="veyron"
deviceinfo_generate_depthcharge_image="true"
deviceinfo_generate_extlinux_config="true"
deviceinfo_create_initfs_extra="true"
@@ -4,7 +4,7 @@
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=device-google-x64cros
pkgdesc="Google Chromebooks with x64 CPU"
pkgver=11
pkgver=12
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -81,5 +81,5 @@ sha512sums="
38c53d91a60d0402d4cc5428d65e1e8c26360c481c70b34593b1812c87241c32e91904a3bd31fbfe507f7fdb8b50c909eaad8c4c3a37ca962760567329f7f6ee 00-amdgpu-firmware.files
c17f5c505e0e280a9e51ac1b4264e7703b744fd3831d75ce95f41be4755ae4ccd24b7ca09ba1e236df499a5e748c64a0d2054c9d55d8c8c713fa8c5646ed9a3c 00-i915-firmware.files
514ff5c946633dccaa569fed51743c669ea9942af4dd891ad001ba08bba07fca92503e29304f3eb71c16bc2f2436e1879ff0bf56d99666e4dcf9635c8605da2e deviceinfo
1b3bbfcdc6642488304653aef996dddf7a354e7279f2c735ac7aec404e598948423630fcaa2cac87e2c0aef033ecfc57a7a91154f9dac9a85411db7bad62e677 modules-initfs
a6e5a9de9fe010966523606f2fcab1c44004228b4e050f777dcb1160fb3e32cda8096925543522216c2eb354f8ce2f8d4e206d98b077fbd6fb840de94e84c706 modules-initfs
"
@@ -16,3 +16,5 @@ xhci_pci
ehci_pci
sdhci_pci
mmc_block
nvme
nvme_core
+2 -2
View File
@@ -5,7 +5,7 @@
pkgname=device-lenovo-21bx
pkgdesc="Lenovo ThinkPad X13s"
pkgver=12
pkgrel=0
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -18,7 +18,7 @@ depends="
linux-firmware-ath11k
linux-firmware-qca
linux-firmware-qcom
linux-lenovo-21bx
linux-postmarketos-qcom-laptop
postmarketos-base
qmi-utils
systemd-boot
+38 -44
View File
@@ -2,14 +2,15 @@
# Maintainer: Sicelo <absicsz@gmail.com>
# Co-Maintainer: Danct12 <danct12@disroot.org>
pkgname=device-nokia-n900
pkgver=30
pkgrel=1
pkgver=41
pkgrel=0
pkgdesc="Nokia N900"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="
alsa-utils
evtest
kbd
kbd-bkeymaps
linux-firmware-ti-connectivity
@@ -28,7 +29,6 @@ subpackages="
$pkgname-xkeyboard-config:xkeyboard_config
$pkgname-i3wm
$pkgname-upower
$pkgname-sxmo
$pkgname-openrc
"
source="
@@ -39,12 +39,14 @@ source="
asound.state.headset
asound.state.speakers
backlight-enable.sh
bq27k-options.conf
bq27k-monitor.sh
device-nokia-n900.start
deviceinfo
modules-initfs
i3wm/config-checker
i3wm/i3blocks.conf
i3wm/i3wm.conf
i3wm/protip_shell.sh
i3wm/scripts/battery-bq27200
i3wm/scripts/calendar
i3wm/scripts/ofono
@@ -61,16 +63,15 @@ source="
modules.blocklist
pointercal
proxishot.sh
sxmo/deviceprofile.sh
sxmo/start_hook.sh
uboot-script.cmd
udev/10-nokia-modem.rules
udev/15-bq27k.rules
udev/80-feedbackd-twl4030.rules
udev/90-touchscreen-dev.rules
upower.conf
x11-keymap
xdefaults
xorg.conf
xresources
"
options="!check !archcheck"
@@ -104,12 +105,16 @@ package() {
"$pkgdir"/usr/share/mkinitfs/hooks/10-initfs-keymap.sh
install -Dm755 "$srcdir"/$pkgname.start \
"$pkgdir"/etc/local.d/$pkgname.start
install -Dm755 "$srcdir"/bq27k-monitor.sh \
"$pkgdir"/usr/bin/bq27k-monitor
# Udev rules
install -D -m644 "$srcdir"/90-touchscreen-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-touchscreen-dev.rules
install -D -m644 "$srcdir"/10-nokia-modem.rules \
"$pkgdir"/etc/udev/rules.d/10-nokia-modem.rules
install -D -m644 "$srcdir"/15-bq27k.rules \
"$pkgdir"/usr/lib/udev/rules.d/15-bq27xxx-battery.rules
install -Dm644 "$srcdir"/80-feedbackd-twl4030.rules \
"$pkgdir"/usr/lib/udev/rules.d/80-feedbackd-twl4030.rules
@@ -136,13 +141,15 @@ package() {
"$pkgdir"/etc/modprobe.d/nokia-modem.conf
install -D -m644 "$srcdir"/modules.blocklist \
"$pkgdir"/etc/modprobe.d/n900-module-blocklist.conf
install -D -m644 "$srcdir"/bq27k-options.conf \
"$pkgdir"/etc/modprobe.d/bq27xxx-battery.conf
postmarketos-mvcfg-package "$pkgdir" "$pkgname"
}
x11() {
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
depends="xset xinput scrot"
depends="xset xinput scrot xrdb"
mkdir "$pkgdir"/etc/acpi
install -D -m755 "$srcdir"/acpi_handler.sh \
"$pkgdir"/etc/acpi/handler.sh
@@ -153,9 +160,11 @@ x11() {
install -D -m644 "$srcdir"/xorg.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/11-n900.conf
install -Dm755 "$srcdir"/lock.sh \
"$pkgdir"/usr/bin/lock.sh
"$subpkgdir"/usr/bin/lock.sh
install -Dm755 "$srcdir"/proxishot.sh \
"$pkgdir"/usr/bin/proxishot.sh
"$subpkgdir"/usr/bin/proxishot.sh
install -Dm644 "$srcdir"/xresources \
"$subpkgdir"/usr/share/X11/Xresources-mobile
}
xkeyboard_config() {
@@ -169,35 +178,19 @@ i3wm() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-i3wm"
depends="unclutter-xfixes i3blocks rxvt-unicode upower brightnessctl"
install -D -m644 "$srcdir"/i3wm.conf \
"$subpkgdir"/etc/skel/.config/i3/config
"$subpkgdir"/etc/xdg/i3/config
install -D -m644 "$srcdir"/i3blocks.conf \
"$subpkgdir"/etc/skel/.config/i3blocks/config
"$subpkgdir"/etc/xdg/i3blocks/config
install -D -m755 "$srcdir"/battery-bq27200 \
"$subpkgdir"/etc/skel/.config/i3blocks/battery-bq27200
"$subpkgdir"/usr/share/i3blocks/battery-bq27200
install -D -m755 "$srcdir"/ofono \
"$subpkgdir"/etc/skel/.config/i3blocks/ofono
"$subpkgdir"/usr/share/i3blocks/ofono
install -D -m755 "$srcdir"/calendar \
"$subpkgdir"/etc/skel/.config/i3blocks/calendar
"$subpkgdir"/usr/share/i3blocks/calendar
install -D -m755 "$srcdir"/wifi \
"$subpkgdir"/etc/skel/.config/i3blocks/wifi
install -D -m755 "$srcdir"/protip_shell.sh \
"$subpkgdir"/etc/skel/.protip_shell.sh
install -D -m644 "$srcdir"/xdefaults \
"$subpkgdir"/etc/skel/.Xdefaults
}
sxmo() {
install_if="$pkgname=$pkgver-r$pkgrel sxmo-utils"
replaces="sxmo-utils"
# Set !tracedeps, so abuild doesn't extend provides with e.g.:
# "cmd:sxmo_deviceprofile_nokia,omap3-n900.sh=1.16.3-r0"
# Otherwise this cannot be installed together with sxmo-utils:
# conflicts: sxmo-utils-1.16.3-r0[cmd:sxmo_deviceprofile_nokia,omap3-n900.sh=25-r0]
options="!tracedeps"
install -Dm755 "$srcdir"/deviceprofile.sh \
"$subpkgdir"/usr/bin/sxmo_deviceprofile_nokia,omap3-n900.sh
install -Dm755 "$srcdir"/start_hook.sh \
"$subpkgdir"/usr/share/sxmo/default_hooks/sxmo_hook_start.sh
"$subpkgdir"/usr/share/i3blocks/wifi
install -D -m755 "$srcdir"/config-checker \
"$subpkgdir"/usr/bin/i3-config-checker
}
upower() {
@@ -222,12 +215,14 @@ ff51909873160c2d4c6f0c0119b6d4a02751df29f571b8596b4bc8b04ce2541913c11a583b0e5dab
5b87071834313a389f83d29f86f6e3ea108d0921f17dc918be7a46de7e74c73a4418044ef600a0fbf72c8fad22b7730dcd5bfe3d6d01d76bf01556f8540f0b32 asound.state.headset
67acc17a33bc75113300393b4a5bba15319014032407e774d079abf310368e75f4f697dbb4856ba2d2d8ea184b056bb33561f42918de3ee91ab6a77df89a133c asound.state.speakers
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
344ec50cee2a4d864debad12810a83070ab8257f9f07dcfa9be3eea1d8b26f3ab4fbe322fe05a384152b40fc5e1481df51d191624c7062186dd70f95a0784ea8 bq27k-options.conf
c5b8e03ca9f720a794f2593a3e938640cbd91ac44dd761079bbf4614a0d288a9d7b72de8ed2493c062dc9f37be580bea529f454d2335f55b7a9f4d14024b42a9 bq27k-monitor.sh
e6bbac8de1a198ba716f44ade76606e1e0adcc574156b855ac41be5eb5308389d3277fd89cc34b119fbc33d9801ab9f79a6ff213392596bff40bc17e931c05ef device-nokia-n900.start
40aaeb44941a988ab8ec58d331bc6cd42c4a23c6b6e8fc302f9216a38b46baab38d0a0137606a5b7959a51326983c03d684615c5ba9c58b0e36314ec8c49cfbb deviceinfo
34b41ddd4d0312cc632087d19ca881f7c75b885e3e977add1b20ad414901f075f3fca12bdfe2ba9b3f24baf1e99f8279f61887db4c4b70b4cb4bac76f358bc99 deviceinfo
f48b8dd7297d03008f73e1ecd55b77ace535ecb03f9bdf021123b96fb5f4fb491ff4c532e226b835c8118fa8d505cc4c635a2b604a3e42a162746021552a551c modules-initfs
826a3790b49324c1e61c75b6c0ffc043a2a1d7c13a8c554fb5eae4977af47a1ca93d70ef8c783d712b953b70e18ae58fa4c6a49bf97263398a01a0c4f91ebc8f i3blocks.conf
506accabcf9fb3e2a270228ea53fdcb57f51092d6e7126a631af8eed697cd882cc805b19cf255422284bec12c928b58219d173a4a790d784db5335a059b6bb4f i3wm.conf
0b80af9fd1f36e6bc06bdfdf48352897234ac7457210649016665da8570a5a64b8a0841b4fbeb64fd7054a5246a64718cf4412f8a53024ce39b28a80984972d8 protip_shell.sh
d7d1599a9952fd02d3cfbeaa6b3307251e765f98a9eb723237c94f585831cc8f11d9d30dbc0352e3b008224dec12b820cf86fa28a5e5ac303cfd03d80b8872f5 config-checker
a8152e94262629e11abdd8809d187c3b7ed1866a6128fb1f435e17e72120536ac8114262e66df6decb2627743027f2b923ddbe8a94e3e844099b6fad02ec252b i3blocks.conf
26261d6291c4cc476a36a11291a3676413ecc4fc6ee76394fead14e0c8955d28e782d4a26180034637fcf176c41f8a345886daf242eebf7e91dfd6a4bd29edbe i3wm.conf
6c6a70667f37807089adbb343c09d1f62d47b8e6c9c0a54f44790b822f8bff3dccae73341ef736b799fd6740bbd6e1f48e6e122c2e08520f71f6ad7434a47d2c battery-bq27200
d9ef88c714e9fce8822f63b7a9d7fc3e1ed472c8c876b44ba524d44efea322839f13ddd2fa652420608427ecf7279bfaac302c9b67667f32796ca21da332164d calendar
82038d38f94cb975a8d38914afca49b64957446bef7490ab684efa1df47ede2ea1c769045789bb9fded673345eea01911fbbf85fdb54c28685cad8022bfaafac ofono
@@ -238,20 +233,19 @@ dc585e11bf4e06e36c5c62bcc024eaacecc30437d9da5257df14be05e247a2f2bc208874be3058ed
082a5166e38296b097e873b0b4aeaf007e594d3bf4470c74e91ee3efedcf28ad25cd55c23dd63e460339898ae08e77e111b0e1092fa5e661db90bb40732103a1 rx51_it.map
6e4e8b10a41d0957968736f5d780f14c7070b03913d80859cb07180e9cec9a36bbc9c639748765e48962772640974f5491627520cc36bd3d6c9d01748f9ddaff rx51_ptes.map
e440ed7a3070c17e003b86b72dbe6d8194d01b577ca8dd56dd066f216b6dda32bb965c780950f1789a66f7c948290016b048da9f1cf63aba9e11d7e7fd6873ba rx51_us.map
6cb3ad1253ceb682d5241e6661a4313cb88b16cbf855f45513b7320584cab062e6c6f472b4ba89ccf76c66493ea76dc3a7bed516b403e324a6fa5657621c7a09 lock.sh
83374ba470dc6c34e11c62e91e90a96614d76ae7ce240dd830cb1b2f07f9a72c83e5b50e07e49885a72b9caf25fd586c4ea26452a73baf8bab1d2b4490a107ab lock.sh
157b27feebcfddf800a1ffd8c6e369d2b58e5db25b1a44b4443dada8d9fe74abb91d036b9f0e97769bbafbdc72020b5637313682c6932fe7b0bddb9ebebbad42 modem-load.conf
695feac7f69a0ec8c5e007cdb651adcc3492f1c6236e7fd183edec2a5e25cb957d3ace630ea5fdb87fd703e35ac368f1d097c2f881ecb52c9cfd433564db2a6c modem-opts.conf
862ebc7cd2d7a1b3d41b10701b8418308c89eb0732eb99c42ec1091d48e08db9421727f67a3272b7309549798d59afb1b8d7d2fa48d1447b208fcb2329472d4d modules.blocklist
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
134f51d20decc0c63ab08010931a0b410b70d2f85bf6899f2ff137b1680f59f706a6287d01f5fbb41fa5309125df75a430d0783149bd1a6a1bca07d22f4f6a21 proxishot.sh
fc21e3b7e045055c080a7f7ffb0cd4140b63a02690e92c8370dbccbef506fe271ee9584ac9f14725b8bc9fd6e74e7fafde589d2360f44491c614837472d8ad53 deviceprofile.sh
5dab895c34599bf233635463271ea8308d434c97789efe931eec24870c3b4688fe48ca3b7cdc66e5c1a705940d042b9f18f26420b60f22e1cfad1854e97f8687 start_hook.sh
42f916d87dd305111028992a1107bf6fe108bebbd782ae8edd065e76505db2b3a75e57515970c3e40cb0d1b7e83097a1bba92785be13df7c3fd80959a8d9c5c1 uboot-script.cmd
9e72035c88632d12895534e5aa5746f2c130c7dcdafa8702748d62b71ed0e1b5911b6e1f07f9b9e39b6072bbb662f66aead585baa1dcacb7d8c8953ca89b6762 10-nokia-modem.rules
465b9a0d2b46d0981c64b47cb1f656c2456a90b91b1751a2efad10af38a96030dd99108b1fd76ce31bf1ea0f236d55bed38b114d6bd712f09f8968de034c946c 10-nokia-modem.rules
1acc441b9f83dc91fd65fa3f89b8205bfd72a465286bc181b4e7e92dd4b8c0bc5c20a18dab46ff3ee8ae70940efd7d767b3dfb920edb4c74377bd418b838693d 15-bq27k.rules
03079030237440080e833dbfeff80327c1ad6a8129c6c730b401a3052cd00a986783ec3473a526b14ae73ba1f20653b4c7b2a6590839bfe6cc156bbbc3b7bb74 80-feedbackd-twl4030.rules
c6012aef28b096141b924fced226ec99fb93eb53b69c064a8887d8fecdf8dc08a3ba3db399e18d88374c6ef4c59013a30699c7e4d76e5cb771040582573a0527 90-touchscreen-dev.rules
d46adf47194c02b434cb46751003e67ee008d60978458e69b1f59dc709a7135a70f542918c29e359ba8308bdeda58a21e8efa446d06625511af05403db90e455 upower.conf
9b99feee42dd6bdd122769994c786d3127c41e0aa3321f19c82a9d3845cf07b522908621a31cbddd9599fe18c5c37127d9b4be4255cd7fa8e0e8983bf73eb41b upower.conf
c7837e6688f09c7d650ac7479b8881d4bad709480a71a1dea8b5bba4f4215d6b48a3aebd3f58923bbd48813559478d4ef137dcc9838d321722e141f0aa6a6085 x11-keymap
19694204f2f370a4132762ac1888eaf5736939bba2f12ec2bccd18dde0645cdb621dda3a0772d2ef6d26a65d14e39a628e0d23321fe3064777ad2b76ce45ed2d xdefaults
a91f98daa60efa2beb2ff6b405097f92edca5f1bbb9e7675499139be52ca2570712f8f06f9032ef29f636f99c8f8da8b992f746eab6424aac04260c16158bcc2 xorg.conf
183dfdd545ba05e216209b1abe45e4af4e0ee16b2e73cff0e7ea7b9524ee35a1cf85213a77f32a1a94287aee6546885dbd71c6de1f4f1a1e2961e638ff27cdf6 xresources
"
@@ -0,0 +1,16 @@
#!/bin/sh
set -e
echo "Capacity: $POWER_SUPPLY_CAPACITY; Voltage: $POWER_SUPPLY_VOLTAGE_NOW; Level: $POWER_SUPPLY_CAPACITY_LEVEL" >> /tmp/bq27k.log
if [ "$POWER_SUPPLY_CAPACITY_LEVEL" = "Low" ] || [ "$POWER_SUPPLY_CAPACITY_LEVEL" = "Critical" ]; then
if [ "$POWER_SUPPLY_STATUS" != "Charging" ]; then
/sbin/poweroff
fi
fi
# Adjust polling rate based on reported voltage. As voltage drops to near
# critical levels, poll more frequently, in order to catch status changes
# early
if [ "$POWER_SUPPLY_VOLTAGE_NOW" -le 3350000 ]; then
echo 5 > /sys/module/bq27xxx_battery/parameters/poll_interval
elif [ "$POWER_SUPPLY_VOLTAGE_NOW" -ge 3500000 ]; then
echo 45 > /sys/module/bq27xxx_battery/parameters/poll_interval
fi
@@ -0,0 +1 @@
options bq27xxx-battery poll_interval=30
Loaded 100 of 1484 files, more files were not shown because too many files have changed in this diff. Show more