Compare commits

...
Author SHA1 Message Date
jane400 b3333e4897 systemd/util-linux-pmos: fork from alpine
logger -> journald
agetty, walls, mount and a few others

also adjusted to a meson for a simpler APKBUILD

not building hexdump as this is part of the default pmbootstrap install

rename to avoid cycial dependency
2025-01-02 14:01:09 +01:00
Bart Ribbers 3594b19840 systemd/plasma*: upgrade to 6.2.4 (MR 5892)
[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
2024-12-31 12:36:26 -08:00
fossdd 3ea4f7e9bb extra-repos/systemd: add gnome-terminal-server service (MR 5896)
Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3266

[ci:skip-build]: already built successfully in CI
2024-12-31 19:36:30 +01:00
jane400 5be1aff298 systemd/systemd-services: add flatpak env-gen and tmpfiles (MR 5954)
This uses the previously commited new syntax.

Fixes: #3400
[ci:skip-build]: already built successfully in CI
2024-12-30 10:39:14 -08:00
jane400 6a72533fde systemd/systemd-services: add more systemd directories to installdir table (MR 5954) 2024-12-30 10:39:14 -08:00
Caleb Connolly 867e62415e systemd/systemd-services: add tailscale service (MR 5806)
Add the service file for tailscale and its default environment file.

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:34 -08:00
Caleb Connolly d1a6298e2c systemd/systemd-services: allow absolute paths (MR 5806)
Assume that file paths not starting with "user/" or "system/" are
absolute paths.
2024-12-30 10:02:33 -08:00
jane400 a25a8cfa4e systemd/postmarketos-base-systemd: pin polkit to our downstream (MR 5940)
This is done in the usual way with a version requirement.

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:33 -08:00
jane400 b92323def7 systemd/*: bump packages making BPO stuck 2024-12-30 10:02:33 -08:00
jane400 13cf80da9a systemd/pipewire: stop providing jack-dev (MR 5946)
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.
2024-12-30 10:02:33 -08:00
fossdd 44d60be743 systemd/polkit: upgrade to 125 (MR 5917)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/338430105cd08f428976ecf163ec202f6c612d49
https://gitlab.alpinelinux.org/alpine/aports/-/commit/807bf19811a8d8d375ce40faca22ed5c75c42131

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:33 -08:00
fossdd f93ecf1a1f systemd/dbus: upgrade to 1.16.0 (MR 5917)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/a194e2ccab4264c3c834ab753e65afb0317ed9d0
2024-12-30 10:02:33 -08:00
fossdd fec9134c25 systemd/pipewire: upgrade to 1.2.7 (MR 5917)
https://gitlab.alpinelinux.org/alpine/aports/-/commit/c56f4f00e4c89adbc15e7f539a595bb541f22908

https://gitlab.alpinelinux.org/alpine/aports/-/commit/f1c084b2630dac32afe3f970cc1ab3bc93be8e8c
2024-12-30 10:02:33 -08:00
fossdd e78d61cfa2 systemd/upower: upgrade to 1.90.6 (MR 5917)
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
2024-12-30 10:02:32 -08:00
fossdd 9483a2b090 systemd/gnome-settings-daemon: upgrade to 47.2 (MR 5916)
[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)
2024-12-30 10:02:32 -08:00
fossdd 641466add1 systemd/gnome-shell: upgrade to 47.2 (MR 5916) 2024-12-30 10:02:32 -08:00
fossdd 9630e77d0e systemd/mutter: upgrade to 47.3 (MR 5916) 2024-12-30 10:02:32 -08:00
fossdd 1fe3d99b12 systemd/systemd-services: include xdg-desktop-portal-phosh user service (MR 5808)
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
2024-12-30 10:02:32 -08:00
jane400 c7c72735c1 systemd/systemd-services: fix typo at rtkit preset (MR 5825)
[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:32 -08:00
fossdd b218ea9272 systemd/gnome-logs: new aport (MR 5790)
https://apps.gnome.org/Logs
Log viewer for the systemd journal

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:32 -08:00
Clayton Craft 90b51dadc0 systemd/networkmanager: don't build docs
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
2024-12-30 10:02:31 -08:00
jane400 ab91137b27 systemd/linux-pam-pmos: rename from linux-pam (MR 5769)
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
2024-12-30 10:02:31 -08:00
Clayton Craft ccba956946 systemd/networkmanager: upgrade to 1.50 and rebase APKBUILD (MR 5761)
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
2024-12-30 10:02:31 -08:00
jane400 16e358d549 systemd/{gdm, gnome-*, mutter}: rebase apkbuild on upstream/aports (MR 5770)
[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:31 -08:00
jane400 102bf6dc1b systemd/xorg-server: pull upgrade from upstream/aports (MR 5777)
lto is disabled because of CI

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:31 -08:00
jane400 97ec2f3b28 systemd/pipewire: pull upgrade from upstream/aports (MR 5776)
lto makes cross-compiling CI unhappy, disabling it makes CI happy again.

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:31 -08:00
Clayton Craft 9723f4e25c extra-repos/systemd: fix deinstall macro (MR 5746)
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.
2024-12-30 10:02:31 -08:00
Clayton Craft 0c1cf30f9a systemd/plasma-workspace: rebase apkbuild on upstream/aports (MR 5762)
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
2024-12-30 10:02:30 -08:00
fossdd 24071e7de0 systemd/systemd-services: manually issue chvt on start of phosh (MR 5757)
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
2024-12-30 10:02:30 -08:00
Clayton Craft a6615b4fae systemd/postmarketos-base-systemd: disable journald audit feature (MR 5754)
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
2024-12-30 10:02:30 -08:00
Clayton Craft 0dccd582f6 systemd/postmarketos-base-systemd: add presets for swclock-offset (MR 5685) 2024-12-30 10:02:30 -08:00
Clayton Craft 354d0ec23d systemd/pmos-base-systemd: disable sd-resolved by default (MR 5630)
Fixes #3190
2024-12-30 10:02:30 -08:00
Bart Ribbers 1eb23400d7 extra-repos/systemd/plasma*: upgrade to 6.2.2 (MR 5734)
[skip ci]: downloading from KDE servers seems to be broken / not
working, so checksum verify never passes. checksums were verified
locally
2024-12-30 10:02:30 -08:00
Clayton Craft 84e78ac0e9 systemd/gnome-shell*: remove dependency on networkmanager-common
This package no longer exists on Alpine edge
2024-12-30 10:02:30 -08:00
Caleb Connolly 69d8169698 systemd: fix udevd path
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>
2024-12-30 10:02:29 -08:00
jane400 098d7d95a6 extra-repos/systemd/systemd: support split-usr again (MR 5661)
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
2024-12-30 10:02:29 -08:00
jane400 db91b0e3bc extra-repos/systemd/apk-tools: drop (MR 5661) 2024-12-30 10:02:29 -08:00
jane400 dbf9bbf304 extra-repos/systemd: adjust bootstrap logic to remove usr-merge (MR 5661) 2024-12-30 10:02:29 -08:00
jane400 ef08b3eb51 systemd/systemd: upgrade to 256.5 (MR 5560) 2024-12-30 10:02:29 -08:00
Andrei Zisu af7ab4802c main/postmarketos-ui-gnome-*: enable systemd by default
[ci:skip-vercheck]
2024-12-30 10:02:29 -08:00
Bart Ribbers 7c50b86846 extra-repos/systemd/systemd-services: fix subpackage names for Plasma and Waydroid services (MR 5651)
The package names should be the original package names + the -systemd
suffix. I did this wrongly breaking both KDE Plasma and Waydroid
2024-12-30 10:02:29 -08:00
Aster Boese 8ad80782fd extra-repos/systemd/systemd: enable sysext and sysusers (MR 5597) 2024-12-30 10:02:28 -08:00
Clayton Craft 02f3cdb57a extra-repos/systemd/postmarketos-base-systemd: add waydroid presets (MR 5592) 2024-12-30 10:02:28 -08:00
Bart Ribbers 1370b291d0 extra-repos/systemd/systemd-services: add waydroid and related services (MR 5592) 2024-12-30 10:02:28 -08:00
Caleb Connolly 645d72986a systemd: gnome-shell-mobile: upgrade to 46.1 (MR 5629)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build] already built in CI
2024-12-30 10:02:28 -08:00
Bart Ribbers 8302cd1a57 extra-repos/systemd/systemd-services: take over service files from origin packages (MR 5631)
We were only forking kactivitymanagerd and kglobalacceld for their
service files
2024-12-30 10:02:28 -08:00
Bart Ribbers c5851a9960 extra-repos/systemd/kde*: upgrade to latest versions (MR 5590)
[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:28 -08:00
Clayton Craft 9c3ecc8b11 systemd/pmos-base-systemd: add preset for udisks2 (MR 5589)
Provides disk mounting services for many UIs

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:28 -08:00
Clayton Craft 0b9f7d214a systemd/systemd-services: fix nftables unit (MR 5589)
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
2024-12-30 10:02:27 -08:00
Clayton Craft ded7d922ea systemd/systemd-services: add udisks2 unit file (MR 5589) 2024-12-30 10:02:27 -08:00
Clayton Craft e4bdae385f systemd/systemd-services: add evolution-data-server user services (MR 5589)
No presets because these are dbus activated.

fixes #2910
2024-12-30 10:02:27 -08:00
Bart Ribbers c268ad58c1 extra-repos/systemd/systemd-services: add kded (MR 5593) 2024-12-30 10:02:27 -08:00
Caleb Connolly 39dd8a8e06 systemd-services: add lxc (MR 5598)
add the lxc template service

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:27 -08:00
Clayton Craft f688b82f6c systemd/pmos-base-systemd: presets: fix some preset unit names, add sshd (MR 5588)
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
2024-12-30 10:02:27 -08:00
Clayton Craft 4604dbe35a systemd/systemd: fix default disable preset (MR 5588)
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
2024-12-30 10:02:27 -08:00
Clayton Craft 6fed038487 (not for master) remove temp/* pkgs that conflict with systemd repo
Until bpo moves to pmb v3.

See: https://gitlab.com/postmarketOS/build.postmarketos.org/-/issues/143
2024-12-30 10:02:26 -08:00
Clayton Craft 4a3c24d37b systemd/postmarketos-base-systemd: depend on newer linux-pam (MR 5579)
[ci:skip-build] already built successfully in CI
2024-12-30 10:02:26 -08:00
Clayton Craft e18a9476b3 systemd/linux-pam: upgrade to 1.6.1-r1 (MR 5579)
pkgver and pkgrel match aports version

APKBUILD was rebased onto alpine aports version
2024-12-30 10:02:26 -08:00
Clayton Craft 43a918034f systemd/kmod: remove fork (MR 5572)
Patches were merged upstream:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71426

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:26 -08:00
Clayton Craft 91d4084efa systemd/pmos-base-systemd: disable multipathd by default (MR 5556)
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
2024-12-30 10:02:26 -08:00
Clayton Craft 5c6ffce7b0 systemd/pipewire: add install scripts for systemd presets (MR 5551)
fixes #3153
2024-12-30 10:02:26 -08:00
Clayton Craft 8618645a73 systemd/kmod: add fixes for usr merge (MR 5554)
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
2024-12-30 10:02:26 -08:00
Clayton Craft a58f192d4f systemd/kmod: fork from Alpine to support usr merge (MR 5554)
actual patch to support usr merge will come later
2024-12-30 10:02:25 -08:00
Clayton Craft 3777cddc14 systemd/multipath-tools: upgrade to 0.10.0
rebased on aports
2024-12-30 10:02:25 -08:00
Caleb Connolly 5097ba8fde systemd: upgrade gnome shell and mutter mobile to 46 (MR 5363)
Upgrade to 46-mobile-0

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:25 -08:00
Clayton Craft 10988e87e2 systemd: gnome-settings-daemon-mobile: new aport (MR 5363)
mobile shell has a fork of GSD which hard depends on systemd.
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:25 -08:00
jane400 14b45715a0 systemd/gnome-settings-daemon: add systemd subpkg (MR 5377)
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
2024-12-30 10:02:25 -08:00
jane400andClayton Craft 1f00dd3e55 systemd/gnome-session: add systemd subpkg (MR 5377)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-12-30 10:02:25 -08:00
jane400 6aa12dc157 systemd/gdm: add systemd subpkg (MR 5377) 2024-12-30 10:02:25 -08:00
jane400andClayton Craft 074b10a075 systemd/gnome-keyring: add systemd subpkg (MR 5377)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-12-30 10:02:24 -08:00
jane400andClayton Craft b4c7d00ba0 systemd/networkmanager: add systemd subpkg (MR 5377)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-12-30 10:02:24 -08:00
jane400 85e8a4facb systemd/postmarketos-base-systemd: add base presets (MR 5377)
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
2024-12-30 10:02:24 -08:00
Clayton Craftandjane400 b29df194be systemd/systemd-services: use systemd preset macro to configure services (MR 5377)
also remove the rc_update workaround

Co-authored-by: jane400 <pmos@j4ne.de>
2024-12-30 10:02:24 -08:00
jane400 2f0ee5c0f6 systemd/polkit: add comment about why systemd preset isn't used (MR 5377)
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.
2024-12-30 10:02:24 -08:00
jane400andClayton Craft 1edbeaeafe systemd/systemd: configure presets for systemd services (MR 5377)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-12-30 10:02:24 -08:00
Clayton Craftandjane400 7c3242bfc6 systemd/systemd: add macros for package install scripts (MR 5377)
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>
2024-12-30 10:02:24 -08:00
jane400 5c32434b41 systemd/alpine-base: remove stub rc-update (MR 5377) 2024-12-30 10:02:23 -08:00
jane400 2ee532c153 systemd/dbus: don't generate a /etc/machine-id with the post-install trigger (MR 5377)
Generating the machine-id is handled by systemd's first boot mechanism,
so that was removed from the dbus post-install script
2024-12-30 10:02:23 -08:00
Bart Ribbers 109fa5fb56 extra-repos/systemd/drkonqi: fork from Alpine (MR 5470) 2024-12-30 10:02:23 -08:00
Bart Ribbers 8b39b36531 extra-repos/systemd/kglobalacceld: fork from Alpine (MR 5470)
It installs /usr/lib/systemd/user/plasma-kglobalaccel.service
2024-12-30 10:02:23 -08:00
Bart Ribbers 3da6765c0f extra-repos/systemd/plasma*: upgrade to 6.1.4 (MR 5470) 2024-12-30 10:02:23 -08:00
Clayton Craft a2250ecf3c systemd/systemd-services: add plasma-mobile (MR 5502)
[ci:skip-build] already built successfully in CI
2024-12-30 10:02:23 -08:00
jane400 b426e31ded systemd/systemd-services: add eg25-manager.service (MR 5346) 2024-12-30 10:02:23 -08:00
Clayton Craft 2079664052 systemd/systemd: fix typo in pre-install (MR 5468)
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
2024-12-30 10:02:22 -08:00
Caleb Connolly de9f1f32d4 systemd: apk-tools: update /usr merge patches (MR 5353)
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
2024-12-30 10:02:22 -08:00
Clayton Craft 306bcac601 systemd/plasma*: disable armv7 (MR 5366)
Fails in CI, and (according to Bart) might be disabled on this arch in
upstream aports later.
2024-12-30 10:02:22 -08:00
Bart Ribbers aa053b5050 extra-repos/systemd/plasma*: upgrade to 6.1.3 (MR 5366) 2024-12-30 10:02:22 -08:00
jane400andClayton Craft 6cd6990862 systemd/networkmanager: remove some alpine-isms (MR 5375)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

[ci:skip-build] already built successfully in CI
2024-12-30 10:02:22 -08:00
jane400 8b1acf5bbe systemd/systemd: move user/group creation to pre-install (MR 5375) 2024-12-30 10:02:22 -08:00
Caleb Connolly 99ee3989f0 systemd/postmarketos-base-systemd: depend on systemd-timsyncd (MR 5339)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:22 -08:00
Clayton Craft fb57c08c38 systemd/pipewire: upgrade to 1.2.0 (MR 5361)
[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2024-12-30 10:02:21 -08:00
Clayton Craft 5d5bb42e2d systemd/networkmanager: upgrade to 1.48.2 (MR 5361) 2024-12-30 10:02:21 -08:00
Clayton Craft f76d63bb99 systemd/mutter: upgrade to 46.2 (MR 5361)
updated pkgver to follow format used elsewhere... "999$_pkgver"
2024-12-30 10:02:21 -08:00
Clayton Craft 8297b9c3fa systemd/gnome-settings-daemon: upgrade to 46.0 (MR 5361) 2024-12-30 10:02:21 -08:00
Clayton Craft 8c038b9b2d systemd/gdm: upgrade to 46.2 (MR 5361) 2024-12-30 10:02:21 -08:00
Clayton Craft fcf0abccad systemd/gnome-shell: upgrade to 46.2 (MR 5361) 2024-12-30 10:02:21 -08:00
Clayton Craft 8e12f20c10 systemd/gnome-keyring: upgrade to 46.1 (MR 5361)
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
2024-12-30 10:02:20 -08:00
Clayton Craft e788080add systemd/systemd-services: fix pkgname for gnome-clocks service 2024-12-30 10:02:20 -08:00
Clayton Craft e993844219 systemd/networkmanager: add -systemd subpkg for service
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
2024-12-30 10:02:20 -08:00
David Heidelberg 6685e92136 systemd/systemd-services: add missing bluez services (MR 5200)
Signed-off-by: David Heidelberg <david@ixit.cz>

[ci:skip-build] already built successfully in CI
2024-12-30 10:02:20 -08:00
Clayton Craft 0b274e5fe3 systemd/systemd-services: adjust subpackages to use -systemd name (MR 5315) 2024-12-30 10:02:20 -08:00
Clayton Craft 19cc561815 systemd/upower: rename service subpkg to systemd (MR 5315) 2024-12-30 10:02:20 -08:00
Clayton Craft 97a4257661 systemd/polkit: rename service subpkg to systemd (MR 5315) 2024-12-30 10:02:20 -08:00
Clayton Craft e863c4bf67 systemd/pmos-base-systemd: depend on newer linux-pam pkg (MR 5315) 2024-12-30 10:02:19 -08:00
Clayton Craft 8513810f9e systemd/linux-pam: rename service subpkg to systemd (MR 5315) 2024-12-30 10:02:19 -08:00
Clayton Craft 5ff3f16f07 systemd/gdm: rename service subpkg to systemd (MR 5315) 2024-12-30 10:02:19 -08:00
Clayton Craft 2adc1b8fc9 systemd/dbus: rename service subpkg to systemd (MR 5315) 2024-12-30 10:02:19 -08:00
Clayton Craft ccb6c295e3 systemd/abuild: add patch to warn on install to /bin or /lib 2024-12-30 10:02:19 -08:00
Clayton Craft e630712bd4 systemd/abuild: update -systemd split func patch
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
2024-12-30 10:02:19 -08:00
jane400 563f0e650d systemd: postmarketos-base-systemd: manually include kmod-libs in initramfs for systemd-udevd (MR 5340)
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
2024-12-30 10:02:19 -08:00
jane400 c758ca4f92 systemd/postmarketos-base-systemd: fix replaces failure (MR 5335)
the systemd v256 upgrade also moved some files to their
respecitive subpackages.

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:18 -08:00
Oliver Smith de992c8362 systemd/plasma-workspace: workaround for build race condition (MR 5327)
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
2024-12-30 10:02:18 -08:00
Bart Ribbers 5ccbac9ed8 community/plasma: upgrade to 6.1.2 (MR 5327)
[ci:skip-vercheck]
Rebased-By: Oliver Smith <ollieparanoid@postmarketos.org>
2024-12-30 10:02:18 -08:00
Clayton Craft c1866ef1b3 systemd/kwin: include patch in repo
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
2024-12-30 10:02:18 -08:00
jane400 8c6e6f98fd systemd: upgrade to 256 and add me as co-maintainer (MR 5093)
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
2024-12-30 10:02:18 -08:00
Clayton Craft 5633c29afc systemd/systemd-services: drop pulseaudio (MR 5142)
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]
2024-12-30 10:02:18 -08:00
Clayton Craft 2aba32de85 systemd/systemd-services: add wireplumber (MR 5142) 2024-12-30 10:02:18 -08:00
Clayton Craft e1abc633ea systemd: fork pipewire to build w/ systemd support (MR 5142)
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.
2024-12-30 10:02:17 -08:00
Caleb Connolly 89f05564b8 systemd: add udevd symlink (MR 5218)
symlink systemd-udevd to /usr/bin/udevd for compatibility with eudev
(initramfs).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:17 -08:00
jane400 936c10a767 systemd/systemd: don't force disable everything with presets (MR 5207)
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
2024-12-30 10:02:17 -08:00
Clayton Craft 8274eb35c4 systemd/systemd-services: Add geoclue, gnome-clocks, iwd, mpris-proxy, mmsd (MR 5204)
[ci:skip-build] already built successfully in CI
2024-12-30 10:02:17 -08:00
Clayton Craft 618a43c699 systemd/gnome-session: upgrade to 46 (MR 5148)
fixes #2855
2024-12-30 10:02:17 -08:00
Dylan Van Assche a74d26b8fc systemd/iio-sensor-proxy: allow AF_QIPCRTR (MR 5190)
libssc requires QRTR protocol, allow it in systemd lockdown.

[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:17 -08:00
Clayton Craft 6119faaf4e systemd/gnome-shell-mobile: rebase on latest master changes
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)
2024-12-30 10:02:17 -08:00
Clayton Craft bb5685fdc8 systemd/systemd-services: fix rtkit subpackage name (MR 5150)
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
2024-12-30 10:02:16 -08:00
Clayton Craft f572118a04 systemd/gnome-shell: actually build with systemd support (MR 5147)
This was a total blunder by earlier me...

fixes !5115
2024-12-30 10:02:16 -08:00
Clayton Craft 599b894761 systemd/mutter,gnome-shell: disable crossdirect (MR 5115)
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
2024-12-30 10:02:16 -08:00
Clayton Craft abdfd64a98 systemd/gnome-shell: fork to enable systemd support (MR 5115)
fixes #2767

[ci:skip-vercheck]
2024-12-30 10:02:16 -08:00
Clayton Craft 9378028c68 systemd/mutter: fork to enable systemd support (MR 5115) 2024-12-30 10:02:16 -08:00
Clayton Craft 6b30b35b28 systemd/gnome-desktop: fork to enable systemd support (MR 5115) 2024-12-30 10:02:16 -08:00
Clayton Craft a5cbf6e649 systemd: use a more general install_if for x11 subpkg (MR 5118)
[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.
2024-12-30 10:02:16 -08:00
Caleb Connolly 457900508d systemd/systemd-services: dconf: fix path (MR 5094)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:15 -08:00
Caleb Connolly d252e5f026 systemd: linux-pam: upgrade to 1.6.0
following Alpine

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:15 -08:00
Bart Ribbers 0086f4299e extra-repos/systemd/kde*: upgrade to latest versions (MR 5068)
[ci:skip-build]: already built successfully in CI
2024-12-30 10:02:15 -08:00
Clayton Craft aed150390b extra-repos/systemd: add kbd dependency (MR 5074)
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
2024-12-30 10:02:15 -08:00
Oliver Smith eae80e95b9 (not for master) CI: hardcode get_upstream_branch (MR 5070)
Set it to master_staging_systemd, and bypass the usual logic of looking
into pmaports.cfg and channels.cfg (of master branch!). This avoids
adding it to channels.cfg of the master branch.
2024-12-30 10:02:15 -08:00
Oliver Smith 7befd8fdaa (not for master): CI: disable armhf, riscv64, x86 (MR 5070)
The staging repository isn't being built for these.
2024-12-30 10:02:15 -08:00
Oliver Smith 7b70acb12a systemd: fix "INSERT-REASON-HERE" comments (MR 5070) 2024-12-30 10:02:15 -08:00
Oliver Smith c99df59686 systemd/systemd-services: make shellcheck happy (MR 5070)
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.
2024-12-30 10:02:14 -08:00
Oliver Smith 5819dd0ddd systemd: remove various unreferenced files (MR 5070)
Remove OpenRC specific files that were removed for the systemd-specific
forks.
2024-12-30 10:02:14 -08:00
Oliver Smith 649e23d7f9 systemd/mutter-mobile: fix provides= (MR 5070) 2024-12-30 10:02:14 -08:00
Oliver Smith 406d21c262 systemd/gnome-shell-mobile: fix provides= (MR 5070)
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.
2024-12-30 10:02:14 -08:00
Oliver Smith f0477fa45b CI: test_kernel: skip linux-pam (MR 5070)
The linux-pam package is not a linux kernel :)
2024-12-30 10:02:14 -08:00
Oliver Smith e8f4209061 CI: directory-structure: add extra-repos/systemd (MR 5070) 2024-12-30 10:02:14 -08:00
Oliver Smith 0c9c0ad7de editorconfig: add networkmanager.rules style (MR 5070)
This is forked from Alpine. Keep the style to not increase the diff.
2024-12-30 10:02:14 -08:00
Bart Ribbers caaaabb442 extra-repos/systemd/kjournald: new aport 2024-12-30 10:02:13 -08:00
Bart Ribbers a0d3b1ba4c extra-repos/systemd/plasma*: add initial systemd Plasma packages 2024-12-30 10:02:13 -08:00
Oliver Smith 669c54bd0d extra-repos/systemd/: move from systemd/
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.
2024-12-30 10:02:13 -08:00
Oliver Smith 7a2956428a systemd/xorg-server: set !check 2024-12-30 10:02:13 -08:00
Oliver Smith 5c53095cd6 systemd/gnome-shell-mobile: drop caribou dep
Remove it, like we did with temp/gnome-shell-mobile in pmaports master.
2024-12-30 10:02:13 -08:00
Sam Day 41df2c9c98 systemd-services: add phosh.service (MR 4904) 2024-12-30 10:02:13 -08:00
Oliver Smith 2a59625a3d systemd/postmarketos-base-systemd: depend on systemd-services
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.
2024-12-30 10:02:13 -08:00
Alexander Martinz 811adedd16 systemd/systemd-services: add rtkit-daemon.service
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>
2024-12-30 10:02:12 -08:00
Caleb Connolly 215270ac75 systemd/gnome-shell-mobile: add uclamp hack
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>
2024-12-30 10:02:12 -08:00
Caleb Connolly 54d9ce735d CHECK: systemd/xorg-server: new aport
Clayton says: this integrates with systemd (logind specificially)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:12 -08:00
Caleb Connolly 924c0940a6 systemd/upower: new aport
Integrates with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:12 -08:00
Caleb Connolly 34a066c025 systemd/systemd-services: new aport
A collection of systemd services.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:12 -08:00
3f66a0822a systemd/systemd: new aport
Co-Authored-by: jane400 <pmos@j4ne.de>
Co-Authored-by: Caleb Connolly <caleb@postmarketos.org>
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:12 -08:00
Caleb Connolly c7c7ee65a6 systemd/postmarketos-base-systemd: new aport
postmarketOS base package with systemd stuff.
2024-12-30 10:02:12 -08:00
Caleb Connolly 0cc0a59035 systemd/polkit: new aport
Integrates tightly with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:11 -08:00
Caleb Connolly 58c508c474 systemd/networkmanager: new aport
Clayton says: integrates with systemd (logind)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:11 -08:00
Caleb Connolly 98a96fa4e8 systemd/mutter-mobile: new aport
Integrates tightly with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:11 -08:00
Caleb Connolly 6fba640561 systemd/multipath-tools: new aport
Builds against systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:11 -08:00
Caleb Connolly 5bc1195ec7 systemd/linux-pam-systemd: new aport
integrates with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:11 -08:00
Caleb Connolly 98c35c50a3 systemd/gnome-shell-mobile: new aport
Integrates tightly with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:11 -08:00
Caleb Connolly fe2314c427 systemd/gnome-settings-daemon: new aport
Integrates tightly with systemd

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:11 -08:00
Caleb Connolly 0293894ef2 systemd/gnome-session: new aport
Integrates tightly with systemd

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:11 -08:00
Caleb Connolly f35aa6383e systemd/gnome-keyring: new aport
Integrates tightly with systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:10 -08:00
Caleb Connolly 4851a8bc3f systemd/gdm: new aport
gdm integrates tightly with systemd, fork from aports to rebuild against
systemd.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:10 -08:00
Caleb Connolly 0163e0e639 systemd/dbus: new aport
Fork dbus and rebuild it with systemd support.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:10 -08:00
Caleb Connolly a28e22d2c8 systemd/apk-tools: new aport
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>
2024-12-30 10:02:10 -08:00
Caleb Connolly d7e3be53a3 systemd/alpine-base: new aport
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>
2024-12-30 10:02:10 -08:00
Caleb Connolly 4d1f0819ce systemd/accountsservice: new aport
Forked from alpine to rebuild with systemd support.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:10 -08:00
Caleb Connolly 6876c51ecd systemd/abuild: new aport
Fork of abuild with a default_service implementation for generating
-service subpackages.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-30 10:02:10 -08:00
Oliver Smith 0cfa7a118f pmaports.cfg: add repo:systemd section 2024-12-30 10:02:09 -08:00
Jan Jasper de Kroon 0af3cf8732 device-pine64-pinephonepro: update keyboard config paths (MR 5956)
Update paths to keyboard configuration files to reflect PinePhone's
move from main to community device category.

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

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

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

[ci:skip-vercheck]

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

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

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

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

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

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

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

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

1. Added support for other marvell SoC

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

3. Several redundant USB controller driver has been removed

4. CONFIG_SATA_MV is seted to y

5. fbdev is disabled

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

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

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

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

Currently, these are tested working:

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

Tested UI environments:

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

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

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

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

Signed-off-by: iAboothahir <aboothahirpkd@gmail.com>
2024-12-23 16:21:30 +03:00
Jakob Hauser 7bf4268dfa main/postmarketos-ui-lxqt: save and restore brightness on boots (MR 5933)
LXQt can control the display brightness. It doesn't save and restore it
over boots, however. In distributions with systemd this is handled by
"systemd-backlight@.service". For OpenRC the package brightnessctl offers
a service saving the state of the brightness at shutdown and reboot.
2024-12-23 15:37:35 +03:00
Jakob Hauser dbf55cdb9d main/postmarketos-ui-lxqt: separate openrc and main post-install scripts (MR 5933) 2024-12-23 15:37:31 +03:00
Anjandev Momi c31bc1a1be community/linux-postmarketos-qcom-laptop: enable CRYPTO_MD4 (MR 5923)
closes #3386

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Currently, these are tested working:

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

Tested UI environments: XFCE 4 & Console.

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

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

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

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

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

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

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

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

This release cycle was very quiet with small fixes.

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

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

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

Some flashlight and charging patches were staged.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The following kernels are currently missing the correct options:

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

The following kernels are too old to support CONFIG_CRYPTO_ZSTD:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[ci:ignore-count]

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

No files matched your search

+3 -2
View File
@@ -10,8 +10,9 @@ fi
git config --global --add safe.directory "$CI_PROJECT_DIR"
git config --global user.name "postmarketOS CI"
# pmaports
git config --global user.email "project_226_bot_a365eaa0c380d1bee0af03adf42ebea3@noreply.gitlab.postmarketos.org"
# The username for the bot associated with the access token
# e.g. project_226_bot_bfa19b84bf7f559c8ff7438a01fd29b9
git config --global user.email "$PMAPORTS_TOKEN_BOT@noreply.gitlab.postmarketos.org"
# Configure SSH key for signing
mkdir -p ~/.ssh
+2 -28
View File
@@ -56,34 +56,8 @@ def get_upstream_branch():
:returns: branch name, e.g. "v20.05" """
# Prefer gitlab CI target branch name if it's set (i.e. running in gitlab CI)
if target_branch := os.environ.get("CI_MERGE_REQUEST_TARGET_BRANCH_NAME"):
return target_branch
global cache
if "upstream_branch" in cache:
return cache["upstream_branch"]
# Get channel (e.g. "stable") from pmaports.cfg
# https://postmarketos.org/pmaports.cfg
pmaports_dir = get_pmaports_dir()
pmaports_cfg = configparser.ConfigParser()
pmaports_cfg.read(f"{pmaports_dir}/pmaports.cfg")
channel = pmaports_cfg["pmaports"]["channel"]
# Get branch_pmaports (e.g. "v20.05") from channels.cfg
# https://postmarketos.org/channels.cfg
channels_cfg_str = run_git(["show", "upstream/master:channels.cfg"])
channels_cfg = configparser.ConfigParser()
channels_cfg.read_string(channels_cfg_str)
assert channel in channels_cfg, \
f"Channel '{channel}' from pmaports.cfg in your branch is unknown." \
" This appears to be an old branch, consider recreating your change" \
" on top of master."
ret = channels_cfg[channel]["branch_pmaports"]
cache["upstream_branch"] = ret
return ret
# HACK for master_staging_systemd branch
return "master_staging_systemd"
def get_changed_files(removed=True):
-1
View File
@@ -21,7 +21,6 @@ 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
+2 -3
View File
@@ -47,8 +47,7 @@ def test_aports_device():
if "postmarketos-base" == dependency or "postmarketos-base>" in dependency:
depend_flag = True
if not depend_flag:
raise RuntimeError("Missing 'postmarketos-base' in depends of " +
path)
raise RuntimeError(f"Missing 'postmarketos-base' in depends of {path}")
# Depends: Must not have specific packages
for depend in apkbuild["depends"]:
@@ -61,7 +60,7 @@ def test_aports_device():
raise RuntimeError("wrong architecture, please change to arch=\""
f"{deviceinfo.arch}\": {path}")
if "!archcheck" not in apkbuild["options"]:
raise RuntimeError("!archcheck missing in options= line: " + path)
raise RuntimeError(f"!archcheck missing in options= line: {path}")
def test_aports_device_kernel():
+3 -3
View File
@@ -36,7 +36,7 @@ def test_deviceinfo():
# Iterate over all devices
last_exception = None
count = 0
pattern = re.compile("^deviceinfo_[a-zA-Z0-9_]*=\".*\"$")
pattern = re.compile("^deviceinfo_[a-zA-Z0-9_]*=\".*\"(\\s*# .*)?$")
for folder in pkgrepo_iglob("device/*/device-*"):
device = folder.name.split("-", 1)[1]
@@ -63,8 +63,8 @@ def test_deviceinfo():
# Check line against regex (can't use multiple lines etc.)
if not pattern.match(line) or line.endswith("\\\""):
raise RuntimeError("Line looks invalid, maybe missing"
" quotes/multi-line string/comment next"
f" to line instead of above? {line}")
" quotes/multi-line string/malformed"
f" inline comment? {line}")
# Successful deviceinfo parsing / obsolete options
info = pmb.parse.deviceinfo(device)
@@ -10,6 +10,7 @@ expected_directories = [
"device/community",
"device/main",
"device/testing",
"extra-repos/systemd",
"main",
"modem",
"non-free",
+3
View File
@@ -23,6 +23,9 @@ def test_aports_kernel():
apkbuild = pmb.parse.apkbuild(path)
aport_name = os.path.basename(os.path.dirname(path))
if aport_name == "linux-pam":
continue # This package isn't a linux kernel!
if "pmb:cross-native" not in apkbuild["options"]:
raise RuntimeError(f"{aport_name}: \"pmb:cross-native\" missing in"
" options= line")
+5
View File
@@ -12,3 +12,8 @@ indent_style = tab
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# Forked from Alpine
[extra-repos/systemd/networkmanager/networkmanager.rules]
indent_style = space
indent_size = 4
+12 -2
View File
@@ -65,7 +65,7 @@ is_symlink() {
# available in git tree and checksums are correct.
check_local_sources() {
local apkbuild="$1"
local startdir="${apkbuild%/*}"
local startdir="$2"
local status=0
local checksum_act checksum_exp content filename line sources
@@ -109,11 +109,21 @@ check_file_size() {
fi
}
cleanup() {
[ -f "$_staged" ] && rm "$_staged"
}
trap cleanup EXIT
for apkbuild in $(changed_files '**/APKBUILD'); do
check_local_sources "$apkbuild"
_staged="$(mktemp)"
git show ":$apkbuild" >"$_staged"
check_local_sources "$_staged" "${apkbuild%/*}"
cleanup
done
for path in $(changed_files); do
check_file_size "$path"
done
trap - EXIT
-16
View File
@@ -109,7 +109,6 @@ kernel-kconfig:
changes:
- kconfigcheck.toml
- device/*/linux-*/config-*
- main/linux-*/config-*
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/kconfig.sh
@@ -148,11 +147,6 @@ build-x86_64:
script:
- .ci/build-x86_64.sh
build-x86:
extends: .build
script:
- .ci/build-x86.sh
build-aarch64:
extends: .build
script:
@@ -163,16 +157,6 @@ build-armv7:
script:
- .ci/build-armv7.sh
build-armhf:
extends: .build
script:
- .ci/build-armhf.sh
build-riscv64:
extends: .build
script:
- .ci/build-riscv64.sh
auto-update:
stage: autoupdate
rules:
+2 -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`
+14 -3
View File
@@ -31,25 +31,34 @@ device/*/*-pine64-pinephonepro/ @PsychoGame
device/*/*-pine64-rockpro64/ @PureTryOut
device/*/*-purism-librem5/ @craftyguy @alistair23 @Newbyte
device/*/*-qcom-msm8916/ @Minecrell @TravMurav
device/*/*-qcom-msm8953/ @barni2000 @alikates @vipaoL @jiaxyga
device/*/*-qcom-sdm670/ @flamingradian
device/*/*-qcom-sdm845/ @sdm845-mainline
device/*/*-qcom-sm6350/ @z3ntu
device/*/*-qcom-sm8250/ @jianhua
device/*/*-samsung-a3/ @Mis012 @TravMurav @Minecrell
device/*/*-samsung-a5/ @Minecrell @minlexx
device/*/*-samsung-a51/ @manoedinata
device/*/*-samsung-e7/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-espresso10/ @MightyM17
device/*/*-samsung-espresso7/ @MightyM17 @antoni.aloytorrens
device/*/*-samsung-fortuna/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-fortunaltezt/ @bolilingmeng89006
device/*/*-samsung-grandmax/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-gt510/ @TravMurav
device/*/*-samsung-gt58/ @TravMurav
device/*/*-samsung-j3ltetw/ @bolilingmeng89006
device/*/*-samsung-j4lte/ @manoedinata
device/*/*-samsung-j5/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-j5x/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-rossa/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-serranove/ @Minecrell
device/*/*-tolino-shine2hd/ @akemnade
device/*/*-videostrong-kii-pro/ @funderscore
device/*/*-wileyfox-crackling/ @TravMurav @Minecrell
device/*/*-xiaomi-beryllium/ @joelselvaraj
device/*/*-xiaomi-daisy/ @joelselvaraj @alikates
device/*/*-xiaomi-elish/ @jianhua
device/*/*-xiaomi-markw/ @vipaoL
device/*/*-xiaomi-mido/ @barni2000
device/*/*-xiaomi-scorpio/ @Tooniis
@@ -93,6 +102,7 @@ device/*/device-shift-axolotl/ @amartinz @calebccff @dylanvanassche
device/*/device-solidrun-cubox/ @longnoserob
device/*/firmware-google-sargo/ @flamingradian
device/*/firmware-google-veyron-brcm/ @jenneron
device/*/firmware-motorola-osprey/ @Minecrell
device/*/firmware-odroid-xu4/ @Grimler
device/*/firmware-oneplus-sdm845/ @calebccff
device/*/firmware-powervr-gx6250/ @jenneron
@@ -107,10 +117,11 @@ device/*/linux-postmarketos-exynos4/ @Newbyte @Grimler @knuxify
device/*/linux-postmarketos-exynos5/ @jenneron @Grimler
device/*/linux-postmarketos-grate/ @clamor-s @jenneron @jethrob
device/*/linux-postmarketos-imx-ereader/ @akemnade
device/*/linux-postmarketos-marvell-dove/ @longnoserob
device/*/linux-postmarketos-marvell/ @longnoserob @exkc
device/*/linux-postmarketos-mediatek-mt8173/ @jenneron @adamthiede
device/*/linux-postmarketos-mediatek-mt8183/ @jenneron @binarycraft
device/*/linux-postmarketos-omap/ @MightyM17 @Sicelo
device/*/linux-postmarketos-qcom-laptop/ @craftyguy @calebccff
device/*/linux-postmarketos-qcom-msm8939/ @Newbyte
device/*/linux-postmarketos-qcom-msm8953/ @M0Rf30 @Ultra-azu @barni2000
device/*/linux-postmarketos-qcom-msm8996/ @Tooniis
@@ -134,10 +145,10 @@ device/*/u-boot-librem5/ @craftyguy @alistair23 @Newbyte
device/*/u-boot-pinebookpro/ @QC8086
device/*/u-boot-pinephone/ @Arnavion @PsychoGame
device/*/wl1251-cal/ @Danct12
main/postmarketos*gnome*/ @pabloyoyoista @Newbyte
main/postmarketos*gnome*/ @pabloyoyoista @Newbyte @fossdd
main/postmarketos-initramfs/ @calebccff @craftyguy
main/postmarketos-ui-i3wm/ @fossdd
main/postmarketos-ui-phosh/ @pabloyoyoista @Newbyte
main/postmarketos-ui-phosh/ @pabloyoyoista @Newbyte @fossdd
main/postmarketos-ui-plasma-mobile/ @PureTryOut
main/shutdown-clear-rtc-wakealarm/ @Arnavion
main/ttyescape/ @calebccff
+5 -1
View File
@@ -1,4 +1,8 @@
# postmarketOS aports
# postmarketOS aports repository
This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.
There are many more packages defined in the [Alpine Linux aports](https://gitlab.alpinelinux.org/alpine/aports/) on which these packages depend.
Helpful resources:
* [How to create a package](https://wiki.postmarketos.org/wiki/Create_a_package)
+7 -1
View File
@@ -8,8 +8,14 @@ branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[v24.06]
[v24.12]
description=Latest release / Recommended for best stability
branch_pmaports=v24.12
branch_aports=3.21-stable
mirrordir_alpine=v3.21
[v24.06]
description=Old release (supported until 2025-01-23)
branch_pmaports=v24.06
branch_aports=3.20-stable
mirrordir_alpine=v3.20
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-aarch64
pkgver=1.37.0
pkgrel=7
pkgrel=10
_arch="aarch64"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
9d0fd2ad11f7b2f9fbb3d5e71a2a7f113187648f61c269bee7b6b7ef0976d181d6a7588638382415b7eb2cc3934d0ef62080d4462acfc97c4c7b056003d333d4 busybox-static-1.37.0-r7-aarch64-edge.apk
b71a091d7ae6ee459dd0c51409793214a2285ee83c2621e289e198187ed642222d6f842f08661a8c72f96c9a0dc7271d5a47ab6794e2551f185d68f515bde598 busybox-static-1.37.0-r10-aarch64-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armhf
pkgver=1.37.0
pkgrel=7
pkgrel=10
_arch="armhf"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
c89807c048cd58a5994c8162685669d0e49752f7284adc427d017355bbfd43f5a686617be42abd2b470c15869225a03f31a6231ee4dbb03fc6b27d6c920b5208 busybox-static-1.37.0-r7-armhf-edge.apk
88abaead7eace4910199e0cc76bc16bce762d61b2e10e1bc2a631d38e56458f5cb95f98f09d09f346229f9c6c982d3b0b3f907315f54e0e92b83dcc3b839d8bf busybox-static-1.37.0-r10-armhf-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armv7
pkgver=1.37.0
pkgrel=7
pkgrel=10
_arch="armv7"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
56e0b396ced0a0afab2f5b50156b87707e3511a2e24c52c9688a20791fad20f11869b5b06bb6c7d407ffec3e4e06ea3100876e3d32efae678fc5a0fe6b57715a busybox-static-1.37.0-r7-armv7-edge.apk
5bbeb8a0331f25569acc32d574290ec430f0a2a74190550b3913f3e7366082a76b9755c0d52bec57659a2bbd1af3f4fe5928ec988b283a2e731c902cd5e7aa85 busybox-static-1.37.0-r10-armv7-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-aarch64
pkgver=1.2.5
pkgrel=5
pkgrel=8
arch="x86_64"
subpackages="musl-dev-aarch64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
5b3c6f1f1d87164a8a72c9d90b6e35ccc256bb2f6e1a12e4a3ff04b6309fff6c438eef60b824e4993958c4348c122fb96ef8f59dc468e10ee5be69aa81e6f4bc musl-1.2.5-r5-aarch64-edge.apk
ebbd7300b2102f322633dbc01449b5d4f25374609193359bf5da97e3a6cf34f1288a69ed0638bd5505b4548fdeb1efa481c9cd3a031ae3a98759b36cbf2db46e musl-dev-1.2.5-r5-aarch64-edge.apk
9cdb30e50d99d377ef8ef3bc41fc6ecd0ae7bc744c6c29ba97afd1ff072271d78c9a36947cebdf944e907b5181bacf165345824234380511d4cc3b535c730673 musl-1.2.5-r8-aarch64-edge.apk
5638f321b0e76bdb68d3e641ab5bcf4b0f66365aedfbec52b09fc9eafcaf210797c2cbd8166254c3633e3d597d8118838443d32e0af45d689467a237e1cf479e musl-dev-1.2.5-r8-aarch64-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-armhf
pkgver=1.2.5
pkgrel=5
pkgrel=8
arch="x86_64"
subpackages="musl-dev-armhf:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
302f14e5dc60b4c55f5f299be6cd158fe0955549e8b559afb5985c29a5c98432f82586732954c0dc3776104efc072b11ad9e4818842e6592df2e1931ba3590de musl-1.2.5-r5-armhf-edge.apk
71fc34ce05c5ed73136e77baa478986ec205f882f02602f54f772498451c70a254c89301e932c1e9d3b48a4b4513ca99f64b54de38bdd95966421c297e81ac5b musl-dev-1.2.5-r5-armhf-edge.apk
18a970c5ef74e306ffa6031ae5f75a9cc3c52a9cd4c4706c94631696cf52d5af5024548d658176546c559c99dfad321e0ce87eddcc92a4aff40293e61313f921 musl-1.2.5-r8-armhf-edge.apk
c8bcb213d113fde24ed72f67d46e19cc842fbae223aaa02b635d53ba4c7ea39869243b24dada8a248e8c93e1e9c8b35424be39bcfd25136d3b18250cab820638 musl-dev-1.2.5-r8-armhf-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-armv7
pkgver=1.2.5
pkgrel=5
pkgrel=8
arch="x86_64"
subpackages="musl-dev-armv7:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
9e2af487860c1a232941a8c5e9833457af1f8c1bd45ce2105dcffcd39879363d4a14928c8670b6e5b8295c97a9fd121d880f8eee2f301df243e1e12dcae1cb69 musl-1.2.5-r5-armv7-edge.apk
8de555df4077de3f12bb5a113d2baaa93f403bd829058dd94093e58a0a7cd7b868d76bdc3f5bc0e5953f2bffdac4360cdbbada3be72578a17c7b1118cb2330a0 musl-dev-1.2.5-r5-armv7-edge.apk
4aad1e994572ae8b364e926c9213dbc2f6759fb9308290837cbcba31c4005a9dfc16fb2600953dd23e3f49b9a549865bc818e875d8dd8ef8f9075a114a7dca2d musl-1.2.5-r8-armv7-edge.apk
69359b6d47b94560657c7c97709ea2bcc3b31e4454bb247721d39d20daa1520178cca789f68126d4235f1e10ed1a7a7ce598b199323898d0c6b714342608ab0d musl-dev-1.2.5-r8-armv7-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-riscv64
pkgver=1.2.5
pkgrel=5
pkgrel=8
arch="x86_64"
subpackages="musl-dev-riscv64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
4234a6980ea7bae2d275537f2c55e6ff1c480fc1ff838341d252ca71f6d098e1e91b60a8341744c91721d0850886f9155de330de7a71b037b9b87ac514582587 musl-1.2.5-r5-riscv64-edge.apk
6d10394c2e778699645ed3a65a52bd1fead39aeea13371a83cacae4b301fd577b2cb8cd9779c285d1dafeebef99cbd09807b86013468fe74f45cac1498c400ff musl-dev-1.2.5-r5-riscv64-edge.apk
41e2ab47c4ee0cd3fde7867be24eaff3f0346ae66b0e4a268b2638e243ba3e55db6782f9633d6ee08018eb608134908439c498e4c8a6cc43b6f607ed2af0f41b musl-1.2.5-r8-riscv64-edge.apk
f9f31edbd65a2c920c4936be66c6e822081ac13a1b08bf7fda7205105bb77fcd18484a73f42857ab947e88310b093c02cedc1b097490b4ba610ff9a78c60ab15 musl-dev-1.2.5-r8-riscv64-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-x86
pkgver=1.2.5
pkgrel=5
pkgrel=8
arch="x86_64"
subpackages="musl-dev-x86:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
5a556b306c4fe7969318c3af456dfa3b91f4a8563cf21d95154b27864d74baa68e99fc78302ac1b19f7aa3f72febb647959ef6c1c664798bbc8d411f8fe950f3 musl-1.2.5-r5-x86-edge.apk
52b49e9789176f47d6c00e0cf5e4ec66a70f1977ae86d4f8cbc33631e0f5586c8d745536aa04fcd612ec4aee9bfca2cc2e5beea0e5108d81a6a8e015a58d1666 musl-dev-1.2.5-r5-x86-edge.apk
57242b717ccfa0dd5dae74f6b440b1258fc4900c30b569b7fa46930e38cc1ca1c28cbb9c24239c67909fd26644a82c87ef19a41ce3c5a47e0f4c2e749d24eb32 musl-1.2.5-r8-x86-edge.apk
d3df9a8bb1a5b61cc84f805e0e1926dd52fae77929b5839ffe37c694a7a494728166aff52a37b3ce4fe24065c6886098bff91ddf9f365e636b3fd1dc0e0332ac musl-dev-1.2.5-r8-x86-edge.apk
"
+3 -3
View File
@@ -8,7 +8,7 @@ fi
pkgname=musl-x86_64
pkgver=1.2.5
pkgrel=5
pkgrel=8
arch="aarch64"
subpackages="musl-dev-x86_64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
73c14308a84b80ffefa83e48322869a99c9adede367155493bee7f19e2be0846908cf52f0068748d641df9e19566c2fd49feda56e7848432054674a81c10f85e musl-1.2.5-r5-x86_64-edge.apk
8521be7365f75c68752c1527d32bc7c83a9f6670f5aff97752d9708607aaca04bf6afbed437192736f9e1baa85c1ff8f40dc75ce010554ac5ffbc777b9f0a6ac musl-dev-1.2.5-r5-x86_64-edge.apk
fa2d127eaf56c9bcd93e40ab8c2499123d534f65319232b76f12ffdd0798ed2f0218802cae0373f9255996fdfa194f04bb92d1e05c9b0a659fae4b7a533094eb musl-1.2.5-r8-x86_64-edge.apk
4fcd12befeaa57c3961e4291d37ed9a57043879af6de32f65db3b860616d0c1b76a545099c03350603fddebd8360beae552655ea6df9046712bda290c51d3e05 musl-dev-1.2.5-r8-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,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-daisy
pkgdesc="Xiaomi Mi A2 Lite"
pkgver=12
pkgver=13
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -43,7 +43,7 @@ fake_goodix() {
}
sha512sums="
a958e29c8ba4c079ee64a9882fe14ad03e7751ba4c2416a4bda07b0ee4e0342d5d6e3d43c95b05f47dabe06ff5be759401287da3c58ef0ecb31c8cba515cd560 deviceinfo
83b468ba3250896f9ade6cbc0c9defeb4fec4f9f3513c0bfdf2530197547a668e3940351430c0dbf1ca93e195b30208a47f92a44c31db64d0332dcb3db3bb3a5 deviceinfo
7202f0a55dfe43348940412fc38e59c855594b070db8742419feadb2299086d5810107201a228b7137b7cc7a97c94afac95d81c0cd65c52f31dbcb619b0a4279 modules-initfs
a2608b01b7b6e2dade694af355ff4f0f26cad49cf54bc332c77eb75d19fdc985f7f996fedb72753de447be0391deabf5fcea52406791d1e6e0d165703b63f145 90-device-xiaomi-daisy.rules
"
@@ -34,3 +34,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-markw
pkgdesc="Xiaomi Redmi 4 Prime"
pkgver=7
pkgver=8
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -31,6 +31,6 @@ package() {
}
sha512sums="
d5ecef8983110624e0cd69feed5f105204f8323e718435b19ffafa37cbe73d1c37a4d1d1cfb53d338dfeffa91ade137b3cf7c7b9f48408002c04260bbd3b5e65 deviceinfo
a31f4e9612407662e3f0de56ed892073449d3d39452026f8f73d3e300ea01636a966970c7c93ec748c468876d232a54c18e6fe2ec0e967093b166db60705f764 deviceinfo
0cba88d7ede62dc7c47feefb27d10e58e4c93498bec97cd274a1d10c4f16dff06c5472ed555170e0392a57c9269cc50bf550523f41bf1ba6c600af533302574b modules-initfs
"
@@ -33,3 +33,5 @@ deviceinfo_flash_sparse="true"
# osk-sdl
deviceinfo_mesa_driver="msm"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -1,7 +1,7 @@
# Maintainer: Barnabas Czeman <trabarni@gmail.com>
pkgname=device-xiaomi-mido
pkgdesc="Xiaomi Redmi Note 4X"
pkgver=8
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -30,6 +30,6 @@ package() {
}
sha512sums="
3424c103cc2878480527f57d75e122cfc5c95ffa66bf7133067dd691e664fee14ba43a626f70c5b2ffb70cd24a08b026e0571e99e390c0a485a3491e28883cda deviceinfo
cf450799dbb70f9ce40f6eb431493b3675e8ad1ae19048b2b62f0b2fc53897ebcbe578b57c29132450e26afe2b3739546eb31191e94d9e6b2aa028ef5878ec9f deviceinfo
9f534c76689728c3fa699ac8c854ca82815d5158a3675a70ef879ddbf140460977187dc3c1a799dadd0ab53d5a08b6275a1594a7b976eda983f3e78b2738a8be modules-initfs
"
@@ -32,4 +32,5 @@ deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -3,7 +3,7 @@
pkgname=device-xiaomi-onclite
pkgdesc="Xiaomi Redmi 7"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -32,6 +32,6 @@ package() {
}
sha512sums="
38630c72060697f3404e3832a21f1d9a3e365303c37e71e0df152f059e2607086718f115109e7d68e4906c6052a69f3b6649f8e2c2fd87708b9b2bedd154489e deviceinfo
a37d2baf856bbd734b9571ded15aa24c8800350295169b9d543b10cd225eadbdf36a1ebbb4d72369f0f117662de6e8f43cdd2f095893ef3ef3f201b6c98e8a73 deviceinfo
706e76054992dfd03ef240e0de2d7e84a77c97727141fa8d737b02c9d780f60c2df57755e17c44d93136aa6a6d1f8a8d9dbbf51d11674e5fb67197bd313811fd modules-initfs
"
@@ -38,3 +38,6 @@ deviceinfo_flash_kernel_on_update="false"
# osk-sdl
deviceinfo_mesa_driver="msm"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -3,7 +3,7 @@
pkgname=device-xiaomi-rosy
pkgdesc="Xiaomi Redmi 5"
pkgver=3
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -32,6 +32,6 @@ package() {
}
sha512sums="
7492d71babd34e34d3e69e82b538b8369cf46bd83da3ceb39ee1a36f7ecfaf09b01621acc23417041b4fd0ce8115e1364bafa051c75a04767f7c6e1d84858425 deviceinfo
7c8cb91b8b5e2405e371f614791a7354cafe81427c8f2ee190282edfbdfe0be6df37621f950a8040de29d9e5bee9379f05c3ef3681dc383db1b49d1432856e57 deviceinfo
ddc4e788c7cf62a1f0d6228f3bb59b89cba8f30c06d99c945477b0c1931721aefa3dc77e9f90ae3f0ad78979b9c7b228984e0bfd961b3e5eac62961830682939 modules-initfs
"
@@ -35,3 +35,6 @@ deviceinfo_flash_sparse="true"
deviceinfo_dtb="qcom/sdm450-xiaomi-rosy"
deviceinfo_append_dtb="true"
deviceinfo_flash_kernel_on_update="false"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -4,7 +4,7 @@
pkgname=device-xiaomi-tissot
pkgdesc="Xiaomi Mi A1"
pkgver=8
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -34,6 +34,6 @@ package() {
}
sha512sums="
4ea529e8822f268773e043dec4af4c419803e3220bc0bc85def1c07ee480efd5f33b2f8f74007aaf7d608926048c49d4dfc1d529f6501cebf5aba0f183ac9cd0 deviceinfo
a20e73d01823cfa5a5796c4a3725ab7a594bd8ae8cb46c3d2326d5f15fd19086b37dac1f5d5e19b222215d3275df585537ef26f15bfced2dd007975d14eb4968 deviceinfo
4284d7c184f364d81a06de962808cb240b713cda11381ddcec5acdfbb4d4962922b64b2f2675ab463961c0510352211ec439a6b9e4ebdc47bf73980133e9626a modules-initfs
"
@@ -38,3 +38,6 @@ deviceinfo_flash_kernel_on_update="false"
# osk-sdl
deviceinfo_mesa_driver="msm"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-vince
pkgdesc="Xiaomi Redmi 5 Plus"
pkgver=14
pkgver=15
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -34,6 +34,6 @@ package() {
}
sha512sums="
902eea9986467553e129c11a387919f21aed496d09475e6fd3b8fa44b036c79f2705b9ccda9caa0e2954b62cc5bafe761bdf734de871463020926c7263032e44 deviceinfo
bc0db9190fdef9859e7dedc0439f350ce8716a59efa5a182e12985c2435e2f1a624ddb85d1d3b89c60d452e813c90a8a9eb888db5a83422d6d225363c84e5072 deviceinfo
69cfc8db6ea497576085e1b5861c766b5c6cfbd493e4d66aa0bfa29a0e80eeaeb8a465c4841c6a7959796f5a2325e621d60f2c35ccb0741d7934ab310abe807f modules-initfs
"
@@ -38,3 +38,6 @@ deviceinfo_flash_sparse="true"
# osk-sdl
deviceinfo_mesa_driver="msm"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-ysl
pkgdesc="Xiaomi Redmi S2/Y2"
pkgver=5
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -31,6 +31,6 @@ package() {
}
sha512sums="
a985591e27192acc03a3218ae7e419aa557b6219139058f3269ff5c3bb5f695c2af1af8157c55331d4238d9fb179c0492db660e7212a100bd3c5c31e37d623fe deviceinfo
2348d7622b6638a3c2beb6a5ba9eee3375614e2a63f5e1474740d9cf4c822c9963b6fbbec17354c4a3d14eeaeec5644f75f939e80d551adeb1b2455280406220 deviceinfo
b5e4f6dec04a9a7d7231a62d8b60e17a9a5265768eb80050225c0f57b8188ec108d8b7155ccb70ba95201906b653d19ef33a0ff04072da040b0242d7032b103d modules-initfs
"
@@ -31,3 +31,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -1,6 +1,6 @@
# Maintainer: Richard Acayan <mailingradian@gmail.com>
pkgname=alsa-ucm-conf-qcom-sdm670
pkgver=1.2.9_git20241012
pkgver=1.2.9_git20241211
pkgrel=0
pkgdesc="ALSA UCM configuration for SDM670 devices"
url="https://gitlab.com/sdm670-mainline/alsa-ucm-conf"
@@ -8,7 +8,7 @@ arch="aarch64"
license="BSD-3-Clause"
provides="alsa-ucm-conf"
provider_priority=1
_commit="437f49545593a3e285feff1820bc1a282213af45"
_commit="80bbe11220dcb5db4f2b3e65f1e1783d4935f902"
source="https://gitlab.com/sdm670-mainline/alsa-ucm-conf/-/archive/$_commit/alsa-ucm-conf-$_commit.tar.gz"
options="!check"
@@ -19,5 +19,5 @@ package() {
}
sha512sums="
4e0edfaf6451bc0177e2115f21ef00504abf2b974e7f8eb8e5f4089f11ff6d2692ff07965946eb9086b1dce7016ab14bdc998bbf6f72ae9da00d83678ed5c956 alsa-ucm-conf-437f49545593a3e285feff1820bc1a282213af45.tar.gz
489c9807e7667e2246426970009d2dbed0267d797764a8766f37375e6bf2d4d0035ab46d205acb9e96748d2257083ae816639cd559b292e2551ab7481a9040f9 alsa-ucm-conf-80bbe11220dcb5db4f2b3e65f1e1783d4935f902.tar.gz
"
@@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-arrow-db410c
pkgdesc="Arrow DragonBoard 410c"
pkgver=4
pkgrel=1
pkgver=5
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -32,6 +32,6 @@ nonfree_firmware() {
}
sha512sums="
b7431dcf918509458637442814d6f91f1532c75cd483be65d14dedd7af81f2f565187a190b3e3537474d00eec71cdb4ef6eb7fe3246ecde5a6c7b92593e71207 deviceinfo
748f5953d059f6765b041910bc8d7654a9e92d54d1646d8b90a4cdf5a66087f9a1917c7d1bddba994d2cc65d5b2ce422d6fb4650f771819b9f3f9ff33342be99 deviceinfo
ccd6758cb4954eb0a96c7fb15e732e8147414f8edc498d9faf7d04ddef85d817733669ec1a6003e623e8392f3f6bb85f71160efe4e82f27e300d58aa6f5c8549 modules-initfs
"
@@ -33,3 +33,6 @@ deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
deviceinfo_flash_fastboot_partition_rootfs="rootfs"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
+3 -3
View File
@@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-bq-paella
pkgdesc="BQ Aquaris X5"
pkgver=8
pkgrel=1
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -38,6 +38,6 @@ nonfree_firmware() {
}
sha512sums="
75e857f36f627d1ef209bfc79bac574b432ecb93a0e0de131675de43c43cef15e455284bab7b635376d21fd908e8cd21e6e918c6bd03c6e711179489f56e39a5 deviceinfo
ec9416137ac7e49f564428bd92811ecc557567d3ee9b73061bab6da4d818fbecbbe70d179b91ef98576244bb6793e64b8add8d82a3a0398c5f542ba18978b58f deviceinfo
ebf6a40372329116a25df1407e671365bb2bf0613f61f0a572fc77890fb0a1760259ab35ed9f002ef2a5c6ee8836bc7bbeb50bf5ac3de14c11e6d96872ad3644 modules-initfs
"
@@ -31,3 +31,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
+4 -4
View File
@@ -4,8 +4,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-lenovo-21bx
pkgdesc="Lenovo ThinkPad X13s"
pkgver=11
pkgrel=0
pkgver=12
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
@@ -64,7 +64,7 @@ usbguard() {
sha512sums="
9cb08de5748b0339005a910cc0475ad344dc6e912e477c5bd6b370784af6309719524f8fa7a39e7565586e47968a35c344ea853cddd716cc3e1e483efaae7ff0 deviceinfo
82f7719285434d8c7a5268ddc21d513bb3f3788eb3dd2df099e1c245add9d19719047b003a47edb077e095ebe09d9601b1312c001578e7dfa4ed61d72098ef74 firmware.files
5f4e6a80455c8a2ed879bfd457a89f81790824657ed4101e03b7ec288a274e63340f48e2ad5028cf83744263a4529584b1e94c36d10b98912e5b31804fa98ff0 firmware.files
27705e998db262602b50004083fe160dbcde88e9fdcaeb43e3d1d79be0b7af371f84855bb93ba16ada3cf5fa8ff8da6ca159cda4b1de08fb54ac451c57169c57 modules-initfs
52bbb9564ec713db5d46937701b121afe0c6c644fffe189a05766f491b4997b1bbc4c1f90229efb5764d795df8d40a57d4c840ee4b32d426e7a84520364b8bf5 pipewire.conf
0d0412eb1f01af39000c39391f622640461305d83dae1a53aa7eef640cc17fd265cabca4e4e57dea053c47a4e50f9feb90f12ee5310d5b6425783e83efc5f9d8 usbguard.conf
@@ -4,9 +4,7 @@
# Bluetooth
/lib/firmware/qca/hpbtfw21.tlv
# TODO: replace this if/when the fixed fw makes its way into linux-firmware-qca
#/lib/firmware/qca/hpnv21.bin
/lib/firmware/postmarketos/qca/hpnv21.bin
/lib/firmware/qca/hpnv21.b8c
# GPU
/lib/firmware/qcom/a660_gmu.bin
@@ -3,8 +3,8 @@
# Co-Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-lenovo-a6000
pkgdesc="Lenovo A6000"
pkgver=8
pkgrel=1
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -46,7 +46,7 @@ phosh() {
}
sha512sums="
4939c4931addcfc05dbd5ede8083385e554c51c90ce5b375291fc57f245bfccc71054c9ae66c421bd5a39fe8f4449b58450246b667af0cda84399b5d65dc2173 deviceinfo
4d09fab52932eec68e861ece0e1b6be8091b4834d765e533c8af9eaa0598838d11c3297fd501717af2124739c17a91be923fbefb59459e9f8f2ecbf767421069 deviceinfo
d433b8376b6e89daf4eac2073cb33627bdcacdcd48b6d4990cc698627dcf3c951bb1874951bc4631ea6b89d22c6002b9d02b77ff24992106061fcecc22fa5f25 modules-initfs
10d4ee62e5f7a9e4c368c460dd4c3ef282476e47d8cc40e4e3b83e971d04c493b801e5628ebdfe721f869e2fd68c521cf192cba1a973c8e03a61445534a28811 phoc.ini
"
@@ -31,3 +31,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -3,8 +3,8 @@
# Co-Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-lenovo-a6010
pkgdesc="Lenovo A6010"
pkgver=8
pkgrel=1
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -46,7 +46,7 @@ phosh() {
}
sha512sums="
f367b90ebbf89896884d3cc34c559cc3d36b6e4187aeb52497c23b0cb133c25163751d0013aa37109a441c76339f13de829fc01ff9537dc9fcdf53ae0066bd24 deviceinfo
0b50a8f01bf0014f905e212ab8677a34c1b538b6ef3205895f16a7b40fa0c20b5db966f9358ffe25f1bf06283eac4ee166ee8d1e68aafe12069d22c9f87376b8 deviceinfo
258464e46872cf221f7ac367766f9b8ead5d5dccbd71f3df5a5555127a42448906247ff2519d1750eec53b3ed37ae96c2409369d7cb8e2fffeb202a8f69bba53 modules-initfs
10d4ee62e5f7a9e4c368c460dd4c3ef282476e47d8cc40e4e3b83e971d04c493b801e5628ebdfe721f869e2fd68c521cf192cba1a973c8e03a61445534a28811 phoc.ini
"
@@ -31,3 +31,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
@@ -2,8 +2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=device-motorola-harpia
pkgdesc="Motorola Moto G4 Play"
pkgver=9
pkgrel=1
pkgver=10
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -41,6 +41,6 @@ nonfree_firmware() {
}
sha512sums="
31eba51ab586af61d0ea0efb2e0f0a8533524254e864d59bc2142ba30c6b5745a46a00314fbf86a8b5bcfeee2d42b218c27d2e8aa5ed19f24e50468860999e56 deviceinfo
001c54115e5a4d0444c098f009bfc40a756b4044a9c1026fad0f5b0316e9540cc35ccd517689fcd298cb6481c0697e3127d46c618093a644a915ea8eb68bac27 deviceinfo
525a3e20672a7dff26b885b99ee157e0ece33efa10db34c90aed45dc47d7f1c2e90d7082dc84f2724892f199b5adaca04d5864f0aa1d1e4b8ea695f840346d60 modules-initfs
"
@@ -31,3 +31,6 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x01e00000"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_sparse="true"
# lk2nd does not support GPT for subpartitions/SD cards yet
deviceinfo_partition_type="msdos"
+20 -27
View File
@@ -2,8 +2,8 @@
# Maintainer: Sicelo <absicsz@gmail.com>
# Co-Maintainer: Danct12 <danct12@disroot.org>
pkgname=device-nokia-n900
pkgver=30
pkgrel=1
pkgver=37
pkgrel=0
pkgdesc="Nokia N900"
url="https://postmarketos.org"
arch="armv7"
@@ -28,7 +28,6 @@ subpackages="
$pkgname-xkeyboard-config:xkeyboard_config
$pkgname-i3wm
$pkgname-upower
$pkgname-sxmo
$pkgname-openrc
"
source="
@@ -39,6 +38,8 @@ source="
asound.state.headset
asound.state.speakers
backlight-enable.sh
bq27k-options.conf
bq27k-monitor.sh
device-nokia-n900.start
deviceinfo
modules-initfs
@@ -61,10 +62,9 @@ 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
@@ -104,12 +104,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,6 +140,8 @@ 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"
}
@@ -156,6 +162,8 @@ x11() {
"$pkgdir"/usr/bin/lock.sh
install -Dm755 "$srcdir"/proxishot.sh \
"$pkgdir"/usr/bin/proxishot.sh
install -D -m644 "$srcdir"/xdefaults \
"$subpkgdir"/etc/skel/.Xdefaults
}
xkeyboard_config() {
@@ -182,22 +190,6 @@ i3wm() {
"$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
}
upower() {
@@ -222,6 +214,8 @@ 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
f48b8dd7297d03008f73e1ecd55b77ace535ecb03f9bdf021123b96fb5f4fb491ff4c532e226b835c8118fa8d505cc4c635a2b604a3e42a162746021552a551c modules-initfs
@@ -238,20 +232,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
183dfdd545ba05e216209b1abe45e4af4e0ee16b2e73cff0e7ea7b9524ee35a1cf85213a77f32a1a94287aee6546885dbd71c6de1f4f1a1e2961e638ff27cdf6 xdefaults
a91f98daa60efa2beb2ff6b405097f92edca5f1bbb9e7675499139be52ca2570712f8f06f9032ef29f636f99c8f8da8b992f746eab6424aac04260c16158bcc2 xorg.conf
"
@@ -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
+4 -7
View File
@@ -1,16 +1,13 @@
#!/bin/sh
display=off
if xset q | grep -iq "monitor is on"; then
display=on
fi
touch_state=$(xinput list-props "TSC2005 touchscreen" | grep "Device Enabled" | tr -d "\t" | cut -d ":" -f 2)
case "$display" in
off)
case "$touch_state" in
0)
xinput enable "TSC2005 touchscreen"
xset dpms force on
;;
on)
1)
xinput disable "TSC2005 touchscreen"
xset dpms force off
;;
@@ -1,20 +0,0 @@
#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
export WLR_RENDERER=pixman
export SXMO_LYSTI_LEDS=1
export SXMO_POWER_BUTTON="0:0:twl_pwrbutton"
export SXMO_TOUCHSCREEN_ID="TSC2005 touchscreen"
export SXMO_SWAY_SCALE="1.5"
#on N900 these two are swaped
export SXMO_BEMENU_LANDSCAPE_LINES="10"
export SXMO_BEMENU_PORTRAIT_LINES="8"
export SXMO_DMENU_LANDSCAPE_LINES="10"
export SXMO_DMENU_PORTRAIT_LINES="6"
export SXMO_ROTATE_DIRECTION="left"
export SXMO_KEYBOARD_SLIDER_EVENT_DEVICE="/dev/input/by-path/platform-gpio_keys-event"
export SXMO_KEYBOARD_SLIDER_CLOSE_EVENT="*code 10 (SW_KEYPAD_SLIDE), value 0*"
export SXMO_KEYBOARD_SLIDER_OPEN_EVENT="*code 10 (SW_KEYPAD_SLIDE), value 1*"
# modem is only supported via ofono, not modemmanager
export SXMO_NO_MODEM=1
@@ -1,130 +0,0 @@
#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
# include common definitions
# shellcheck source=scripts/core/sxmo_common.sh
. sxmo_common.sh
# Create xdg user directories, such as ~/Pictures
xdg-user-dirs-update
sxmo_jobs.sh start daemon_manager superd
# let time to superd to start correctly
while ! superctl status > /dev/null 2>&1; do
sleep 0.5
done
# Not dangerous if "locker" isn't an available state
sxmo_state.sh set locker
if [ -n "$SXMO_ROTATE_START" ]; then
sxmo_rotate.sh
fi
# Load our sound daemons
if [ -z "$SXMO_NO_AUDIO" ]; then
if [ "$(command -v pulseaudio)" ]; then
superctl start pulseaudio
elif [ "$(command -v pipewire)" ]; then
# pipewire-pulse will start pipewire
superctl start pipewire-pulse
superctl start wireplumber
fi
# monitor for headphone for statusbar
superctl start sxmo_soundmonitor
fi
# Periodically update some status bar components
sxmo_hook_statusbar.sh all
sxmo_jobs.sh start statusbar_periodics sxmo_run_aligned.sh 60 \
sxmo_hook_statusbar.sh periodics
# mako/dunst are required for warnings.
# load some other little things here too.
case "$SXMO_WM" in
sway)
superctl start mako
superctl start sxmo_wob
superctl start sxmo_menumode_toggler
superctl start bonsaid
swaymsg output '*' bg "$SXMO_BG_IMG" fill
;;
dwm)
superctl start dunst
superctl start sxmo_xob
# Auto hide cursor with touchscreen, Show it with a mouse
if command -v "unclutter-xfixes" > /dev/null; then
set -- unclutter-xfixes
else
set -- unclutter
fi
superctl start "$1"
superctl start autocutsel
superctl start autocutsel-primary
superctl start sxmo-x11-status
superctl start bonsaid
[ -n "$SXMO_MONITOR" ] && xrandr --output "$SXMO_MONITOR" --primary
feh --bg-fill "$SXMO_BG_IMG"
;;
esac
# Turn on auto-suspend
if sxmo_wakelock.sh isenabled; then
sxmo_wakelock.sh lock sxmo_not_suspendable infinite
superctl start sxmo_autosuspend
fi
# To setup initial unlock state
sxmo_state.sh set unlock
# Turn on lisgd
if [ ! -e "$XDG_CACHE_HOME"/sxmo/sxmo.nogesture ]; then
superctl start sxmo_hook_lisgd
fi
if [ -z "$SXMO_NO_MODEM" ] && command -v ModemManager > /dev/null; then
# Turn on the dbus-monitors for modem-related tasks
superctl start sxmo_modemmonitor
# place a wakelock for 120s to allow the modem to fully warm up (eg25 +
# elogind/systemd would do this for us, but we don't use those.)
sxmo_wakelock.sh lock sxmo_modem_warming_up 120s
fi
# Monitor the battery
superctl start sxmo_battery_monitor
# It watch network changes and update the status bar icon by example
superctl start sxmo_networkmonitor
# The daemon that display notifications popup messages
superctl start sxmo_notificationmonitor
# Play a funky startup tune if you want (disabled by default)
#mpv --quiet --no-video ~/welcome.ogg &
# mmsd and vvmd
if [ -z "$SXMO_NO_MODEM" ]; then
if [ -f "${SXMO_MMS_BASE_DIR:-"$HOME"/.mms/modemmanager}/mms" ]; then
superctl start mmsd-tng
fi
if [ -f "${SXMO_VVM_BASE_DIR:-"$HOME"/.vvm/modemmanager}/vvm" ]; then
superctl start vvmd
fi
fi
# add some warnings if things are not setup correctly
if ! command -v "sxmo_deviceprofile_$SXMO_DEVICE_NAME.sh"; then
sxmo_notify_user.sh --urgency=critical \
"No deviceprofile found $SXMO_DEVICE_NAME. See: https://sxmo.org/deviceprofile"
fi
sxmo_migrate.sh state || sxmo_notify_user.sh --urgency=critical \
"Config needs migration" "$? file(s) in your sxmo configuration are out of date and disabled - using defaults until you migrate (run sxmo_migrate.sh)"
@@ -1,6 +1,2 @@
# Export GPIOs for nokia-modem
DRIVER=="nokia-modem", RUN+="/bin/ln -sf /sys/bus/hsi/devices/n900-modem /dev/cmt"
# Tag modem device for ofono
SUBSYSTEMS=="hsi", ENV{OFONO_DRIVER}="n900", ENV{OFONO_ISI_ADDRESS}="108"
KERNEL=="phonet*", ENV{OFONO_DRIVER}="n900", ENV{OFONO_ISI_ADDRESS}="108"
@@ -0,0 +1 @@
KERNEL=="bq27200-0", SUBSYSTEM=="power_supply", ACTION=="change", RUN+="/usr/bin/bq27k-monitor"
+17 -7
View File
@@ -59,12 +59,12 @@ UsePercentageForPolicy=true
# will be used.
#
# Defaults:
# PercentageLow=20
# PercentageCritical=5
# PercentageAction=2
PercentageLow=20
PercentageCritical=10
PercentageAction=2
# PercentageLow=20.0
# PercentageCritical=5.0
# PercentageAction=2.0
PercentageLow=20.0
PercentageCritical=5.0
PercentageAction=2.0
# When UsePercentageForPolicy is false, the time remaining in seconds at
# which UPower will consider the battery low, critical, or take action for
@@ -81,6 +81,13 @@ TimeLow=1200
TimeCritical=300
TimeAction=120
# Enable the risky CriticalPowerAction-Suspend
# This option is not recommended, but it is here for users who
# want to enable the riscky CriticalPowerAction, such as "Suspend"
# to fulfil their needs.
# Default is false
AllowRiskyCriticalPowerAction=true
# The action to take when "TimeAction" or "PercentageAction" above has been
# reached for the batteries (UPS or laptop batteries) supplying the computer
#
@@ -88,7 +95,10 @@ TimeAction=120
# PowerOff
# Hibernate
# HybridSleep
# Suspend (AllowRiskyCriticalPowerAction should be true to use this option but risky)
# Ignore (AllowRiskyCriticalPowerAction should be true to use this option but risky)
#
# If Suspend isn't available or AllowRiskyCriticalPowerAction=false, HybridSleep will be used
# If HybridSleep isn't available, Hibernate will be used
# If Hibernate isn't available, PowerOff will be used
CriticalPowerAction=HybridSleep
CriticalPowerAction=Ignore
+1 -2
View File
@@ -1,4 +1,3 @@
URxvt*foreground: White
URxvt*background: Black
URxvt*font: xft:DejaVu Sans Mono:style=Book:pixelsize=15:antialias=true:hinting=true
URxvt*boldFont: xft:DejaVu Sans Mono:style=Bold:pixelsize=15:antialias=true:hinting=true
URxvt*font: xft:Droid Sans Mono:style=Regular:pixelsize=15:antialias=true:hinting=true
@@ -2,8 +2,8 @@
# Maintainer: Arnav Singh <me@arnavion.dev>
# Co-Maintainer: Jan Jasper de Kroon <jajadekroon@gmail.com>
pkgname=device-pine64-pinephone
pkgver=4
pkgrel=4
pkgver=7
pkgrel=0
pkgdesc="PINE64 PinePhone"
url="https://postmarketos.org"
license="MIT"
@@ -51,7 +51,6 @@ source="
60-flashlight.rules
70-wifi-pm.rules
90-modem-eg25.rules
90-modem-eg25-openrc.rules
UPower.conf
deviceinfo
modules-initfs
@@ -177,9 +176,7 @@ nonfree_firmware() {
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel eg25-manager-openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="eg25-manager-openrc"
install -Dm644 "$srcdir"/90-modem-eg25-openrc.rules -t \
"$subpkgdir"/usr/lib/udev/rules.d/
mkdir "$subpkgdir"
}
kirigami() {
@@ -250,10 +247,9 @@ bac664c504d9a3adc6e3d25f24ac63cf7c449a82374544a5b56c259dc25af580897b9dc992865ac8
9170da7ac869254644f2fc8d914102f2c16e917dbeb53e33b96c76936711d0540f55fa5c2526d73d5fe244500bc2728bc9d629e2524cf52c573d11e833aee666 60-flashlight.rules
8b6fa7b12c15f439c561901f3ffe24a1ef2a0c343401c0a79281060854ab29e08a1fb5e7adae8684b12aa9f535ed99e2dad993dce9724822cb0fbf2497dd86e5 70-wifi-pm.rules
7dc2b7c20b4a2b15f597a6417bd01797643dad84a3683b0dee648e030fb6326e9d020307643fdcdf1bb43fc44af9975697e417003bd359610bae2d8ce614fc00 90-modem-eg25.rules
c6d9b65100072687df11ed2231edf3a007a6a54941e321fc5416131e881291eaf5853a4f6f7819510c460adcc487fce59bfd4eeb001363ddc87cae7ef85e3e98 90-modem-eg25-openrc.rules
ed0e03f7e1c0348c06be9a7922414469245604ce813bbf0c8910ef211cb993bbb0d0d4615c9c961d50712415f85d6b73e0cf02780ac784666aac56e4889341e4 UPower.conf
87751806329118272bc887691a0d5b588fa7a601fb048594785032a661b7e48a86c9d97f8bfa99edf247051a81799f2e628e5bf7c129cf2919c2abf0c146e031 deviceinfo
218d1361622418a0f79bd661a601baf586aec3995cf32304399b47664caf92bac006466ae1e59afa90f6ab4b9ed6acd16147a696fffd0dcab2492e2428ecc0b0 modules-initfs
4de159d376f288e2c493a4d5864d0b1de0cb85f7bfaf21d62e44cd2a7ee27d7f52f96eeb77ff1371c36385394a7364a94be43f1b2712c461260c9c3271336061 deviceinfo
b8482111e6fa805779c5c8d56c83ccf9ad360fe6481ea4e8e1fa3b71c82fe0c8de948c6f69d2b53fbcf43b4420a976f783f5d52947eccca95f24034bd4f3e32a modules-initfs
3dd6d612c381cb0002049d1974d8fb5aa5a53a1eb4d6bcbf62eb2ad52cfdc45f0f6ad24a699716d3513b0371aa1316f25dc72afc10d7176cc3b99d0965c3f030 hwtest.ini
6bc22b369b2d9058b702ac7a7862abaefaf8179b43491868bdb008d181b59104f1ded89db1da51a810e1ccdc803a579b924a438674283a65afc3a9c4d2894caf kirigami-lowpower.sh
03d547ece68445579352d0419bf16a43ca1c567c1b0b14a977982cc8adddd34f1f8e8691465f1420091a5d33fa50daaefcee404d9d4b89e7598c4ad43a72469e kxkbrc
@@ -25,4 +25,4 @@ deviceinfo_dev_internal_storage_repartition="true"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_sd_embed_firmware="u-boot/pine64-pinephone/u-boot-sunxi-with-spl-528.bin:8"
deviceinfo_partition_type="msdos"
@@ -1,5 +1,6 @@
sun6i_mipi_dsi
sun4i_drm
sun4i_lradc_keys
pwm_sun4i
sun8i_mixer
anx7688
Loaded 100 of 773 files, more files were not shown because too many files have changed in this diff. Show more