Compare commits

..
9 Commits
Author SHA1 Message Date
Achill Gilgenast 33acd7ea34 [ci:skip-vercheck]: no shit sherlock 2026-06-14 13:04:37 +02:00
Achill Gilgenast e6a38a2fce TODO: provide dbus:blabla in community/oo7 with 100 prio replacing gnome-keyring 2026-06-14 13:04:37 +02:00
Achill Gilgenast b4bbb8ed56 TODO: enable openrc services 2026-06-14 13:04:37 +02:00
Achill Gilgenast 45f3836135 TEMP: temp/phosh: use oo7-portal as secret portal
Upstream to Alpine when merged: https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1905
2026-06-14 13:04:37 +02:00
Achill Gilgenast 9f68ef734e TEMP: temp/gnome: replace gnome-keyring with oo7 2026-06-14 13:04:36 +02:00
Achill Gilgenast 4dd82c9520 systemd/gnome-session: backport oo7 support
https://gitlab.alpinelinux.org/alpine/aports/-/commit/a449f62e9d2e9d6904617e3830502df48a15d8ba
2026-06-14 13:04:36 +02:00
Achill Gilgenast 800ad31991 systemd/postmarketos-base-systemd: enable oo7 services 2026-06-14 13:04:36 +02:00
Achill Gilgenast 83b12e10dc main/postmarketos-ui-cosmic: switch from gnome-keyring to oo7
See https://github.com/pop-os/xdg-desktop-portal-cosmic/commit/9e80ddfac429b27cd47c170d1eaf55708a9d8458
(since x-d-p-cosmic 1.0.14)
2026-06-14 13:04:36 +02:00
Achill Gilgenast 689aa4a40e main/postmarketos-base-ui-gnome: switch from gnome-keyring to oo7
Upstream nightly switched to oo7 and we can start switching aswell.

In the long-term, we should migrate all UIs to use oo7, see also
https://invent.kde.org/kde-linux/kde-linux/-/work_items/566 for upstream KDE.

Ref: https://gitlab.gnome.org/GNOME/gnome-build-meta/-/work_items/1253
2026-06-14 13:04:17 +02:00
131 changed files with 6866 additions and 1383 deletions

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
image: registry.alpinelinux.org/img/alpine:3.24
image: registry.alpinelinux.org/img/alpine:3.23
stages:
- build
- hardware tests
+1 -1
View File
@@ -67,7 +67,7 @@ instance/
# Documentation
public
docs/packaging/device-packages/deviceinfo-reference.md
docs/deviceinfo-reference.md
# PyBuilder
target/
@@ -1,8 +1,5 @@
<!-- Use this template to notify community kernel maintainers that their
kernels are out-of-date and start the timer for moving them to testing.
Please title the issue:
Current community kernels not meeting version requirement (yyyy-mm-dd)
-->
Hi, as per our
@@ -10,7 +7,7 @@ Hi, as per our
devices in the community category may not use a kernel version older than 6
months.
As of today (yyyy-mm-dd), the following kernels do not meet this requirement:
As of today (dd-mm-yyyy), the following kernels do not meet this requirement:
* kernel-pkgname: kernel-pkgver, version-release-date (maintainers: @ ...)
@@ -8,14 +8,14 @@ Person in charge of the release (doesn't have to do all the work, but has to
push it forward):
<!-- Put your usename here and assign yourself to this issue -->
### 0. Preparation
### Preparation
- [ ] Create the gitlab milestone for the release
- [ ] Add this infrastructure issue to the milestone
- [ ] Update the
[timeline](https://docs.postmarketos.org/policies-and-processes/development/releases/current-timeline.html)
for the next release
### 1. Pre-Build phase
### Pre-Build phase
This phase is to get some extra time for building packages. The branch will be rebased once in the branch phase.
@@ -23,8 +23,6 @@ This phase is to get some extra time for building packages. The branch will be r
- [ ] Alpine's main repository must be built and published
- [ ] Alpine's community repository must be built and published
<small>Without this, bpo won't be able to build packages but steps before
that can be done already.</small>
#### pmbootstrap: adjust config
- [ ] Update `pmb/config/__init__.py:apk_tools_min_version`. This should be a
@@ -38,21 +36,18 @@ This phase is to get some extra time for building packages. The branch will be r
- [ ] `git checkout -b vYY.MM main`
- [ ] Create a `=== Branch vYY.MM from main ===` commit
- Remove channels.cfg (should only be in main)
- Adjust `pmaports.cfg`: Change `channel=edge` to `channel=vYY.MM`
- Adjust `pmaports.cfg`: Change `supported_arches` to `x86_64,aarch64,armv7`
- Delete `.ci/build-*` scripts for other arches
<small>`pmbootstrap ci` reads these</small>
- Change `channel=edge` to `channel=vYY.MM` in pmaports.cfg
- Change `supported_arches` to `x86_64,aarch64,armv7` in pmaports.cfg
- Disable x86, armhf, riscv64 in .ci/build-jobs.yaml.j2 on the release branch
and delete `.ci/build-*` scripts for these arches
- [ ] `git push`
- [ ] Ensure the branch is protected in the
[repository settings](https://gitlab.postmarketos.org/postmarketOS/pmaports/-/settings/repository)
- [ ] '''protect the new release branch in gitlab''', so nobody can force-push to it
#### pmaports: update main branch
- [ ] `git checkout main`
- [ ] Add the new branch to
[channels.cfg](https://wiki.postmarketos.org/wiki/Channels.cfg_reference):
- [Example](https://gitlab.postmarketos.org/postmarketOS/pmaports/-/commit/c43571ceaf9b8155519bc9fb760bdeccd96e7e9c)
- Check if you need to set `branch_aports=master` initially if the stable
branch does not exist yet.
[channels.cfg](https://wiki.postmarketos.org/wiki/Channels.cfg_reference),
[like this](https://gitlab.postmarketos.org/postmarketOS/pmaports/-/commit/c43571ceaf9b8155519bc9fb760bdeccd96e7e9c)
- [ ] `git push`
#### pmaports: update os-release / remove packages / aportgen
@@ -66,15 +61,13 @@ This phase is to get some extra time for building packages. The branch will be r
- `pmbootstrap config mirrors.pmaports none`
- `pmbootstrap config mirrors.systemd none`
- `pmbootstrap checksum postmarketos-base`
- `git commit -s` (`Remove packages that we don't have in stable`)
- `git commit`
- [ ] Remove packages:
- `cross/*-armhf` and other unsupported arches in cross dir (keep `gcc-x86` and `musl-dev-x86`, `systemd-boot-x86`)
- `main/postmarketos-ui-asteroid` (no smartwatches are useful on stable branches at the moment)
- `gcc4*` and `gcc6*` from main and cross dirs
- `device/downstream`, `device/archived`
- `extra-repos/systemd/postmarketos-repo-nightly`
- [ ] Run `pmbootstrap aportgen` for packages in cross:
- `cd cross; PMB_APK_FORCE_MISSING_REPOSITORIES=1 pmbootstrap aportgen musl-* grub-efi-x86`
- `git commit -s` (`cross: regenerate for vYY.MM`)
- [ ] Run `pmbootstrap aportgen` for packages in cross
- [ ] `git push`
#### bpo: adjust config
@@ -86,19 +79,17 @@ This phase is to get some extra time for building packages. The branch will be r
- [ ] Roll it out/ask somebody who can do that
- [ ] Restart bpo, it will start building `x86_64` packages
#### Bootstrap of binary packages
- [ ] Fix all failing `x86_64` packages (Remember: patches need to go through
edge first, then get backported to the stable branch!)
#### bootstrap of binary packages
- [ ] Fix failing `x86_64` packages (Remember: patches need to go through edge
first, then get backported to the stable branch!)
- Try to get build fixes merged to edge quickly, ask for reviews in
#postmarketos-devel, and consider merging trivial fixes right after they
pass CI.
- Devices in testing and archived categories that don't build: consider
trying to fix them, or just delete them from the branch
- [ ] Wait until all packages for `x86_64` (main repository, we don't need to
wait for the systemd repository before continuing) are built and
published
- [ ] Enable arm repositories in the BPO config
- [ ] Get all packages to build without errors
- [ ] Wait until all packages for `x86_64` are built and published
- [ ] Fix up ARM packages too
- [ ] Wait until all packages for ARM are built and published
#### Wallpaper poll
- [ ] Team meeting: make a short list of 4 wallpapers from [the
@@ -134,11 +125,11 @@ This phase is to get some extra time for building packages. The branch will be r
- [ ] Adjust CI of postmarketos-release-upgrade to test the new release too
(`git grep` for the previous release to see what needs to be adjusted)
#### Update the wallpaper
### Update the wallpaper
- [ ] Set the wallpaper that won in the poll in edge, backport this change to
the stable release branch
### 2. Branch phase
### Branch phase
#### Rebase on main
- [ ] `git checkout vYY.MM`
@@ -149,7 +140,8 @@ This phase is to get some extra time for building packages. The branch will be r
#### Update BPO config
- [ ] Update bpo's images config to build images for the new branch for all
devices in community and main
devices in community and main, except for:
- qemu-*
- [ ] bpo: configure the new branch to be not WIP anymore
- [ ] Roll-out bpo changes
@@ -157,12 +149,7 @@ This phase is to get some extra time for building packages. The branch will be r
- [ ] Ensure that a pmbootstrap release been made with the apk-tools min
version change
#### aports stable branch set?
* [ ] Check if a stable branch exists in `aports` for the new release, and that
it is being used in `channels.cfg` (might still be set to `master` if it
did not exist during the Pre-Branch phase).
### 3. Test phase
### Test phase
- [ ] Create an issue in pmaports with a checklist of devices and UIs in main
and community (see previous issue for reference)
- Tag the testers of each device and UI
@@ -177,7 +164,7 @@ This phase is to get some extra time for building packages. The branch will be r
intended for the upcoming release
- [ ] Add new version to the pmaports gitlab issue template (.gitlab dir)
### 4. Release phase
### Release phase
- [ ] Did a reasonable amount of devices get tested? (we may consider dropping
devices that were not tested)
- [ ] Make sure all fixes are in
+4 -4
View File
@@ -1,4 +1,4 @@
# Commit Style
# Policy for commits in pmaports
This document defines policy for organising and titling commits for
inclusion in pmaports.
@@ -16,9 +16,9 @@ target device.
## General policy
We follow
[Alpine's aports commit style](https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/COMMITSTYLE.md)
with some minor exceptions and additions.
We follow Alpine's aports commit style with some minor exceptions
and additions. Alpine's commit style can be found here:
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/COMMITSTYLE.md
## Exceptions
+1 -1
View File
@@ -10,7 +10,7 @@ Helpful resources:
* [How to create a package](https://wiki.postmarketos.org/wiki/Create_a_package)
* [APKBUILD reference](https://wiki.alpinelinux.org/wiki/APKBUILD_Reference)
* [pmaports commit style](./COMMITSTYLE.md)
* [Approval rules](docs/merge-requests/approval-rules.md)
* [Approval rules](docs/approval-rules.md)
* [Alpine Linux aports](https://gitlab.alpinelinux.org/alpine/aports/)
* [Alpine Linux package search](https://pkgs.alpinelinux.org/packages)
* [postmarketOS package search](https://pkgs.postmarketos.org/packages)
+2 -10
View File
@@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-aarch64
pkgrel=6
pkgrel=5
pkgdesc="Stage2 cross-compiler for aarch64"
url="https://gcc.gnu.org"
arch="x86_64"
@@ -179,10 +179,7 @@ esac
# libatomic is a dependency for openvswitch
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
if $_libgcc; then
depends="$depends libgcc-static$_target"
subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static$_target:libgccstatic:$CTARGET_ARCH"
fi
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static:libgccstatic:$CTARGET_ARCH"
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
if $_libgomp; then
depends="$depends libgomp=$_gccrel"
@@ -634,17 +631,12 @@ libgcc() {
depends=
amove usr/lib/libgcc_s.so.*
# Symlink for Clang to find the library. Gets overwritten by the real
# library if gcc is installed.
ln -s /usr/lib/libgcc_s.so.1 \
"$subpkgdir"/usr/lib/libgcc_s.so
}
libgccstatic() {
pkgdesc="GNU C compiler runtime libraries"
depends=
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbegin.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbeginS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtendS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/libgcc.a
+2 -10
View File
@@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-armhf
pkgrel=6
pkgrel=5
pkgdesc="Stage2 cross-compiler for armhf"
url="https://gcc.gnu.org"
arch="aarch64 x86_64"
@@ -180,10 +180,7 @@ esac
# libatomic is a dependency for openvswitch
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
if $_libgcc; then
depends="$depends libgcc-static$_target"
subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static$_target:libgccstatic:$CTARGET_ARCH"
fi
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static:libgccstatic:$CTARGET_ARCH"
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
if $_libgomp; then
depends="$depends libgomp=$_gccrel"
@@ -636,17 +633,12 @@ libgcc() {
depends=
amove usr/lib/libgcc_s.so.*
# Symlink for Clang to find the library. Gets overwritten by the real
# library if gcc is installed.
ln -s /usr/lib/libgcc_s.so.1 \
"$subpkgdir"/usr/lib/libgcc_s.so
}
libgccstatic() {
pkgdesc="GNU C compiler runtime libraries"
depends=
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbegin.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbeginS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtendS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/libgcc.a
+2 -10
View File
@@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-armv7
pkgrel=6
pkgrel=5
pkgdesc="Stage2 cross-compiler for armv7"
url="https://gcc.gnu.org"
arch="aarch64 x86_64"
@@ -180,10 +180,7 @@ esac
# libatomic is a dependency for openvswitch
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
if $_libgcc; then
depends="$depends libgcc-static$_target"
subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static$_target:libgccstatic:$CTARGET_ARCH"
fi
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static:libgccstatic:$CTARGET_ARCH"
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
if $_libgomp; then
depends="$depends libgomp=$_gccrel"
@@ -636,17 +633,12 @@ libgcc() {
depends=
amove usr/lib/libgcc_s.so.*
# Symlink for Clang to find the library. Gets overwritten by the real
# library if gcc is installed.
ln -s /usr/lib/libgcc_s.so.1 \
"$subpkgdir"/usr/lib/libgcc_s.so
}
libgccstatic() {
pkgdesc="GNU C compiler runtime libraries"
depends=
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbegin.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbeginS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtendS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/libgcc.a
+2 -10
View File
@@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-loongarch64
pkgrel=6
pkgrel=5
pkgdesc="Stage2 cross-compiler for loongarch64"
url="https://gcc.gnu.org"
arch="aarch64 x86_64"
@@ -180,10 +180,7 @@ esac
# libatomic is a dependency for openvswitch
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
if $_libgcc; then
depends="$depends libgcc-static$_target"
subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static$_target:libgccstatic:$CTARGET_ARCH"
fi
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static:libgccstatic:$CTARGET_ARCH"
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
if $_libgomp; then
depends="$depends libgomp=$_gccrel"
@@ -636,17 +633,12 @@ libgcc() {
depends=
amove usr/lib/libgcc_s.so.*
# Symlink for Clang to find the library. Gets overwritten by the real
# library if gcc is installed.
ln -s /usr/lib/libgcc_s.so.1 \
"$subpkgdir"/usr/lib/libgcc_s.so
}
libgccstatic() {
pkgdesc="GNU C compiler runtime libraries"
depends=
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbegin.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbeginS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtendS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/libgcc.a
+2 -10
View File
@@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-ppc64le
pkgrel=6
pkgrel=5
pkgdesc="Stage2 cross-compiler for ppc64le"
url="https://gcc.gnu.org"
arch="aarch64 x86_64"
@@ -180,10 +180,7 @@ esac
# libatomic is a dependency for openvswitch
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
if $_libgcc; then
depends="$depends libgcc-static$_target"
subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static$_target:libgccstatic:$CTARGET_ARCH"
fi
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static:libgccstatic:$CTARGET_ARCH"
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
if $_libgomp; then
depends="$depends libgomp=$_gccrel"
@@ -636,17 +633,12 @@ libgcc() {
depends=
amove usr/lib/libgcc_s.so.*
# Symlink for Clang to find the library. Gets overwritten by the real
# library if gcc is installed.
ln -s /usr/lib/libgcc_s.so.1 \
"$subpkgdir"/usr/lib/libgcc_s.so
}
libgccstatic() {
pkgdesc="GNU C compiler runtime libraries"
depends=
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbegin.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbeginS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtendS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/libgcc.a
+2 -10
View File
@@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-riscv64
pkgrel=6
pkgrel=5
pkgdesc="Stage2 cross-compiler for riscv64"
url="https://gcc.gnu.org"
arch="aarch64 x86_64"
@@ -180,10 +180,7 @@ esac
# libatomic is a dependency for openvswitch
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
if $_libgcc; then
depends="$depends libgcc-static$_target"
subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static$_target:libgccstatic:$CTARGET_ARCH"
fi
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static:libgccstatic:$CTARGET_ARCH"
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
if $_libgomp; then
depends="$depends libgomp=$_gccrel"
@@ -636,17 +633,12 @@ libgcc() {
depends=
amove usr/lib/libgcc_s.so.*
# Symlink for Clang to find the library. Gets overwritten by the real
# library if gcc is installed.
ln -s /usr/lib/libgcc_s.so.1 \
"$subpkgdir"/usr/lib/libgcc_s.so
}
libgccstatic() {
pkgdesc="GNU C compiler runtime libraries"
depends=
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbegin.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbeginS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtendS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/libgcc.a
+2 -10
View File
@@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-x86
pkgrel=6
pkgrel=5
pkgdesc="Stage2 cross-compiler for x86"
url="https://gcc.gnu.org"
arch="aarch64 x86_64"
@@ -180,10 +180,7 @@ esac
# libatomic is a dependency for openvswitch
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
if $_libgcc; then
depends="$depends libgcc-static$_target"
subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static$_target:libgccstatic:$CTARGET_ARCH"
fi
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static:libgccstatic:$CTARGET_ARCH"
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
if $_libgomp; then
depends="$depends libgomp=$_gccrel"
@@ -636,17 +633,12 @@ libgcc() {
depends=
amove usr/lib/libgcc_s.so.*
# Symlink for Clang to find the library. Gets overwritten by the real
# library if gcc is installed.
ln -s /usr/lib/libgcc_s.so.1 \
"$subpkgdir"/usr/lib/libgcc_s.so
}
libgccstatic() {
pkgdesc="GNU C compiler runtime libraries"
depends=
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbegin.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbeginS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtendS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/libgcc.a
+2 -10
View File
@@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}"
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
pkgname=gcc-x86_64
pkgrel=6
pkgrel=5
pkgdesc="Stage2 cross-compiler for x86_64"
url="https://gcc.gnu.org"
arch="aarch64"
@@ -179,10 +179,7 @@ esac
# libatomic is a dependency for openvswitch
$_libatomic && subpackages="$subpackages libatomic::$CTARGET_ARCH"
if $_libgcc; then
depends="$depends libgcc-static$_target"
subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static$_target:libgccstatic:$CTARGET_ARCH"
fi
$_libgcc && subpackages="$subpackages libgcc::$CTARGET_ARCH libgcc-static:libgccstatic:$CTARGET_ARCH"
$_libquadmath && subpackages="$subpackages libquadmath::$CTARGET_ARCH"
if $_libgomp; then
depends="$depends libgomp=$_gccrel"
@@ -634,17 +631,12 @@ libgcc() {
depends=
amove usr/lib/libgcc_s.so.*
# Symlink for Clang to find the library. Gets overwritten by the real
# library if gcc is installed.
ln -s /usr/lib/libgcc_s.so.1 \
"$subpkgdir"/usr/lib/libgcc_s.so
}
libgccstatic() {
pkgdesc="GNU C compiler runtime libraries"
depends=
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbegin.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtbeginS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/crtendS.o
amove usr/lib/gcc/"$CTARGET"/"$pkgver"/libgcc.a
+4 -38
View File
@@ -1,10 +1,10 @@
# Reference: <https://postmarketos.org/devicepkg>
# Contributor: Konrad Dybcio <konradybcio@kernel.org>
# Co-Maintainer: Aster Boese <asterboese@mailbox.org>
# Contributor: Aster Boese <asterboese@mailbox.org>
# Reference: <https://postmarketos.org/devicepkg>
maintainer="Clayton Craft <clayton@craftyguy.net>"
pkgname=device-lenovo-21bx
pkgdesc="Lenovo ThinkPad X13s"
pkgver=23
pkgver=20
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -17,6 +17,7 @@ depends="
linux-firmware-ath11k
linux-firmware-qca
linux-firmware-qcom
linux-postmarketos-qcom-laptop
postmarketos-base
qmi-utils
systemd-boot
@@ -29,12 +30,8 @@ source="
pipewire.conf
usbguard.conf
kernel-cmdline.conf
remove-capsules.sh
"
subpackages="
$pkgname-kernel-stable:kernel_stable
$pkgname-kernel-lts:kernel_lts
$pkgname-kernel-mainline:kernel_mainline
$pkgname-pipewire
$pkgname-usbguard
$pkgname-vulkan
@@ -45,17 +42,12 @@ build() {
}
package() {
# Cannot be top-level since this is provided by subpackages of this package
depends="$depends $pkgname-kernel-any"
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/firmware.files \
-t "$pkgdir"/usr/share/mkinitfs/files
install -Dm644 "$srcdir"/pipewire.conf \
-t "$pkgdir"/usr/share/pipewire.conf.d
install -Dm755 "$srcdir"/remove-capsules.sh \
-t "$pkgdir"/usr/share/boot-deploy/hooks
install -Dm600 "$srcdir"/usbguard.conf \
"$pkgdir"/etc/usbguard/rules.d/"$pkgname".conf
}
@@ -78,31 +70,6 @@ usbguard() {
amove etc/usbguard/rules.d/"$pkgname".conf
}
kernel_stable() {
pkgdesc="Stable kernel (recommended, best balance between stability and features)"
depends="linux-postmarketos-stable"
provides="$pkgname-kernel-any"
provider_priority=3
replaces="linux-postmarketos-qcom-laptop"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_lts() {
pkgdesc="Long-term maintenance kernel (most stability, not all security fixes & new features)"
depends="linux-postmarketos-lts"
provides="$pkgname-kernel-any"
provider_priority=2
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="Upstream development kernel (regular breakage, latest features)"
depends="linux-postmarketos-mainline"
provides="$pkgname-kernel-any"
provider_priority=1
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="
7a685de71e512b5b2bf21448fb8fc1055bb33c72149acd57e1754c212c40218a2b93ab603d3262c2c37ace051c5872b2fcaeb5379a5beaac680b7a2a0f115a1e deviceinfo
eabb3e9c6946bb065244f129f1a432842b09b0f2a9a4b41289c3c289f52076c63d51205dd7ccaa1a7621dd8eb0e4b1a3df27f9dc6b55445fbd738be13c2031bb firmware.files
@@ -110,5 +77,4 @@ eabb3e9c6946bb065244f129f1a432842b09b0f2a9a4b41289c3c289f52076c63d51205dd7ccaa1a
52bbb9564ec713db5d46937701b121afe0c6c644fffe189a05766f491b4997b1bbc4c1f90229efb5764d795df8d40a57d4c840ee4b32d426e7a84520364b8bf5 pipewire.conf
0d0412eb1f01af39000c39391f622640461305d83dae1a53aa7eef640cc17fd265cabca4e4e57dea053c47a4e50f9feb90f12ee5310d5b6425783e83efc5f9d8 usbguard.conf
7e60772bdefc4fc9d459cf2daa9fe09f605240f261b2e8f046ec992593144d26e0c80863ea3b9cb67025fef8fad45dacf54e022d0d57afb321778a5bb2eadaf4 kernel-cmdline.conf
bf6d6e5cdd4942651eaa424445773e9475eb9b284a5be8e3eb131f6ffcb8a652ce963a04a1f1d44cdcc00a58e00dd1a9797d3e624ecde931f816026fbb583640 remove-capsules.sh
"
@@ -1,10 +0,0 @@
#!/bin/sh
# Persisted_Capsules.bin is huge (70 MB) and can cause boot-deploy failures
# when doing transactions that do large modifications to `/boot/`, such as
# switching kernel packages. Persisted_Capsules.bin is recreated on reboot
# and we do not use it for anything currently, so it is safe to remove in a
# hook.
printf "Removing Persisted_Capsules.bin...\n"
rm -f /boot/Persisted_Capsules.bin >/dev/null 2>&1
@@ -5,8 +5,8 @@
/usr/share/bkeymaps/fi/rx51_fi.bmap.gz
/usr/share/bkeymaps/se/rx51_se.bmap.gz
# touchscreen calibration (and other input-related udev rules)
/usr/lib/udev/rules.d/72-n900-input.rules
# touchscreen calibration
/usr/lib/udev/rules.d/90-touchscreen-dev.rules
# udev/hwdb hardware keyboard management
/etc/udev/hwdb.bin
+28 -17
View File
@@ -1,7 +1,7 @@
# Reference: <https://postmarketos.org/devicepkg>
maintainer="Danct12 <danct12@disroot.org>"
pkgname=device-nokia-n900
pkgver=62
pkgver=60
pkgrel=0
pkgdesc="Nokia N900"
url="https://postmarketos.org"
@@ -42,9 +42,14 @@ subpackages="
source="
10-initfs-input.files
10-initfs-keymap.sh
acpi.map
acpi_handler.sh
asound.state.headset
asound.state.speakers
backlight-enable.sh
bq27k-options.conf
bq27k-monitor.sh
device-nokia-n900.start
deviceinfo
etc-profile.d-25wlr-pixman.sh
i3blocks/i3blocks.conf
@@ -71,13 +76,11 @@ source="
sway/etc-sway-config.d-nokia-n900.conf
sway/etc-xdg-foot-foot.ini
uboot-script.cmd
ucm2/HiFi.conf
ucm2/RX-51.conf
udev/10-nokia-modem.rules
udev/15-bq27k.rules
udev/90-touchscreen-dev.rules
upower.conf
usr-lib-udev-hwdb.d-99-n900-hwkb.hwdb
usr-lib-udev-rules.d-72-n900-input.rules
usr-share-mkinitfs-hooks-01-omap-disable-idle.sh
usr-share-unl0kr-unl0kr.conf.d-00-n900-keyboard.conf
xkb-keymap
@@ -107,12 +110,18 @@ package() {
"$pkgdir"/usr/share/mkinitfs/hooks/00-$pkgname-backlight.sh
install -D -m644 "$srcdir"/pointercal \
"$pkgdir"/etc/pointercal
install -D -m644 "$srcdir"/asound.state.speakers \
"$pkgdir"/var/lib/alsa/asound.state.speakers
install -D -m644 "$srcdir"/asound.state.headset \
"$pkgdir"/var/lib/alsa/asound.state.headset
install -Dm644 "$srcdir"/10-initfs-input.files \
"$pkgdir"/usr/share/mkinitfs/files/10-initfs-input.files
install -Dm644 "$srcdir"/10-initfs-keymap.sh \
"$pkgdir"/usr/share/mkinitfs/hooks/10-initfs-keymap.sh
install -D -m644 "$srcdir"/usr-share-mkinitfs-hooks-01-omap-disable-idle.sh \
"$pkgdir"/usr/share/mkinitfs/hooks/01-omap-disable-idle.sh
install -Dm755 "$srcdir"/$pkgname.start \
"$pkgdir"/etc/local.d/$pkgname.start
install -Dm755 "$srcdir"/bq27k-monitor.sh \
"$pkgdir"/usr/bin/bq27k-monitor
install -Dm755 "$srcdir"/screenlock.sh \
@@ -121,14 +130,14 @@ package() {
"$pkgdir"/usr/share/unl0kr/unl0kr.conf.d/00-n900-keyboard.conf
# Udev & hwdb rules
install -D -m644 "$srcdir"/90-touchscreen-dev.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-touchscreen-dev.rules
install -D -m644 "$srcdir"/10-nokia-modem.rules \
"$pkgdir"/usr/lib/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 -D -m644 "$srcdir"/usr-lib-udev-hwdb.d-99-n900-hwkb.hwdb \
"$pkgdir"/usr/lib/udev/hwdb.d/99-n900-hwkb.hwdb
install -D -m644 "$srcdir"/usr-lib-udev-rules.d-72-n900-input.rules \
"$pkgdir"/usr/lib/udev/rules.d/72-n900-input.rules
# Keymap
install -D -m644 "$srcdir"/keymaps/rx51_us.bmap.gz \
@@ -171,12 +180,6 @@ package() {
install -D -m644 "$srcdir"/bq27k-options.conf \
"$pkgdir"/usr/lib/modprobe.d/bq27xxx-battery.conf
# UCM
install -Dm644 "$srcdir"/HiFi.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/RX-51/HiFi.conf
install -Dm644 "$srcdir"/RX-51.conf \
"$pkgdir"/usr/share/alsa/ucm2/conf.d/RX-51/RX-51.conf
# UPower
install -Dm644 "$srcdir"/upower.conf \
"$pkgdir"/etc/UPower/UPower.conf.d/99-n900-fg.conf
@@ -185,6 +188,11 @@ package() {
x11() {
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
depends="unclutter-xfixes scrot xautolock xdotool xinput xrdb xset"
mkdir "$pkgdir"/etc/acpi
install -D -m755 "$srcdir"/acpi_handler.sh \
"$pkgdir"/etc/acpi/handler.sh
install -D -m644 "$srcdir"/acpi.map \
"$pkgdir"/etc/acpi.map
install -D -m644 "$srcdir"/40-xkb.conf \
"$subpkgdir"/usr/share/X11/xorg.conf.d/40-xkb.conf
install -Dm644 "$srcdir"/xresources \
@@ -256,11 +264,16 @@ wayland() {
}
sha512sums="
225536c3105169b4cdd68d8edec56fc106f0b468e1feb1aebe772d154c0dba7d3e803877e857c23e521951b45138b64e191c9fd4e9a143313dbf12402f25c229 10-initfs-input.files
5e0631deeea881346e0f25c7d80d849026bf3e30c53bc33c9f1ee5587d5cd93b6faa3db722cbb24de0b38111c4113051a98b3d73b8b5c520f34830c12d5e0cbe 10-initfs-input.files
4656d3b3ced0a86e2d6315c89322899f646a689e9cb64609aa8ad5a676b23d93706d8a37f3be6f6b12c6b1e8501b7d26ecafecf27322333850513a6805c61910 10-initfs-keymap.sh
2e6c324c2a0627fb37ee2feff249d6c828116a9c1a32d572481dddc12648c98b726eb3a475838398742f76a60e3f2249d7707502360473b8bf2e794bf22f57ce acpi.map
eef1f3d5fab1148af498607d3bc7c6a866b61d808d2b90a4ea3e360d5fef779070380670431b67bd3d87111bc7d0e877ef9ab656f4de17c3071cfc360a2746e3 acpi_handler.sh
5b87071834313a389f83d29f86f6e3ea108d0921f17dc918be7a46de7e74c73a4418044ef600a0fbf72c8fad22b7730dcd5bfe3d6d01d76bf01556f8540f0b32 asound.state.headset
67acc17a33bc75113300393b4a5bba15319014032407e774d079abf310368e75f4f697dbb4856ba2d2d8ea184b056bb33561f42918de3ee91ab6a77df89a133c asound.state.speakers
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
344ec50cee2a4d864debad12810a83070ab8257f9f07dcfa9be3eea1d8b26f3ab4fbe322fe05a384152b40fc5e1481df51d191624c7062186dd70f95a0784ea8 bq27k-options.conf
c5b8e03ca9f720a794f2593a3e938640cbd91ac44dd761079bbf4614a0d288a9d7b72de8ed2493c062dc9f37be580bea529f454d2335f55b7a9f4d14024b42a9 bq27k-monitor.sh
e6bbac8de1a198ba716f44ade76606e1e0adcc574156b855ac41be5eb5308389d3277fd89cc34b119fbc33d9801ab9f79a6ff213392596bff40bc17e931c05ef device-nokia-n900.start
b1ebed32232ca1890ed6a47372ce45f4ee004fcb76defc6f67048cfa7361d6e02ebd365a6370ba7c26d410e67926a6fada863f07aa18d7098dbdea1a3b057415 deviceinfo
1c7499eb84948eb5b73d58474b1b71a5f2f63116a2a3e1f9a4238064dcf6c152ccefa108bd4ab1074712a2319111c8fdd4bfcf0dbe4d26b5a319404def1b11d2 etc-profile.d-25wlr-pixman.sh
a8152e94262629e11abdd8809d187c3b7ed1866a6128fb1f435e17e72120536ac8114262e66df6decb2627743027f2b923ddbe8a94e3e844099b6fad02ec252b i3blocks.conf
@@ -282,18 +295,16 @@ e440ed7a3070c17e003b86b72dbe6d8194d01b577ca8dd56dd066f216b6dda32bb965c780950f178
862ebc7cd2d7a1b3d41b10701b8418308c89eb0732eb99c42ec1091d48e08db9421727f67a3272b7309549798d59afb1b8d7d2fa48d1447b208fcb2329472d4d modules.blocklist
87c18554d307161876cfe6133f7e1b2b34a0dccd6d4eb36c3f549551f1fa3587430f203911fa29023cc5c048054dbcf629f8665e88fdec9ebf48f4790a16fcf9 modules-initfs
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
6d79a9e58a6f68dd7689e480359ba611fd9ea3f42b3f31575028a3efcea079973099eccf8ab3571221be919b4eeaf1ec48bc38aac13911444d96110551206456 screenlock.sh
bc926a11ac6941944c1b9bdd8d8c59c6d9689bc101f6c34881341a2689f68364b4d814e1fda8a83e58f33b6bbdc74917e49f6085a35bef669a3077c8ede1b35b screenlock.sh
3ec2e28a59298ad87ece5205be37b6e07c5f0f3bd0a98022f9f6824500444792cb06425bfbb62c9503c3072183f2d571c8504b6f23054062bb082c7a5b125a2b etc-sway-config.d-n900-status.conf
1e6939c583372dd4d493e1e2cfb6a4758a17606edd262d322bc01b2d3d76de4370581954f22f6ac976d86e87aab0979b2233e1c75780aeaff0670ea25dba62ca etc-sway-config.d-nokia-n900.conf
45da074b597a47825146ae1f3712538210e2ebe1c459f98a8189ccfc7c16ed54d221999b5890785c92aa750c6295dee7e920ef7f97d415d4212f8c0fea29169f etc-xdg-foot-foot.ini
4be9626cd2ad96730671e145aba9473b8bb7e62b7dec109eb87b4c748e5ac8fcb7cb0deeecc2a07f6fc9e9a598dbd438e02ad32d21e13d109ed7fecfb29904cc uboot-script.cmd
3586cdbfd9a3210ee3598eec68ddf63299075ca41e325c4b6a9cb0ebc66b3d79ce44d745829cfe263471bfe80820dd7ce2ec5fb8e28c06c3f3a020fbc20dfdc1 HiFi.conf
1a4295801cab1bbdca2e86e355d46c9dea6dbc8fd4d89e3ea6efdade33ebb29aee0cf237ce7400ea3c7716d0fe09b404a4c7042b65998cf1ae19bca2caa3d78f RX-51.conf
465b9a0d2b46d0981c64b47cb1f656c2456a90b91b1751a2efad10af38a96030dd99108b1fd76ce31bf1ea0f236d55bed38b114d6bd712f09f8968de034c946c 10-nokia-modem.rules
1acc441b9f83dc91fd65fa3f89b8205bfd72a465286bc181b4e7e92dd4b8c0bc5c20a18dab46ff3ee8ae70940efd7d767b3dfb920edb4c74377bd418b838693d 15-bq27k.rules
c6012aef28b096141b924fced226ec99fb93eb53b69c064a8887d8fecdf8dc08a3ba3db399e18d88374c6ef4c59013a30699c7e4d76e5cb771040582573a0527 90-touchscreen-dev.rules
1087d9699f6c4325a1d7ba2e6faf7fda87953fc0d3b0ef97de1da05187ba8f942f78806916cfb2ae9456fa2e63b2adf08e1e8118dc834c31a677755bab0fbf9a upower.conf
432f0281c4675f2c18ac03def81c3fd796697428f72ca0b7618ba28a7de4b8d0ad6234dcce4af1a7369c5e631054a1489b53950720ba6425ff3c0e1ac1a2a110 usr-lib-udev-hwdb.d-99-n900-hwkb.hwdb
25657426abb9d53b14a784fc41e495092229f5e2ef5ca8b1324cd6b414aa61bdcde4f87431cf33b23a67792580bb7eea5a638b1ad5be6f9c956c8fb88f704e99 usr-lib-udev-rules.d-72-n900-input.rules
73dc0f29a97994e7efe0a2c8906f75099b2bca1d660f58ae50b44d3f00eec0cee2a89541a80a4de0f276605ef36a576dd757f0cd9a9a4fd47b535b9400a83526 usr-share-mkinitfs-hooks-01-omap-disable-idle.sh
c6e0aefb630f60a6897cffbee70670296004dcfbade971205a8b03cc0cf0571cec59e9d0151b44f820d6d1f6a16d1ba538122c2b290a3357009c2c4268ca0cb5 usr-share-unl0kr-unl0kr.conf.d-00-n900-keyboard.conf
4de54d007bd354461fe4d6d455fe3f29694c132a3996c79b68070d606b5ca1839f9027202ebb731035f0bf6504b42fbd5ab15c7b47b7f308ce768a84d45024c4 xkb-keymap
@@ -0,0 +1,24 @@
# FORMAT: "<EV_XXX>" <type> "<input.h name>" <keycode> <value> <script under /etc/acpi>
# hint: "evtest /dev/input/eventX" is very helpful!
"EV_SW" 0x05 "SW_CAMERA_LENS_COVER" 9 0 CAM_LID_OPEN
"EV_SW" 0x05 "SW_CAMERA_LENS_COVER" 9 1 CAM_LID_CLOSE
"EV_SW" 0x05 "SW_KEYPAD_SLIDE" 10 1 KP_SLIDE_OPEN
"EV_SW" 0x05 "SW_KEYPAD_SLIDE" 10 0 KP_SLIDE_CLOSE
"EV_KEY" 0x01 "KEY_SCREENLOCK" 152 0 SCRNLCK_UP
"EV_KEY" 0x01 "KEY_SCREENLOCK" 152 1 SCRNLCK_DWN
"EV_KEY" 0x01 "KEY_CAMERA" 212 0 CAM_BTN_UP
"EV_KEY" 0x01 "KEY_CAMERA" 212 1 CAM_BTN_DWN
"EV_KEY" 0x01 "KEY_CAMERA_FOCUS" 528 0 CAM_FOCUS_UP
"EV_KEY" 0x01 "KEY_CAMERA_FOCUS" 528 1 CAM_FOCUS_DWN
"EV_SW" 0x05 "SW_HEADPHONE_INSERT" 2 1 HEADPHONE_INSERT
"EV_SW" 0x05 "SW_HEADPHONE_INSERT" 2 0 HEADPHONE_REMOVE
"EV_SW" 0x05 "SW_MICROPHONE_INSERT" 2 1 MICROPHONE_INSERT
"EV_SW" 0x05 "SW_MICROPHONE_INSERT" 2 0 MICROPHONE_REMOVE
"EV_SW" 0x05 "SW_VIDEOOUT_INSERT" 2 1 VIDEOOUT_INSERT
"EV_SW" 0x05 "SW_VIDEOOUT_INSERT" 2 0 VIDEOOUT_REMOVE
@@ -0,0 +1,60 @@
#!/bin/ash
user=$( getent passwd 10000 | cut -d: -f1 )
cmd=$( echo $0 | awk '{i=split($0,a,"/"); print a[i]}' )
case $cmd in
KP_SLIDE_OPEN)
su $user -c '/usr/bin/screenlock.sh unlock'
/usr/bin/screenlock.sh kbd_backlight 31
;;
KP_SLIDE_CLOSE)
/usr/bin/screenlock.sh kbd_backlight 0
;;
CAM_BTN_DWN)
echo "Not implemented yet"
;;
CAM_BTN_UP)
echo "Not implemented yet"
;;
CAM_FOCUS_DWN)
echo "Not implemented yet"
;;
CAM_FOCUS_UP)
echo "Not implemented yet"
;;
CAM_LID_CLOSE)
echo "Not implemented yet"
;;
CAM_LID_OPEN)
echo "Not implemented yet"
;;
SCRNLCK_DWN)
echo "Not implemented yet"
;;
SCRNLCK_UP)
echo "Not implemented yet"
;;
HEADPHONE_INSERT)
alsactl restore -f /var/lib/alsa/asound.state.headset
;;
HEADPHONE_REMOVE)
alsactl restore -f /var/lib/alsa/asound.state.speakers
;;
MICROPHONE_INSERT)
echo "Not implemented yet"
;;
MICROPHONE_REMOVE)
echo "Not implemented yet"
;;
VIDEOOUT_INSERT)
echo "Not implemented yet"
;;
VIDEOOUT_REMOVE)
echo "Not implemented yet"
;;
*)
echo "Unknown event"
exit 1
;;
esac
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1,5 +1,9 @@
#!/bin/sh
# Enable acpid
rc-update add acpid default
# hwdrivers is required for acpid to 'see' all devices
rc-update add hwdrivers boot
# Enable ofono
rc-update add ofono default
# Disable swclock because rtc is working
@@ -1,5 +1,10 @@
#!/bin/sh
# Generate symlinks for acpid events, based on definitions in /etc/acpi.map
for i in $(awk '{if($NF && ($1 !~ /^#/)) print $NF}' /etc/acpi.map); do
ln -s /etc/acpi/handler.sh /etc/acpi/$i
done
# Update hwdb
udevadm hwdb --update
@@ -0,0 +1,3 @@
#!/bin/sh
alsactl restore -f /var/lib/alsa/asound.state.speakers
@@ -2,22 +2,8 @@
set -e
kbd_backlight() {
# The keyboard backlighting setup is based on 6 LEDs located above the
# Ctrl, Q, and E keys on the left and O, comma, and Backspace on the
# right. Thus the outermost keys are lit brighter than the innermost
# keys when the brightness value is set equally, and this worsens as
# the device ages, since the plastic diffuser deteriorates. Thus, set a
# higher brightness for the innermost LEDs to get even lighting on all
# keys.
for i in $(seq 1 3); do
pair=$((7 - i ))
brightness=$(( i * $1 ))
busctl call org.freedesktop.login1 /org/freedesktop/login1/session/auto \
org.freedesktop.login1.Session SetBrightness ssu \
"leds" "lp5523:kb$i" "$brightness"
busctl call org.freedesktop.login1 /org/freedesktop/login1/session/auto \
org.freedesktop.login1.Session SetBrightness ssu \
"leds" "lp5523:kb$pair" "$brightness"
for i in $(seq 1 6); do
brightnessctl --quiet --device="*kb$i" s "$1"
done
}
@@ -1,55 +0,0 @@
Syntax 6
SectionDevice."Speaker" {
Comment "Internal Speaker"
Value {
PlaybackChannels "2"
PlaybackPriority "100"
PlaybackPCM "hw:RX51,0"
PlaybackVolume "HP Playback Volume"
PlaybackSwitch "HP Playback Switch"
}
EnableSequence [
cdev "hw:${CardId}"
cset "name='Speaker Function' On"
cset "name='HP Playback Switch' on"
]
DisableSequence [
cdev "hw:${CardId}"
cset "name='Speaker Function' Off"
cset "name='HP Playback Switch' off"
]
}
SectionDevice."Headphones" {
Comment "Headphones"
Value {
PlaybackPCM "hw:RX51,0"
PlaybackChannels "2"
JackControl "AV Jack"
PlaybackPriority "300"
PlaybackVolume "HP Playback Volume"
PlaybackSwitch "HP Playback Switch"
}
EnableSequence [
cdev "hw:${CardId}"
cset "name='Jack Function' Headphone"
cset "name='HP Playback Switch' on"
cset "name='TPA6130A2 Headphone Playback Volume' 38"
cset "name='Speaker Function' Off"
]
DisableSequence [
cdev "hw:${CardId}"
cset "name='Jack Function' Off"
cset "name='HP Playback Switch' off"
cset "name='TPA6130A2 Headphone Playback Volume' 0"
cset "name='Speaker Function' Off"
]
}
@@ -1,16 +0,0 @@
Syntax 6
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "High Fidelity Audio"
}
SectionDefaults [
cdev "hw:${CardId}"
cset "name='FM Transmitter Switch' Off"
cset "name='Speaker Function' Off"
cset "name='Jack Function' Off"
cset "name='Earphone Switch' off"
cset "name='FM Transmitter Switch' off"
cset "name='PCM Playback Volume' 127,127"
]
@@ -0,0 +1,2 @@
SUBSYSTEM=="input", ATTRS{phys}=="spi0.0/input-ts", ENV{WL_CALIBRATION}="1.094563 -0.020949 -34.586121 0.009427 -1.148506 503.816956", ENV{LIBINPUT_CALIBRATION_MATRIX}="1.109179 0.000000 -0.055283 0.000000 -1.192340 1.081266 0.000000 0.000000 1.000000"
SUBSYSTEM=="input", ATTRS{phys}=="spi1.0/input-ts", ENV{WL_CALIBRATION}="1.094563 -0.020949 -34.586121 0.009427 -1.148506 503.816956", ENV{LIBINPUT_CALIBRATION_MATRIX}="1.109179 0.000000 -0.055283 0.000000 -1.192340 1.081266 0.000000 0.000000 1.000000"
@@ -1,7 +0,0 @@
# Allow user session to read from gpio_keys and power button without elevated
# privileges
SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="input", ATTRS{name}=="gpio_keys", TAG+="uaccess"
SUBSYSTEM=="input", ATTRS{name}=="twl4030_pwrbutton", TAG+="uaccess"
# Touchscreen calibration
SUBSYSTEM=="input", DRIVERS=="tsc2005", ENV{LIBINPUT_CALIBRATION_MATRIX}="1.109179 0.000000 -0.055283 0.000000 -1.192340 1.081266 0.000000 0.000000 1.000000"
@@ -2,7 +2,7 @@ maintainer="Antoine Martin (ayakael) <dev@ayakael.net>"
pkgname=device-pine64-pinenote
pkgdesc="Pine64 PineNote"
pkgver=15
pkgrel=3
pkgrel=2
_commit="42cf0c3dc26d6e0b2a32ef5a00e7ca4ae77034c7"
_swayconfver="v1.1.0"
url="https://postmarketos.org"
@@ -59,7 +59,7 @@ subpackages="
install="
$pkgname-sway-hrdl.post-install
$pkgname-sway-hrdl.post-deinstall
$pkgname-nonfree-firmware.post-upgrade
$pkgname-nonfree-firmware.pre-upgrade
$pkgname-nonfree-firmware.pre-install
$pkgname-nonfree-firmware-openrc.post-install
$pkgname-openrc.post-install
@@ -1 +1 @@
device-pine64-pinenote-nonfree-firmware.post-upgrade
device-pine64-pinenote-nonfree-firmware.pre-upgrade
+25 -30
View File
@@ -3,11 +3,13 @@
# Contributor: Clayton Craft <clayton@craftyguy.net>
maintainer="Alistair Francis <alistair@alistair23.me>"
pkgname=linux-purism-librem5
pkgver=6.6.139
pkgrel=0
pkgver=6.6.118
pkgrel=2
# NOTE: Don't forget to rebase the config! See prepare() for instructions.
_purismrel=1
_purismver=${pkgver}pureos$_purismrel
_pureosrel=cri1
# <kernel ver> + <purism kernel release> + <PureOS release>
_purismver=${pkgver}pureos${_purismrel}_$_pureosrel
pkgdesc="Purism Librem 5 phone kernel fork"
arch="aarch64"
_carch="arm64"
@@ -20,21 +22,21 @@ options="!strip !check !tracedeps
pmb:kconfigcheck-librem5
"
makedepends="
bash
bison
clang
devicepkg-dev
findutils
flex
linux-headers
lld
llvm
installkernel
openssl-dev
perl
postmarketos-installkernel
python3
zstd
rsync
xz
"
install="$pkgname.post-upgrade"
# Source
_repository="linux"
# kconfig generated with: ARCH=arm64 make defconfig KBUILD_DEFCONFIG=librem5_defconfig
_config="config-$_flavor.$arch"
@@ -42,13 +44,13 @@ _config="config-$_flavor.$arch"
source="
$pkgname-$_purismver.tar.gz::https://source.puri.sm/Librem5/linux/-/archive/pureos/$_purismver/linux-pureos-$_purismver.tar.gz
$_config
treewide-remove-unnecessary-linux-version.h-inclusion.patch
"
builddir="$srcdir/linux-pureos-$_purismver"
builddir="$srcdir/$_repository-pureos-$_purismver"
prepare() {
default_prepare
cp "$srcdir/config-$_flavor.$arch" .config
REPLACE_GCCH=0 \
. downstreamkernel_prepare
####### Rebase config
# The kernel config needs to be periodically rebased to enable new
@@ -60,7 +62,7 @@ prepare() {
# This can be uncommented to help generate the defconfig using "pmbootstrap
# build linux-purism-librem5". The build will fail (exit 1) to let you grab
# the config before it starts building the kernel:
# make ARCH="$_carch" LLVM=1 \
# make ARCH="$_carch" CC="${CC:-gcc}" \
# defconfig KBUILD_DEFCONFIG=librem5_defconfig
# exit 1
#
@@ -73,29 +75,22 @@ prepare() {
build() {
unset LDFLAGS
make ARCH="$_carch" LLVM=1 \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor"
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS" \
LOCALVERSION=".$_purismrel"
}
package() {
make dtbs_install install modules_install \
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor"
make modules_install dtbs_install \
ARCH="$_carch" \
LLVM=1 \
INSTALL_PATH="$pkgdir"/boot \
INSTALL_MOD_PATH="$pkgdir"/usr \
INSTALL_MOD_STRIP=1 \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
rm -f "$pkgdir"/usr/lib/modules/*/build "$pkgdir"/usr/lib/modules/*/source
install -D "$builddir"/include/config/kernel.release \
"$pkgdir"/usr/share/kernel/"$_flavor"/kernel.release
INSTALL_DTBS_PATH="$pkgdir/boot/dtbs"
}
sha512sums="
d51709ee85ac8ebe271fc57ba60e2ab5f90225bd045b813a281553b0f76ae4c227317201fbb509e59af9813ea3e49947e83ac7d82b97cede15212cadd90fc372 linux-purism-librem5-6.6.139pureos1.tar.gz
92837e9d725d2f6e6aebfc10e79007dc671cbc57ddb10c9af91b0b666131275f0897e355c77705f2b57c4c87472f4f8264d32060765582878fde04891c49f997 config-purism-librem5.aarch64
76c1e07b5479fe7be0d1e4a74a8f4a2cd8fc25fbeb3a4efcaf8300e27817a320c0c1340ea6c00ad1c3dd86cc2cb192280de8a91360bad80665115701ba11632d treewide-remove-unnecessary-linux-version.h-inclusion.patch
f1d75865ff15793e6e70414a356209bd27fdb4c084d773698589f2e376ddcf037f2ac60a131a72ad3986b51b88c0c738deb65169bb30fd472f25cb06327ed1a8 linux-purism-librem5-6.6.118pureos1_cri1.tar.gz
323e1d4760857c62efa67362b36b098f7fd2d6f49970236965cfab4bb8ae43ddbafa76f2fcd0deb8faa53e4b87bf202ab3507dc10f2364234af4c10453768337 config-purism-librem5.aarch64
"
@@ -100,7 +100,7 @@ CONFIG_BPF_JIT=y
CONFIG_BPF_JIT_DEFAULT_ON=y
CONFIG_BPF_UNPRIV_DEFAULT_OFF=y
# CONFIG_BPF_PRELOAD is not set
CONFIG_BPF_LSM=y
# CONFIG_BPF_LSM is not set
# end of BPF subsystem
CONFIG_PREEMPT_BUILD=y
@@ -681,7 +681,7 @@ CONFIG_HAVE_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR_STRONG=y
CONFIG_ARCH_SUPPORTS_SHADOW_CALL_STACK=y
CONFIG_SHADOW_CALL_STACK=y
# CONFIG_SHADOW_CALL_STACK is not set
CONFIG_ARCH_SUPPORTS_LTO_CLANG=y
CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y
CONFIG_LTO_NONE=y
@@ -764,8 +764,8 @@ CONFIG_ASM_MODVERSIONS=y
# CONFIG_MODULE_COMPRESS_NONE is not set
# CONFIG_MODULE_COMPRESS_GZIP is not set
CONFIG_MODULE_COMPRESS_XZ=y
CONFIG_MODULE_COMPRESS_ZSTD=y
CONFIG_MODULE_DECOMPRESS=y
# CONFIG_MODULE_COMPRESS_ZSTD is not set
# CONFIG_MODULE_DECOMPRESS is not set
# CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS is not set
CONFIG_MODPROBE_PATH="/sbin/modprobe"
# CONFIG_TRIM_UNUSED_KSYMS is not set
@@ -2041,7 +2041,7 @@ CONFIG_OF_RESERVED_MEM=y
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
CONFIG_ZRAM=y
CONFIG_ZRAM=m
CONFIG_ZRAM_DEF_COMP_LZORLE=y
# CONFIG_ZRAM_DEF_COMP_ZSTD is not set
# CONFIG_ZRAM_DEF_COMP_LZ4 is not set
@@ -2061,7 +2061,7 @@ CONFIG_BLK_DEV_NBD=m
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_VIRTIO_BLK is not set
# CONFIG_BLK_DEV_RBD is not set
CONFIG_BLK_DEV_UBLK=m
# CONFIG_BLK_DEV_UBLK is not set
#
# NVME Support
@@ -2558,7 +2558,7 @@ CONFIG_USB_NET_SMSC95XX=m
# CONFIG_USB_NET_NET1080 is not set
# CONFIG_USB_NET_PLUSB is not set
CONFIG_USB_NET_MCS7830=m
CONFIG_USB_NET_RNDIS_HOST=m
# CONFIG_USB_NET_RNDIS_HOST is not set
CONFIG_USB_NET_CDC_SUBSET_ENABLE=m
CONFIG_USB_NET_CDC_SUBSET=m
CONFIG_USB_ALI_M5632=y
@@ -2680,7 +2680,7 @@ CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=m
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
@@ -2861,7 +2861,7 @@ CONFIG_INPUT_GPIO_VIBRA=m
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
# CONFIG_INPUT_REGULATOR_HAPTIC is not set
CONFIG_INPUT_UINPUT=y
CONFIG_INPUT_UINPUT=m
# CONFIG_INPUT_PCF8574 is not set
CONFIG_INPUT_PWM_BEEPER=m
CONFIG_INPUT_PWM_VIBRA=m
@@ -2986,7 +2986,7 @@ CONFIG_SERIAL_MCTRL_GPIO=y
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM is not set
# CONFIG_NOZOMI is not set
CONFIG_NULL_TTY=m
CONFIG_NULL_TTY=y
# CONFIG_HVC_DCC is not set
# CONFIG_RPMSG_TTY is not set
CONFIG_SERIAL_DEV_BUS=y
@@ -4548,7 +4548,7 @@ CONFIG_DRM_I2C_NXP_TDA9950=m
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VKMS is not set
# CONFIG_DRM_VMWGFX is not set
CONFIG_DRM_UDL=m
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_QXL is not set
@@ -4959,7 +4959,7 @@ CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_SPI=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_AUDIO_MIDI_V2=y
# CONFIG_SND_USB_AUDIO_MIDI_V2 is not set
CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_CAIAQ is not set
@@ -5235,7 +5235,7 @@ CONFIG_HID=y
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y
CONFIG_UHID=m
CONFIG_HID_GENERIC=m
CONFIG_HID_GENERIC=y
#
# Special HID drivers
@@ -5617,7 +5617,7 @@ CONFIG_USB_ULPI=y
CONFIG_USB_ULPI_VIEWPORT=y
# end of USB Physical Layer drivers
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET=m
# CONFIG_USB_GADGET_DEBUG is not set
# CONFIG_USB_GADGET_DEBUG_FILES is not set
# CONFIG_USB_GADGET_DEBUG_FS is not set
@@ -5884,19 +5884,7 @@ CONFIG_LEDS_TRIGGER_TTY=m
#
# Simple LED drivers
#
CONFIG_ACCESSIBILITY=y
CONFIG_A11Y_BRAILLE_CONSOLE=y
CONFIG_SPEAKUP=m
CONFIG_SPEAKUP_SYNTH_ACNTSA=m
CONFIG_SPEAKUP_SYNTH_APOLLO=m
CONFIG_SPEAKUP_SYNTH_AUDPTR=m
CONFIG_SPEAKUP_SYNTH_BNS=m
CONFIG_SPEAKUP_SYNTH_DECTLK=m
CONFIG_SPEAKUP_SYNTH_DECEXT=m
CONFIG_SPEAKUP_SYNTH_LTLK=m
CONFIG_SPEAKUP_SYNTH_SOFT=m
CONFIG_SPEAKUP_SYNTH_SPKOUT=m
CONFIG_SPEAKUP_SYNTH_TXPRT=m
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC_SUPPORT=y
# CONFIG_EDAC is not set
@@ -7078,7 +7066,7 @@ CONFIG_OCFS2_FS_USERSPACE_CLUSTER=m
CONFIG_OCFS2_FS_STATS=y
CONFIG_OCFS2_DEBUG_MASKLOG=y
# CONFIG_OCFS2_DEBUG_FS is not set
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS=m
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
@@ -7133,7 +7121,7 @@ CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=y
#
CONFIG_NETFS_SUPPORT=m
# CONFIG_NETFS_STATS is not set
CONFIG_FSCACHE=y
CONFIG_FSCACHE=m
# CONFIG_FSCACHE_STATS is not set
# CONFIG_FSCACHE_DEBUG is not set
CONFIG_CACHEFILES=m
@@ -7212,7 +7200,7 @@ CONFIG_JFFS2_FS_WRITEBUFFER=y
CONFIG_JFFS2_ZLIB=y
CONFIG_JFFS2_RTIME=y
# CONFIG_CRAMFS is not set
CONFIG_SQUASHFS=m
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_FILE_CACHE=y
# CONFIG_SQUASHFS_FILE_DIRECT is not set
CONFIG_SQUASHFS_DECOMP_SINGLE=y
@@ -7259,16 +7247,15 @@ CONFIG_EROFS_FS_XATTR=y
CONFIG_EROFS_FS_POSIX_ACL=y
CONFIG_EROFS_FS_SECURITY=y
CONFIG_EROFS_FS_ZIP=y
CONFIG_EROFS_FS_ZIP_LZMA=y
CONFIG_EROFS_FS_ZIP_DEFLATE=y
# CONFIG_EROFS_FS_ZIP_LZMA is not set
# CONFIG_EROFS_FS_ZIP_DEFLATE is not set
# CONFIG_EROFS_FS_PCPU_KTHREAD is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=m
CONFIG_NFS_FSCACHE=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=m
CONFIG_NFS_V4=y
CONFIG_NFS_SWAP=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
@@ -7284,13 +7271,7 @@ CONFIG_NFS_USE_KERNEL_DNS=y
CONFIG_NFS_DEBUG=y
CONFIG_NFS_DISABLE_UDP_SUPPORT=y
CONFIG_NFS_V4_2_READ_PLUS=y
CONFIG_NFSD=m
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_PNFS=y
CONFIG_NFSD_BLOCKLAYOUT=y
CONFIG_NFSD_SCSILAYOUT=y
CONFIG_NFSD_V4_2_INTER_SSC=y
# CONFIG_NFSD is not set
CONFIG_GRACE_PERIOD=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
@@ -7299,10 +7280,7 @@ CONFIG_NFS_V4_2_SSC_HELPER=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_BACKCHANNEL=y
CONFIG_SUNRPC_SWAP=y
CONFIG_RPCSEC_GSS_KRB5=m
CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA1=y
CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_AES_SHA2=y
CONFIG_RPCSEC_GSS_KRB5_ENCTYPES_CAMELLIA=y
# CONFIG_RPCSEC_GSS_KRB5 is not set
CONFIG_SUNRPC_DEBUG=y
CONFIG_CEPH_FS=m
# CONFIG_CEPH_FSCACHE is not set
@@ -7356,7 +7334,7 @@ CONFIG_NLS_CODEPAGE_874=m
CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=m
CONFIG_NLS_ASCII=y
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_NLS_ISO8859_3=m
@@ -7422,7 +7400,7 @@ CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
CONFIG_SECURITY_APPARMOR_EXPORT_BINARY=y
CONFIG_SECURITY_APPARMOR_PARANOID_LOAD=y
# CONFIG_SECURITY_LOADPIN is not set
CONFIG_SECURITY_YAMA=y
# CONFIG_SECURITY_YAMA is not set
# CONFIG_SECURITY_SAFESETID is not set
# CONFIG_SECURITY_LOCKDOWN_LSM is not set
# CONFIG_SECURITY_LANDLOCK is not set
@@ -7436,8 +7414,6 @@ CONFIG_LSM="landlock,lockdown,yama,loadpin,safesetid,integrity,bpf"
# Kernel hardening options
#
CONFIG_CFI_CLANG=y
#
# Memory initialization
#
@@ -7524,16 +7500,16 @@ CONFIG_CRYPTO_ECDH=y
# Block ciphers
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_TI=m
# CONFIG_CRYPTO_AES_TI is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_ARIA is not set
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_BLOWFISH_COMMON=y
CONFIG_CRYPTO_CAMELLIA=m
CONFIG_CRYPTO_CAMELLIA=y
CONFIG_CRYPTO_CAST_COMMON=y
CONFIG_CRYPTO_CAST5=y
CONFIG_CRYPTO_CAST6=y
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SEED is not set
@@ -7582,10 +7558,10 @@ CONFIG_CRYPTO_ESSIV=y
# Hashes, digests, and MACs
#
CONFIG_CRYPTO_BLAKE2B=m
CONFIG_CRYPTO_CMAC=m
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_GHASH=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD4=y
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
CONFIG_CRYPTO_POLY1305=y
@@ -7620,7 +7596,7 @@ CONFIG_CRYPTO_LZO=y
# CONFIG_CRYPTO_842 is not set
CONFIG_CRYPTO_LZ4=m
CONFIG_CRYPTO_LZ4HC=m
CONFIG_CRYPTO_ZSTD=y
CONFIG_CRYPTO_ZSTD=m
# end of Compression
#
@@ -7668,7 +7644,7 @@ CONFIG_CRYPTO_SM3_ARM64_CE=m
# CONFIG_CRYPTO_POLYVAL_ARM64_CE is not set
# CONFIG_CRYPTO_AES_ARM64 is not set
CONFIG_CRYPTO_AES_ARM64_CE=y
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_AES_ARM64_CE_BLK=m
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=m
CONFIG_CRYPTO_AES_ARM64_BS=m
CONFIG_CRYPTO_SM4_ARM64_CE=m
@@ -7717,7 +7693,7 @@ CONFIG_CRYPTO_DEV_FSL_CAAM_PRNG_API=y
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_PKCS8_PRIVATE_KEY_PARSER=m
CONFIG_PKCS8_PRIVATE_KEY_PARSER=y
CONFIG_PKCS7_MESSAGE_PARSER=y
# CONFIG_PKCS7_TEST_KEY is not set
# CONFIG_SIGNED_PE_FILE_VERIFICATION is not set
@@ -1,77 +0,0 @@
From e332a5aba83500e8d422c90d2a84d8a5f888673e Mon Sep 17 00:00:00 2001
From: Masahiro Yamada <masahiroy@kernel.org>
Date: Thu, 8 Aug 2024 02:47:28 +0900
Subject: [PATCH] treewide: remove unnecessary <linux/version.h> inclusion
These files do not use any macros defined in <linux/version.h>.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
---
drivers/accessibility/speakup/genmap.c | 1 -
drivers/accessibility/speakup/makemapdata.c | 1 -
drivers/staging/media/atomisp/include/linux/atomisp.h | 1 -
samples/trace_events/trace_custom_sched.c | 1 -
sound/soc/codecs/cs42l42.c | 1 -
5 files changed, 5 deletions(-)
diff --git a/drivers/accessibility/speakup/genmap.c b/drivers/accessibility/speakup/genmap.c
index 0125000e00d9ab..0882bab10fb87a 100644
--- a/drivers/accessibility/speakup/genmap.c
+++ b/drivers/accessibility/speakup/genmap.c
@@ -10,7 +10,6 @@
#include <stdio.h>
#include <libgen.h>
#include <string.h>
-#include <linux/version.h>
#include <ctype.h>
#include "utils.h"
diff --git a/drivers/accessibility/speakup/makemapdata.c b/drivers/accessibility/speakup/makemapdata.c
index d7d41bb9b05fbb..55e4ef8a93dc99 100644
--- a/drivers/accessibility/speakup/makemapdata.c
+++ b/drivers/accessibility/speakup/makemapdata.c
@@ -10,7 +10,6 @@
#include <stdio.h>
#include <libgen.h>
#include <string.h>
-#include <linux/version.h>
#include <ctype.h>
#include "utils.h"
diff --git a/drivers/staging/media/atomisp/include/linux/atomisp.h b/drivers/staging/media/atomisp/include/linux/atomisp.h
index 16c9da172c0317..fefbe3cd08f33d 100644
--- a/drivers/staging/media/atomisp/include/linux/atomisp.h
+++ b/drivers/staging/media/atomisp/include/linux/atomisp.h
@@ -20,7 +20,6 @@
#define _ATOM_ISP_H
#include <linux/types.h>
-#include <linux/version.h>
/* struct media_device_info.hw_revision */
#define ATOMISP_HW_REVISION_MASK 0x0000ff00
diff --git a/samples/trace_events/trace_custom_sched.c b/samples/trace_events/trace_custom_sched.c
index b99d9ab7db858f..dd409b704b35b6 100644
--- a/samples/trace_events/trace_custom_sched.c
+++ b/samples/trace_events/trace_custom_sched.c
@@ -8,7 +8,6 @@
#define pr_fmt(fmt) fmt
#include <linux/trace_events.h>
-#include <linux/version.h>
#include <linux/module.h>
#include <linux/sched.h>
diff --git a/sound/soc/codecs/cs42l42.c b/sound/soc/codecs/cs42l42.c
index 60d366e53526ff..6400ac875e6f6c 100644
--- a/sound/soc/codecs/cs42l42.c
+++ b/sound/soc/codecs/cs42l42.c
@@ -11,7 +11,6 @@
#include <linux/module.h>
#include <linux/moduleparam.h>
-#include <linux/version.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/delay.h>
@@ -1,16 +1,17 @@
maintainer="Neil Armstrong <neil.armstrong@linaro.org>"
pkgname=alsa-ucm-conf-ayaneo-pocket-s2
pkgver=1.2.16_git20260612
pkgver=1.2.6_git20260121
pkgrel=0
pkgdesc="ALSA UCM configuration for Ayaneo Pocket S2"
url="https://github.com/superna9999/alsa-ucm-conf"
url="https://github.com/sunflower2333/alsa-ucm-conf"
arch="aarch64"
license="BSD-3-Clause"
provides="alsa-ucm-conf"
provider_priority=1
_commit="5e1cfc6810013182570d6ac8386a58d2fde83b0c"
_commit="2dbd6af885107dd4693e621772157a9e99f4c04a"
source="
$pkgname-$_commit.tar.gz::https://github.com/superna9999/alsa-ucm-conf/archive/$_commit.tar.gz
$pkgname-$_commit.tar.gz::https://github.com/sunflower2333/alsa-ucm-conf/archive/$_commit.tar.gz
ucm2-qcom-sm8650-aps-remove-capture.patch
"
builddir="$srcdir/alsa-ucm-conf-$_commit"
options="!check"
@@ -22,5 +23,6 @@ package() {
}
sha512sums="
b36484420c25f851d87e1f43ed8ee43736c9881c8c66a0570dbf7ed35979b7f579d32be63adfb345a598851d51858b016cff0e969e2466624bbee2627e0077ca alsa-ucm-conf-ayaneo-pocket-s2-5e1cfc6810013182570d6ac8386a58d2fde83b0c.tar.gz
cf45ed130d1148761b2b7646cb4e073e724598ec33d3ee75b47598aaa17800ad3f7cf38dc5ff76a825e64efdddd9a3b7631f571a0eb326e6c650d9d6220571d0 alsa-ucm-conf-ayaneo-pocket-s2-2dbd6af885107dd4693e621772157a9e99f4c04a.tar.gz
d240ac698f3f8b46e2ca5b624a9527ae600f3844db20d973a463eb6b1f42a3961398097591aa6327c26fd391a151d9ca0b58ebfd571730d24d0022a876d695a2 ucm2-qcom-sm8650-aps-remove-capture.patch
"
@@ -0,0 +1,47 @@
diff --git a/ucm2/Qualcomm/sm8650/APS2/HiFi.conf b/ucm2/Qualcomm/sm8650/APS2/HiFi.conf
index 5927698..aa932f8 100644
--- a/ucm2/Qualcomm/sm8650/APS2/HiFi.conf
+++ b/ucm2/Qualcomm/sm8650/APS2/HiFi.conf
@@ -54,42 +54,6 @@ SectionDevice."Headphones" {
}
}
-SectionDevice."Headset" {
- Comment "Headset microphone"
-
- ConflictingDevice [
- "Mic"
- ]
-
- Include.wcdmice.File "/codecs/wcd939x/HeadphoneMicEnableSeq.conf"
- Include.wcdmicd.File "/codecs/wcd939x/HeadphoneMicDisableSeq.conf"
- Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/SoundwireMic1EnableSeq.conf"
- Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf"
-
- Value {
- CaptureChannels 1
- CapturePriority 200
- CapturePCM "hw:${CardId},2"
- CaptureMixerElem "ADC2"
- JackControl "Headset Jack"
- }
-}
-
-SectionDevice."Mic" {
- Comment "Bottom Microphone"
-
- Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/SoundwireMic8EnableSeq.conf"
- Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/SoundwireMicDisableSeq.conf"
-
- Value {
- CaptureChannels 1
- CapturePriority 100
- CapturePCM "hw:${CardId},3"
- CaptureMixerElem "SMIC8"
- }
-}
-
-
SectionDevice."HDMI0" {
Comment "DisplayPort 0 playback"
+3 -4
View File
@@ -3,14 +3,13 @@
maintainer="Aster Boese <asterboese@mailbox.org>"
pkgname=device-apple-idevice
pkgdesc="Apple Generic Apple iDevice"
pkgver=9
pkgver=7
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
firmware-apple-idevice
m1n1-apple-idevice
postmarketos-base
"
@@ -18,11 +17,11 @@ makedepends="devicepkg-dev"
subpackages="
$pkgname-kernel-4k:kernel_4k
$pkgname-kernel-16k:kernel_16k
"
"
source="
deviceinfo
modules-initfs
"
"
build() {
devicepkg_build $startdir $pkgname
@@ -0,0 +1,33 @@
# Reference: <https://postmarketos.org/devicepkg>
maintainer="EDKPiepaint <2163971449v@gmail.com>"
pkgname=device-apple-tonga
pkgdesc="Apple Macbook Air M1"
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-asahi
postmarketos-base
systemd-boot
asahi-audio
asahi-fwextract
asahi-scripts
alsa-ucm-conf-asahi
"
makedepends="devicepkg-dev systemd-boot"
source="deviceinfo kernel-cmdline.conf"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
01413f95bfa4f92406ce948ea6cb14b11e3f304b0fe32fbe252d673e43f62c66f115188dc11ed45df9d8f450c30137bb95b2babd4c23a97a9759d7dcc529c67c deviceinfo
0d7bfa506942e551b0bbbefd465ab8f19b241db93de393efbd788ade6113da37e96e4141633356207a2d9645d668b2aa7cdaa9e78d27723208f4205c8af4bbba kernel-cmdline.conf
"
@@ -0,0 +1,16 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Apple Macbook Air M1"
deviceinfo_manufacturer="Apple"
deviceinfo_codename="apple-tonga"
deviceinfo_year="2020"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="laptop"
deviceinfo_drm="true"
# Bootloader related
deviceinfo_boot_filesystem="fat32"
@@ -0,0 +1,2 @@
loglevel=7
pmos.nosplash
+3 -27
View File
@@ -2,13 +2,14 @@
maintainer="binarycraft007 <keep.it.sns@gmail.com>"
pkgname=device-asus-s5507q
pkgdesc="ASUS Vivobook S 15"
pkgver=7
pkgrel=0
pkgver=6
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-laptop
postmarketos-base
systemd-boot
firmware-asus-s5507q-dpu
@@ -25,12 +26,6 @@ _pmb_recommends="
firmware-asus-s5507q-common
"
subpackages="
$pkgname-kernel-stable:kernel_stable
$pkgname-kernel-lts:kernel_lts
$pkgname-kernel-mainline:kernel_mainline
"
build() {
devicepkg_build $startdir $pkgname
}
@@ -39,25 +34,6 @@ package() {
devicepkg_package $startdir $pkgname
}
kernel_stable() {
pkgdesc="Stable kernel (recommended, best balance between stability and features)"
depends="linux-postmarketos-stable"
replaces="linux-postmarketos-qcom-laptop"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_lts() {
pkgdesc="Long-term maintenance kernel (most stability, not all security fixes & new features)"
depends="linux-postmarketos-lts"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_mainline() {
pkgdesc="Upstream development kernel (regular breakage, latest features)"
depends="linux-postmarketos-mainline"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sha512sums="
a1cab3c635b322dfa9b561a07770dd1c879d5ae2864a572e2e19e4cbed72b712a370d5e18a4f9675aaf473e49246e6faee697c514c01567828c4b8cb7fc606eb deviceinfo
04cc87ed6b0041ede7edb2693ee4dd58d6ac8f1b036a0b37e1a86cce57b66e35d9f400a3ea75d75278b028132535033915f3a2fff919866e85336c5f92a68ffe kernel-cmdline.conf
@@ -2,7 +2,7 @@
maintainer="Neil Armstrong <neil.armstrong@linaro.org>"
pkgname=device-ayaneo-pocket-s2
pkgdesc="Ayaneo Pocket S2"
pkgver=5
pkgver=4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -47,6 +47,6 @@ package() {
sha512sums="
012b1b6a9fcdfb6043b6f6992606a59fb347a5dde47c61f47479dccba24e13a88b0e03a64d79786d1152786c593874988deaa487fa7ec1634c4a7a4bcac20c34 deviceinfo
6c6a1393fd91dbb565e5b09aacf5f18a0911de19074f25548174a2d1a6db6f52f27ea556bfb5f4731085c345c42047fddbacc2a77ffe288728ff96d4c7a2cbed kernel-cmdline.conf
55abca53ab338921f578bb52dde30fb0c3518f0cb772aac8a23eab4900ee05f0f4209aecd9b3d79c79ab4d45270d068c0d2e01881c57bd6cf0c98930956be7f2 firmware.files
1aa76a0ef8ee0d3a0f0fe819e02fbbba9bc7a990191eaad630700aacc5c44e27d123c016c5b978e5ece08de69f1fea268b5612716feb0b95712f7f8dd015d8be modules-initfs
5c219e5532705402a2cff81ae792ee5d74751bccfe0038d5ea2d6701cc07df860808f7879ba93a80241bfbcb2a2527587b1c1d770602dd682c15f7d5800d03a3 firmware.files
d81fa838f41002c05d7db40104f3c9959be48009a08e479cbe57eca9a3dc7ab3328bfa2257a2c59cee1208b79f3d3b98d6caf9b0c7312d4a1746ad1f5660f168 modules-initfs
"
@@ -23,9 +23,7 @@
/lib/firmware/qcom/sm8650/ayaneo/ps2/cdsp.mbn.zst
/lib/firmware/qcom/sm8650/ayaneo/ps2/cdsp_dtb.mbn.zst
/lib/firmware/qcom/sm8650/ayaneo/ps2/cdspr.jsn.zst
# Audioreach Topology
/lib/firmware/qcom/ayaneo-ps2/SM8650-APS2-tplg.bin.zst
/lib/firmware/qcom/sm8650/SM8650-APS2-tplg.bin.zst
# Wi-Fi
/lib/firmware/ath12k/WCN7850/hw2.0/amss.bin.zst
@@ -37,7 +37,7 @@ nb7vpq904m
nvmem_qcom-spmi-sdam
nvmem-reboot-mode
ocmem
panel-renesas-r63419
panel-wt0600-2k
pdr_interface
phy-qcom-eusb2-repeater
phy-qcom-qmp-combo
@@ -3,7 +3,7 @@
maintainer="Casey Connolly <kcxt@postmarketos.org>"
pkgname=device-postmarketos-trailblazer
pkgdesc="postmarketOS Trailblazer generic ARM64"
pkgver=21
pkgver=20
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -39,6 +39,7 @@ subpackages="
$pkgname-kernel-mainline:kernel_mainline
$pkgname-kernel-lts:kernel_lts
$pkgname-kernel-stable:kernel_stable
$pkgname-kernel-postmarketos-qcom-laptop:kernel_postmarketos_qcom_laptop
$pkgname-kernel-postmarketos-amlogic:kernel_postmarketos_amlogic
"
source="
@@ -81,6 +82,12 @@ kernel_stable() {
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_postmarketos_qcom_laptop() {
pkgdesc="Mainline kernel with additional patches for Qualcomm Snapdragon-based laptops (linux-postmarketos-qcom-laptop)"
depends="linux-postmarketos-qcom-laptop"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_postmarketos_amlogic() {
pkgdesc="Mainline kernel with additional patches for Amlogic AArch64-based devices (linux-postmarketos-amlogic)"
depends="linux-postmarketos-amlogic"
@@ -1,26 +0,0 @@
# Co-Maintainer: Nick Chan <towinchenmi@gmail.com>
maintainer="Aster Boese <asterboese@mailbox.org>"
pkgname=firmware-apple-idevice
pkgver=0_git20260612
pkgrel=0
_commit="1241d49aab85ca2320bf58655b9426a021214ed0"
pkgdesc="Firmware for Apple iDevices"
url="https://github.com/Fruit-Firmware/Fruit-Firmware"
arch="aarch64"
license="proprietary"
source="https://github.com/Fruit-Firmware/Fruit-Firmware/archive/$_commit.tar.gz"
options="!archcheck !check !spdx !strip !tracedeps pmb:cross-native"
builddir="$srcdir/Fruit-Firmware-$_commit"
package() {
mkdir -p "$pkgdir"/usr/lib/firmware/apple
for i in "$builddir"/firmware/apple/*; do
install -Dm644 "$i" \
"$pkgdir"/usr/lib/firmware/apple/"$(basename "$i")"
done
}
sha512sums="
93d9d641884b609757c4ef1fc079eb513fad6d0eb65e2bd096003c556185569e22eaf643afaeb0edcbf803725498a892ff8c01c1f37437e1e0b87c03618982f7 1241d49aab85ca2320bf58655b9426a021214ed0.tar.gz
"
@@ -1,6 +1,6 @@
maintainer="Neil Armstrong <neil.armstrong@linaro.org>"
pkgname=firmware-ayaneo-pocket
pkgver=20260612
pkgver=20251207
pkgrel=0
pkgdesc="Firmware for Ayaneo Pocket"
subpackages="
@@ -12,13 +12,13 @@ subpackages="
$pkgname-s2-tplg:s2_tplg
$pkgname-renesas-usb:renesas_usb
"
url="https://github.com/superna9999/linux-firmware-ayaneo"
url="https://github.com/sunflower2333/linux-firmware-ayaneo"
arch="aarch64"
license="proprietary"
makedepends="zstd"
options="!check !strip !archcheck !tracedeps pmb:cross-native"
_commit="7b0d4a031ee9a20f48a7749af0ea61c781bd9af4"
source="https://github.com/superna9999/linux-firmware-ayaneo/archive/$_commit/linux-firmware-ayaneo-$_commit.tar.gz"
_commit="17fd5306f1dd33356f0bf85e2781f5c31e98ba0e"
source="https://github.com/sunflower2333/linux-firmware-ayaneo/archive/$_commit/linux-firmware-ayaneo-$_commit.tar.gz"
builddir="$srcdir/linux-firmware-ayaneo-$_commit"
package() {
@@ -51,8 +51,8 @@ s2_adsp() {
s2_tplg() {
pkgdesc="Ayaneo Pocket S2 Audio Topology"
install -Dm644 "$builddir"/qcom/ayaneo-ps2/SM8650-APS2-tplg.bin.zst -t \
"$subpkgdir/lib/firmware/qcom/ayaneo-ps2/"
install -Dm644 "$builddir"/qcom/sm8650/SM8650-APS2-tplg.bin.zst -t \
"$subpkgdir/lib/firmware/qcom/sm8650/"
}
s2_cdsp() {
@@ -77,5 +77,5 @@ s2_ath12k() {
}
sha512sums="
041bb687a951ec0745c3201e6b19ebfb30dd9fe34882fd6c2d3f2c713de890784fc433805502c3ec15980860e640ce86aed75a13c55d451d230d43d8229b002b linux-firmware-ayaneo-7b0d4a031ee9a20f48a7749af0ea61c781bd9af4.tar.gz
0fa6040320ea2493dd31b66b75c247b44030755f7f74df740537b237d77c73f81c4bb01cbd7c9749bcbb8e3a9c37e827b14e64b6ab9da97b3d5b806124657ac2 linux-firmware-ayaneo-17fd5306f1dd33356f0bf85e2781f5c31e98ba0e.tar.gz
"
@@ -1,7 +1,7 @@
# Kernel config based on: arch/arm64/configs/defconfig
maintainer="Neil Armstrong <neil.armstrong@linaro.org>"
pkgname=linux-ayaneo-pocket-s2
pkgver=7.0_git20260612
pkgver=7.0_git20260421
pkgrel=0
pkgdesc="Ayaneo Pocket S2 kernel fork"
arch="aarch64"
@@ -43,7 +43,7 @@ makedepends="
# Source
_url="https://gitlab.com/superna9999/"
_repository="linux"
_commit="d42f74bb3f3372e95cd0525177e2cb83ebb23b17"
_commit="954b1b997752f0ceaf838171c9775dfa72b5553a"
_defconfig="defconfig"
_config="config-$_flavor.$arch"
source="
@@ -73,7 +73,7 @@ package() {
make LLVM=1 zinstall modules_install dtbs_install \
ARCH="$_carch" \
INSTALL_PATH="$pkgdir"/boot/ \
INSTALL_MOD_PATH="$pkgdir"/usr \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_STRIP=1 \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
@@ -84,7 +84,7 @@ package() {
}
sha512sums="
f50dc5bcbc511e87d93024fa4430b87cdaaf3314368bcf8a7c24b7461e912bb6a5fb51feff7e5e6b98aa77d533e3bebb79ef276cec9e2eab6e50db657ee2cd83 linux-ayaneo-pocket-s2-d42f74bb3f3372e95cd0525177e2cb83ebb23b17.tar.gz
a8b4267603c0036dce2f023b2fe52791699f547981d398a113ba020aeeb1390ed0643881fa19b50d4585f89b76f33759360a96fbeeb70561b03423db6ee71893 linux-ayaneo-pocket-s2-954b1b997752f0ceaf838171c9775dfa72b5553a.tar.gz
f7712cb52ab2abae02deb3f90d0bdba83bcdf1af9b5f4fdb97963d729d1a0161301ecb3b5948dcd7a7f182c14e52d3863ec48f22a00276008d3bb0615d29ba68 misc.config
07089f3297c5206ae1a1a64c5c8438d1d82ca29c4c4651211be74e9786a10956a45bc13ad9bb666a9beb5ca7550948e71bdaa90598bfd4282b2fe57ad9277e1f config-ayaneo-pocket-s2.aarch64
80e0044ed9ab9331adc667001ce1677113dfc299b9cdd366d221e967e77f7f11aa2a90ae90f5823d54126c46095aaa5a32c93026840605bc2492fce863f70e7d config-ayaneo-pocket-s2.aarch64
"
@@ -11,7 +11,7 @@ CONFIG_AS_VERSION=220103
CONFIG_LD_VERSION=0
CONFIG_LD_IS_LLD=y
CONFIG_LLD_VERSION=220103
CONFIG_RUSTC_VERSION=109600
CONFIG_RUSTC_VERSION=109500
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=220103
CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y
@@ -4991,11 +4991,11 @@ CONFIG_REGULATOR_ROHM=y
# CONFIG_REGULATOR_S2MPA01 is not set
CONFIG_REGULATOR_S2MPS11=y
# CONFIG_REGULATOR_S5M8767 is not set
CONFIG_REGULATOR_SGM3804=y
# CONFIG_REGULATOR_SLG51000 is not set
# CONFIG_REGULATOR_STM32_BOOSTER is not set
# CONFIG_REGULATOR_STM32_VREFBUF is not set
# CONFIG_REGULATOR_STM32_PWR is not set
CONFIG_REGULATOR_SGM3804=y
# CONFIG_REGULATOR_SY8106A is not set
# CONFIG_REGULATOR_SY8824X is not set
# CONFIG_REGULATOR_SY8827N is not set
@@ -5771,7 +5771,6 @@ CONFIG_DRM_PANEL_RAYDIUM_RM67191=m
CONFIG_DRM_PANEL_RAYDIUM_RM692E5=m
# CONFIG_DRM_PANEL_RAYDIUM_RM69380 is not set
# CONFIG_DRM_PANEL_RENESAS_R61307 is not set
CONFIG_DRM_PANEL_RENESAS_R63419=m
# CONFIG_DRM_PANEL_RENESAS_R69328 is not set
# CONFIG_DRM_PANEL_RONBO_RB070D30 is not set
# CONFIG_DRM_PANEL_SAMSUNG_AMS581VF01 is not set
@@ -5823,6 +5822,7 @@ CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m
# CONFIG_DRM_PANEL_VISIONOX_RM692E5 is not set
CONFIG_DRM_PANEL_VISIONOX_VTDR6130=m
# CONFIG_DRM_PANEL_WIDECHIPS_WS2401 is not set
CONFIG_DRM_PANEL_AYANEO_WT0600_2K=m
# CONFIG_DRM_PANEL_XINPENG_XPP055C272 is not set
# end of Display Panels
@@ -7339,26 +7339,7 @@ CONFIG_LEDS_TRIGGER_PATTERN=m
#
# Simatic LED drivers
#
CONFIG_ACCESSIBILITY=y
CONFIG_A11Y_BRAILLE_CONSOLE=y
#
# Speakup console speech
#
CONFIG_SPEAKUP=m
CONFIG_SPEAKUP_SYNTH_ACNTSA=m
CONFIG_SPEAKUP_SYNTH_APOLLO=m
CONFIG_SPEAKUP_SYNTH_AUDPTR=m
CONFIG_SPEAKUP_SYNTH_BNS=m
CONFIG_SPEAKUP_SYNTH_DECTLK=m
CONFIG_SPEAKUP_SYNTH_DECEXT=m
CONFIG_SPEAKUP_SYNTH_LTLK=m
CONFIG_SPEAKUP_SYNTH_SOFT=m
CONFIG_SPEAKUP_SYNTH_SPKOUT=m
CONFIG_SPEAKUP_SYNTH_TXPRT=m
# CONFIG_SPEAKUP_SYNTH_DUMMY is not set
# end of Speakup console speech
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC_SUPPORT=y
CONFIG_EDAC=y
@@ -9258,7 +9239,7 @@ CONFIG_F2FS_IOSTAT=y
# CONFIG_F2FS_UNFAIR_RWSEM is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_EXPORTFS_BLOCK_OPS=y
# CONFIG_EXPORTFS_BLOCK_OPS is not set
CONFIG_FILE_LOCKING=y
# CONFIG_FS_ENCRYPTION is not set
# CONFIG_FS_VERITY is not set
@@ -9443,21 +9424,11 @@ CONFIG_NFS_DISABLE_UDP_SUPPORT=y
CONFIG_NFS_V4_2_READ_PLUS=y
CONFIG_NFSD=m
# CONFIG_NFSD_V2 is not set
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_PNFS=y
CONFIG_NFSD_BLOCKLAYOUT=y
CONFIG_NFSD_SCSILAYOUT=y
# CONFIG_NFSD_FLEXFILELAYOUT is not set
CONFIG_NFSD_V4_2_INTER_SSC=y
# CONFIG_NFSD_V4_SECURITY_LABEL is not set
# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set
# CONFIG_NFSD_V4_DELEG_TIMESTAMPS is not set
# CONFIG_NFSD_V4_POSIX_ACLS is not set
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_GRACE_PERIOD=m
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
# CONFIG_NFS_LOCALIO is not set
CONFIG_NFS_V4_2_SSC_HELPER=y
@@ -9571,7 +9542,7 @@ CONFIG_SECURITYFS=y
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_LOADPIN is not set
CONFIG_SECURITY_YAMA=y
# CONFIG_SECURITY_YAMA is not set
# CONFIG_SECURITY_SAFESETID is not set
# CONFIG_SECURITY_LOCKDOWN_LSM is not set
# CONFIG_SECURITY_LANDLOCK is not set
+2 -2
View File
@@ -1,7 +1,7 @@
# Kernel config based on: arch/arm64/configs/defconfig
maintainer="Casey Connolly <kcxt@postmarketos.org>"
pkgname=linux-next
pkgver=7.1_git20260619
pkgver=7.1_git20260612
pkgrel=0
_nextver="${pkgver#*_git}"
pkgdesc="Linux next kernel"
@@ -90,7 +90,7 @@ package() {
}
sha512sums="
d581f166ee76202b1b8755b420f3df881ab22a7dd4e7d557251058a988929bd4412077cbc75666510d12c65987ff1e7a130209242d9b2133161244d71525f386 linux-next-next-20260619.tar.gz
dd322d5faf4d172fc8d81eed766539c05b8d1a9aebe418148ef3a9386ed71ad0e9c9b896a30a9daa23f50568a9b7910c282102a4acdd6dff145b7b6c87234d08 linux-next-next-20260612.tar.gz
08ec500bd2f40c1c80e56ebd938d4e54af71972fdf00c4dfe8a911cf094e1c296766276010470bfa26c68093c90bcae01266acc5e59fa0ec4620d4becc2c53d4 devices.config
25c07558cc7dc82485957c82246bbf1eef4a4188f007546b27336fcd84507b387c8afc3d0feb2a2760e90ccde804ff7d7112be38831bba92d5a1988780a42cdd pmos.config
"
+4 -11
View File
@@ -3,7 +3,7 @@
# Co-Maintainer: Stefan Hansson <newbyte@postmarketos.org>
maintainer="Dang Huynh <dang.huynh@mainlining.org>"
pkgname=linux-pine64-pinetab2
pkgver=7.0.12
pkgver=7.0.6
_danctnix_kernel_rel=1
pkgrel=0
pkgdesc="Pine64 PineTab 2 mainline"
@@ -32,20 +32,14 @@ makedepends="
_tags="v$pkgver-danctnix$_danctnix_kernel_rel"
_config="config-$_flavor.$arch"
source="
linux-$pkgver.tar.xz::https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$pkgver.tar.xz
$_tags.patch.zst::https://codeberg.org/DanctNIX/linux-pinetab2/releases/download/$_tags/$_tags.patch.zst
$pkgname-$_tags.tar.gz::https://codeberg.org/DanctNIX/linux-pinetab2/archive/$_tags.tar.gz
$_config
"
builddir="$srcdir/linux-$pkgver"
builddir="$srcdir/linux-pinetab2"
_outdir="out"
prepare() {
default_prepare
# Decrunch the patch file and apply it to the tree
zstd -d "$(readlink $srcdir/$_tags.patch.zst)" -o "$srcdir/$_tags.patch"
patch -p1 -i "$srcdir/$_tags.patch"
cp "$srcdir/config-$_flavor.$CARCH" .config
}
@@ -72,7 +66,6 @@ package() {
}
sha512sums="
5c1df7992b8b78ba28b441a5efdb3fd8d07c2a0ce1421e42a409001dea4b8bdf1aa2bda26645439603c3a903a00d7dfa14324ad2f59f8131174c83d1a5da2f45 linux-7.0.12.tar.xz
b24aadf37f85285edca551d1fd8625755e6db121a760143e468a48c7eb45ffbc3aeff9aea1666afc74a6e7f8ed75944a848c1f9b1ae37d2ad2b3c4412b5b0873 v7.0.12-danctnix1.patch.zst
b5f0578bf9bc18ea70161bb39fcbbfcd5c92a0d4c58b7c92af64c2277ce2242db3a3551929d608944392bd6b4756bf65a796594acdb4847033a6992ea99ad09b linux-pine64-pinetab2-v7.0.6-danctnix1.tar.gz
77b54e385f63436a6fa0a595149d626aae7026dbd748ab121bcbaa88a0e7cf156239033867d8f7acd51b42f04c6cfe9de1c20cc7f687491afe836a7b4759763f config-pine64-pinetab2.aarch64
"
@@ -1,6 +1,6 @@
maintainer="Clayton Craft <clayton@craftyguy.net>"
pkgname=linux-postmarketos-asahi
pkgver=7.0.12_p1
pkgver=7.0.11_p2
pkgrel=0
_rel=${pkgver#*_p}
_kver=${pkgver%_p*}
@@ -54,7 +54,6 @@ source="
config-postmarketos-asahi.aarch64
0001-nvmem-apple-spmi-nvmem-Fix-CFI-failures.patch
enable-dynamic-ftrace.patch
"
builddir="$srcdir/linux-asahi-$_asahiver"
_defconfig="defconfig"
@@ -89,8 +88,7 @@ package() {
}
sha512sums="
4e054f227a9e2d6286c713a8287d434aee214b0c54773d55b37e5a781c8eec1ad97e73f761aee2e2b68aae4d989e04df9abad9c7e5598b84125d8ff4abb0c5ac linux-postmarketos-asahi-7.0.12-1.tar.gz
62de3220d7e05eed1e8f40e3fa60db2acdb43a27c8fa71bddd939b878d33d0436349b96485a19edc2f1bfcee2ba54a01f8d835187a9e9d6b4170b2c518665548 config-postmarketos-asahi.aarch64
c04f15e7b231d37aa14c2311eb580e56adca1bc32e718fbbf4651bd12d89a864b1b396f83640d9b57e5729390312262d35b1709c83dbdf6988fb69f3ba4663ac linux-postmarketos-asahi-7.0.11-2.tar.gz
1444f29dc22fc98419ca3fe71d9d41890597c33cf3b2befba1f14fcf970b6172abebbfac95a3bbf9229a393954864a94f181cfd7fb8cedf9ac9a51f7540ff351 config-postmarketos-asahi.aarch64
8d205300cfabe192b53ed1cc644b087e76421eb973e1b2a31d657e4f2676badebdfcf6b0865569c43b4b904935435f6e729c3a8d4a6221fb5792e40ec1017a0f 0001-nvmem-apple-spmi-nvmem-Fix-CFI-failures.patch
e8b595f3e076896dc38f249c8908d58e2e6a858eaa77fe1e680f27db0e76d3d74c0b5dfebb7a4c57d546fee0b0f6eb81a38b20dfd72f985c9d02f28d79a5eceb enable-dynamic-ftrace.patch
"
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 7.0.12 Kernel Configuration
# Linux/arm64 7.0.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Alpine clang version 22.1.3"
CONFIG_GCC_VERSION=0
@@ -31,7 +31,7 @@ CONFIG_RUSTC_HAS_SPAN_FILE=y
CONFIG_RUSTC_HAS_UNNECESSARY_TRANSMUTES=y
CONFIG_RUSTC_HAS_FILE_WITH_NUL=y
CONFIG_RUSTC_HAS_FILE_AS_C_STR=y
CONFIG_PAHOLE_VERSION=131
CONFIG_PAHOLE_VERSION=130
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y
@@ -128,7 +128,6 @@ CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
# CONFIG_PREEMPT_DYNAMIC is not set
# CONFIG_SCHED_CORE is not set
# CONFIG_SCHED_CLASS_EXT is not set
#
# CPU/Task time and stats accounting
@@ -1598,7 +1597,6 @@ CONFIG_NET_SCH_MQPRIO=m
CONFIG_NET_SCH_INGRESS=m
# CONFIG_NET_SCH_PLUG is not set
# CONFIG_NET_SCH_ETS is not set
# CONFIG_NET_SCH_BPF is not set
# CONFIG_NET_SCH_DUALPI2 is not set
# CONFIG_NET_SCH_DEFAULT is not set
@@ -6409,7 +6407,6 @@ CONFIG_HID_MCP2221=m
#
# HID-BPF support
#
# CONFIG_HID_BPF is not set
# end of HID-BPF support
CONFIG_I2C_HID=y
@@ -8879,7 +8876,7 @@ CONFIG_SECURITY=y
CONFIG_HAS_SECURITY_AUDIT=y
CONFIG_SECURITYFS=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_PATH=y
# CONFIG_SECURITY_PATH is not set
# CONFIG_STATIC_USERMODEHELPER is not set
# CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
@@ -9382,19 +9379,16 @@ CONFIG_DEBUG_MISC=y
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
# CONFIG_DEBUG_INFO_DWARF4 is not set
CONFIG_DEBUG_INFO_DWARF5=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_DWARF5 is not set
CONFIG_DEBUG_INFO_REDUCED=y
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
# CONFIG_DEBUG_INFO_COMPRESSED_ZSTD is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
CONFIG_DEBUG_INFO_BTF=y
CONFIG_PAHOLE_HAS_BTF_TAG=y
CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y
CONFIG_DEBUG_INFO_BTF_MODULES=y
# CONFIG_MODULE_ALLOW_BTF_MISMATCH is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_FRAME_WARN=2048
# CONFIG_STRIP_ASM_SYMS is not set
@@ -9560,7 +9554,6 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_FREGS=y
CONFIG_HAVE_FTRACE_GRAPH_FUNC=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=y
CONFIG_HAVE_EXTRA_IPI_TRACEPOINTS=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
@@ -9581,9 +9574,7 @@ CONFIG_FUNCTION_TRACER=y
CONFIG_FUNCTION_GRAPH_TRACER=y
# CONFIG_FUNCTION_GRAPH_RETVAL is not set
# CONFIG_FUNCTION_GRAPH_RETADDR is not set
CONFIG_FUNCTION_TRACE_ARGS=y
CONFIG_DYNAMIC_FTRACE=y
CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=y
CONFIG_DYNAMIC_FTRACE_WITH_ARGS=y
# CONFIG_FUNCTION_SELF_TRACING is not set
# CONFIG_FPROBE is not set
@@ -9601,7 +9592,6 @@ CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
CONFIG_PROBE_EVENTS_BTF_ARGS=y
CONFIG_KPROBE_EVENTS=y
# CONFIG_KPROBE_EVENTS_ON_NOTRACE is not set
CONFIG_UPROBE_EVENTS=y
@@ -1,124 +0,0 @@
From d81e256317f22d08afbdd8da83cda875d058b97f Mon Sep 17 00:00:00 2001
From: "Jose Fernandez (Anthropic)" <jose.fernandez@linux.dev>
Date: Tue, 9 Jun 2026 05:19:26 +0000
Subject: [PATCH 1/2] arm64: ftrace: prepare ftrace_modify_call() for use
without CALL_OPS
ftrace_modify_call() is guarded by CONFIG_DYNAMIC_FTRACE_WITH_CALL_OPS
and calls ftrace_rec_set_ops(rec, arm64_rec_get_ops(rec)) directly,
which only exists when CALL_OPS is enabled.
Generic ftrace also needs ftrace_modify_call() when
CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS is enabled, to retarget a
callsite between two non-FTRACE_ADDR destinations, as happens when a
direct trampoline is modified. The next patch allows DIRECT_CALLS without
CALL_OPS, so widen the guard to cover both configurations and switch
the body to the ftrace_rec_update_ops() wrapper, which already has a
stub for the !CALL_OPS case. ftrace_make_call() already uses the same
wrapper today.
No functional change: with CALL_OPS enabled, ftrace_rec_update_ops()
expands to the exact call this replaces.
Assisted-by: Claude:unspecified
Signed-off-by: Jose Fernandez (Anthropic) <jose.fernandez@linux.dev>
Reviewed-by: Puranjay Mohan <puranjay@kernel.org>
---
arch/arm64/kernel/ftrace.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/kernel/ftrace.c b/arch/arm64/kernel/ftrace.c
index 5a1554a441628..e1a3c0b3a0514 100644
--- a/arch/arm64/kernel/ftrace.c
+++ b/arch/arm64/kernel/ftrace.c
@@ -409,7 +409,8 @@ int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr)
return ftrace_modify_code(pc, old, new, true);
}
-#ifdef CONFIG_DYNAMIC_FTRACE_WITH_CALL_OPS
+#if defined(CONFIG_DYNAMIC_FTRACE_WITH_CALL_OPS) || \
+ defined(CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS)
int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr,
unsigned long addr)
{
@@ -417,7 +418,7 @@ int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr,
u32 old, new;
int ret;
- ret = ftrace_rec_set_ops(rec, arm64_rec_get_ops(rec));
+ ret = ftrace_rec_update_ops(rec);
if (ret)
return ret;
--
2.54.0
From c7d8dc4cd612aec63b954e13a2a940308d6c769e Mon Sep 17 00:00:00 2001
From: "Jose Fernandez (Anthropic)" <jose.fernandez@linux.dev>
Date: Tue, 9 Jun 2026 05:19:27 +0000
Subject: [PATCH 2/2] arm64: ftrace: allow DIRECT_CALLS without CALL_OPS
arm64 gained ftrace direct calls in commit 2aa6ac03516d ("arm64:
ftrace: Add direct call support") on top of
DYNAMIC_FTRACE_WITH_CALL_OPS, using the per-callsite ops pointer as a
fast path to reach the direct trampoline. Since commit baaf553d3bc3
("arm64: Implement HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS"), CALL_OPS is
mutually exclusive with CFI: the pre-function NOPs would change the
offset of the pre-function kCFI type hash, and the compiler support
needed to keep that offset consistent does not exist yet.
The result is that a CONFIG_CFI=y kernel loses CALL_OPS, and with it
DIRECT_CALLS, and with it every BPF trampoline attachment to kernel
functions: register_fentry() returns -ENOTSUPP, so fentry/fexit,
fmod_ret and BPF LSM programs cannot attach at all. This is a real
problem for hardened arm64 deployments that rely on BPF LSM for
security monitoring while keeping kCFI enabled.
CALL_OPS is an optimization for direct calls, not a dependency. When
the direct trampoline is within BL range, the callsite branches
straight to it and ftrace_caller is not involved. When it is out of
range, ftrace_find_callable_addr() already falls back to
ftrace_caller, and the DIRECT_CALLS machinery there
(FREGS_DIRECT_TRAMP, ftrace_caller_direct_late) is gated on
DIRECT_CALLS alone, not CALL_OPS: the ops dispatch invokes
call_direct_funcs(), which stores the trampoline address in
ftrace_regs, and ftrace_caller tail-calls it. s390 and loongarch use
this same mechanism for HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS without
having CALL_OPS at all, and DYNAMIC_FTRACE_WITH_ARGS without CALL_OPS
is already a supported arm64 configuration (GCC builds with
CC_OPTIMIZE_FOR_SIZE do not satisfy the CALL_OPS select condition).
Drop the CALL_OPS requirement from the
HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS select. Configurations that
keep CALL_OPS (!CFI clang builds, and GCC builds without
CC_OPTIMIZE_FOR_SIZE) are unchanged. CALL_OPS-less configurations
take the ftrace_caller ops-dispatch path for out-of-range direct
calls, trading the per-callsite fast path for working BPF
trampolines; in-range attachments still branch directly with no
overhead. GCC -Os builds also gain DIRECT_CALLS as a side effect.
That is intended: s390 and loongarch already ship DIRECT_CALLS
without any per-callsite fast path.
Assisted-by: Claude:unspecified
Signed-off-by: Jose Fernandez (Anthropic) <jose.fernandez@linux.dev>
Reviewed-by: Puranjay Mohan <puranjay@kernel.org>
---
arch/arm64/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index edbaec4b6eead..532ce0d77069a 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -214,7 +214,7 @@ config ARM64
if (GCC_SUPPORTS_DYNAMIC_FTRACE_WITH_ARGS || \
CLANG_SUPPORTS_DYNAMIC_FTRACE_WITH_ARGS)
select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS \
- if DYNAMIC_FTRACE_WITH_ARGS && DYNAMIC_FTRACE_WITH_CALL_OPS
+ if DYNAMIC_FTRACE_WITH_ARGS
select HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS \
if (DYNAMIC_FTRACE_WITH_ARGS && !CFI && \
(CC_IS_CLANG || !CC_OPTIMIZE_FOR_SIZE))
--
2.54.0
@@ -36,10 +36,6 @@ CONFIG_UDMABUF=y
CONFIG_BPF=y
CONFIG_BPF_JIT=y
CONFIG_BPF_LSM=y
CONFIG_DEBUG_INFO_BTF=y
CONFIG_DEBUG_INFO_BTF_MODULES=y
CONFIG_DEBUG_INFO_DWARF5=y
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_IPC_NS=y
CONFIG_KPROBES=y
CONFIG_KPROBE_EVENTS=y
@@ -47,7 +43,6 @@ CONFIG_NET_NS=y
CONFIG_PID_NS=y
CONFIG_SECURITY=y
CONFIG_SECURITYFS=y
CONFIG_SECURITY_PATH=y
CONFIG_USER_NS=y
CONFIG_UTS_NS=y
@@ -3,7 +3,7 @@ maintainer="Nikroks <nikroks@mainlining.org>"
_flavor="postmarketos-qcom-sm7125"
pkgname=linux-$_flavor
pkgver=6.14.7
pkgrel=1
pkgrel=0
pkgdesc="Mainline Kernel fork for SM7125 devices"
arch="aarch64"
_carch="arm64"
@@ -47,7 +47,7 @@ package() {
make zinstall modules_install dtbs_install \
ARCH="$_carch" \
INSTALL_PATH="$pkgdir"/boot/ \
INSTALL_MOD_PATH="$pkgdir"/usr \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_STRIP=1 \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source
@@ -1,4 +1,4 @@
# Approval Rules
# pmaports Approval Rules
pmaports follows the general
[code review and merge](https://docs.postmarketos.org/policies-and-processes/development/code-review-and-merge.html)
@@ -33,12 +33,12 @@ The following flowchart describes the process:
## Move device from category
Moving devices from category is a special operation, see
[device categorization](../packaging/device-categorization).
[device categorization](./device-categorization).
## Changing kconfigcheck requirements
Changes to `kconfigcheck.toml` are a special operation, see
[kconfigcheck](../packaging/kernel-packages/kconfigcheck).
[kconfigcheck](./kconfigcheck).
## Testing requirements
@@ -50,7 +50,14 @@ cases, before merging, in addition to the regular approvals, it is required to:
device-specific MRs that the team can't test, instead require confirmation of
device maintainer that it works.
## Stable branches
## Backporting
[MRs to stable branches](./stable-branches) follow the same approval rules as
to the `main` branch.
Backporting features from edge to stable is done at request of the MR author or
package maintainer. All patches for stable branches must go through edge first
and get backported from there to get additional testing before they potentially
breaks something in stable, and should be tested in the MR too. The only
exception are patches for failures that only happen on stable.
While backporting patches to stable, label the MR with the corresponding
`backport-to-v*` label, and cherry-pick the commits with the `-x` option, to
make sure that the original commit is mentioned.
File renamed without changes.
+1 -1
View File
@@ -1,4 +1,4 @@
# CI Tags
# CI tags
You can add various tags in the commit message of your last commit to modify
the continuous integration behaviour for your merge requests.
-11
View File
@@ -1,11 +0,0 @@
# Continuous Integration
These pages are related to continuous integration (CI) in pmaports.
```{eval-rst}
.. toctree::
:hidden:
ci/ci-tags
ci/hardware-ci
```
+1 -20
View File
@@ -13,7 +13,6 @@ extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.doctest",
"sphinx_reredirects",
"sphinxcontrib.autoprogram",
"sphinxcontrib.jquery",
]
@@ -27,29 +26,11 @@ html_theme_options = {
# Set the explicit title of the HTML output
html_title = "postmarketOS Packaging"
# Redirects for moved pages
redirects = {
"approval-rules": "merge-requests/approval-rules.html",
"ci-tags": "ci/ci-tags.html",
"device-categorization": "packaging/device-categorization.html",
"deviceinfo-reference": "packaging/device-packages/deviceinfo-reference.html",
"firmware": "packaging/firmware-packages.html",
"generic-device-packages": "packaging/device-packages/generic-device-packages.html",
"generic-kernels": "packaging/kernel-packages/generic-kernel-packages.html",
"hardware-ci": "ci/hardware-ci.html",
"kconfig-fragments": "packaging/kernel-packages/kconfig-fragments.html",
"kconfigcheck": "packaging/kernel-packages/kconfigcheck.html",
"kernel-cmdline": "packaging/kernel-packages/kernel-cmdline.html",
"kernel-versions": "packaging/kernel-packages/kernel-versions.html",
"packaging-guidelines": "packaging.html",
"releases/backporting": "merge-requests/stable-branches.html",
"ui-packages": "packaging/ui-packages.html",
}
def run_dint_doc(app):
docs_dir = Path(__file__).parent
with docs_dir.joinpath("packaging/device-packages/deviceinfo-reference.md").open("w") as f:
with docs_dir.joinpath("deviceinfo-reference.md").open("w") as f:
schema_path = docs_dir.parent / "deviceinfo_schema.toml"
subprocess.run(["dint", "doc"], stdout=f, check=True, env={"DINT_SCHEMA_PATH": schema_path})
@@ -1,27 +1,13 @@
# Device Categorization
There are a [lot of devices](https://wiki.postmarketos.org/wiki/Devices) that
can boot postmarketOS. These devices are divided into different categories. The
categorization serves to provide users with information about what to expect in
the present and future from a specific device. Therefore, the categories provide
information about a minimum set of working features, but also about the expected
level of support and stability that those features will have in the future.
Devices that are working quite well get lost in the [big matrix of booting
devices](https://wiki.postmarketos.org/wiki/Devices). To improve the situation,
devices postmarketOS runs on have been grouped into the following categories.
## Categories
Although there are distinct categories, device support on-paper might not match
reality. Especially in regards to device features: some devices in lower
categories might match the requirements of higher categories, but the commitment
or support from maintainers might be lower than what higher categories require.
### Main
Main devices should be usable in the most common use-cases for which the device
is designed. They are also expected to be reliable and have few regressions in
functionality. One can expect some level of support from the postmarketOS team,
always respecting the volunteer nature of the project. See
[state](https://postmarketos.org/state/) to understand what that means.
Requirements:
* The [postmarketOS team](https://postmarketos.org/team) must endorse the new
device.
@@ -73,15 +59,6 @@ Responsibilities for the device maintainer team:
### Community
Community devices have a reasonable set of features enabled, although there is
not a fixed feature set: users should not assume that everything works and are
expected to look at the device wiki page. Community devices have generally
received a lot of work and should, in general, remain working quite
well. However, there is no commitment from the postmarketOS team, and it can
happen that maintainers are unable to continue working on them, leading to them
eventually getting demoted. The team will always notify the community about such
changes through the standard communication channels: Fediverse and blog posts.
Requirements:
* Well documented installation instructions on device wiki page
@@ -114,13 +91,18 @@ Requirements:
For e.g. version 6.12.3, the date would be that of the specific patch release,
not that of the initial 6.12 release
### Testing
Regarding device features (calls working, camera, ...), there is not a fixed
feature set (so for users, don't assume that everything works, look at the
device's wiki page for details).
Testing devices cover devices with close-to-mainline kernels and other minimal
requirements. Devices on this category might have few, or many features enabled,
and there are no expectations on maintainers regarding user support. In
consequence, users of testing devices must consider that their devices could be
archived at any time and without notice.
The purpose of community is to increase visibility of devices that:
* A lot of work was put into
* Are (and stay) working quite well (i.e. they are useful in some way and are
tested occasionally to find and fix regressions)
* Are still being improved or are considered completed at some point
### Testing
Requirements:
@@ -132,34 +114,32 @@ Requirements:
### Downstream
Device ports using vendor/downstream kernels. These kernels and devices are only
advised to be used as a step towards using mainline, at which point they would
be moved to testing. Depending on downstream ports as an user can be
problematic, as kernels and devices in this category might be moved to archived
at any time. This will happen if the port no longer builds, lacks a maintainer,
or the maintainer is unresponsive. Downstream ports are also often unable to
support modern userspace components like Docker or systemd.
Requirements:
* Port and dependencies build
* The device boots
Notes:
Device ports using vendor/downstream kernels. Can be moved to _testing_
once a mainline port appears. Kernels and devices in this category might be
moved to _archived_ if no longer building and either lack a maintainer or the
maintainer is unresponsive for months.
(device-category-archived)=
### Archived
A port might be in archived if the port has been replaced with a better
alternative (e.g. ports using downstream kernels when a functional mainline port
exists), the port no longer boots with the current version of postmarketOS,
or it became unmaintained.
Ports are moved to this category if:
The archived category exists to simplify bringing back old ports (so new
maintainers don't have to dig through the git history), and for specific
situations where it is useful for developers to share a non-recommended
downstream kernel. Therefore, archived ports aren't listed in `pmbootstrap init`
and binary packages are not built for them. However, they can still be manually
selected and built by entering the device codename. Although, doing this will display
a warning with the reason why they have been archived.
* The port has been replaced with a better alternative (e.g. ports using
downstream kernels when a functional mainline port exists).
* The port no longer boots with the current version of postmarketOS, and the
port doesn't have an active maintainer to fix it.
Archived ports aren't listed in `pmbootstrap init` and binary packages are not
built for them. Still, they can be manually selected and built by entering the
device codename. A warning is displayed with the reason why they have been
archived.
This category was formerly called *unmaintained*
([!1912](https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/1912),
@@ -241,13 +221,10 @@ the date of the branching.
If the maintainers cannot be contacted, or if two weeks and any additionally
requested time pass and the device still does not meet the criteria, a merge
request to move them to the now appropriate category should be opened. If the
device being demoted is in the main or community category, the community shall
be notified through Fediverse and blog posts (edge blog post, release notes, or
next monthly blog post).
request to move them to the now appropriate category should be opened.
Merge requests moving a device to a lower category are subject to the standard
[pmaports approval rules](../merge-requests/approval-rules).
[pmaports approval rules](./approval-rules).
## See also
@@ -1,4 +1,4 @@
# Firmware Packages
# Firmware
Firmware (non-free binary blobs, often cryptographically signed by the OEM)
is nowadays unfortunately required for a lot of essential functionality,
File renamed without changes.
+14 -3
View File
@@ -14,7 +14,18 @@ in pmaports and the processes around device categorization.
:hidden:
releases
merge-requests
ci
packaging
approval-rules
device-categorization
deviceinfo-reference
ci-tags
firmware
generic-device-packages
generic-kernels
hardware-ci
kconfig-fragments
kconfigcheck
kernel-cmdline
kernel-versions
packaging-guidelines
ui-packages
```
@@ -47,7 +47,7 @@ This would opt into the `community` category checks. The checks can be
performed by running `pmbootstrap kconfig check [kernel-package-name]`.
The `community` category checks are mandatory for devices in the community
and main categories, see the
[device categorization requirements](../device-categorization) for more
[device categorization requirements](./device-categorization) for more
information.
## Version baselines
@@ -79,7 +79,7 @@ package maintainers, who must make sure their kernel complies with the changed
requirements in the next update to their kernel packages. When making unrelated
changes to a kernel package that does not meet the current requirements, one
can use the `[ci:skip-kconfigcheck]` CI tag to bypass the checks if
[the situation allows for it](../../ci/ci-tags).
[the situation allows for it](./ci-tags).
Merge requests that change the `kconfigcheck.toml` require approval from
members of the kconfigcheck team in GitLab. The team can be pinged on merge
File renamed without changes.
@@ -9,7 +9,7 @@ additional guidelines for which kernel version to package for a device.
Devices with a close-to-mainline kernel usually reside in `testing` and can be
moved to `community` or `main` later if they meet the necessary
[requirements](../device-categorization.md). Devices using a downstream (i.e.
[requirements](./device-categorization.md). Devices using a downstream (i.e.
vendor-provided) kernel are packaged in the `downstream` or `archived`
categories.
-12
View File
@@ -1,12 +0,0 @@
# Merge Requests
The subpages of this page describe processes for merge requests in pmaports.
```{eval-rst}
.. toctree::
:hidden:
merge-requests/approval-rules
merge-requests/commitstyle
merge-requests/stable-branches
```
-1
View File
@@ -1 +0,0 @@
../../COMMITSTYLE.md
-59
View File
@@ -1,59 +0,0 @@
# Stable Branches
This article describes how to make merge requests towards a [stable
release](../releases) branch.
## Relevant Changes
* Fixes backported from `main`.
* Features backported from `main` if the maintainer of the package considers
them stable enough and important enough for backporting. In general we should
try to keep these minimal, for users the assumption is that stable branches
don't change much between releases and are therefore much more reliable than
edge.
* For packages that have a higher version in `main`: if upstream releases a
patch-release for an older version that we are using in our stable branch, an
upgrade MR can directly be sent to the stable branch without the usual
main-first-then-backport approach described below.
## Workflow
* Merge request authors or other contributors may add a `backport-to-vYY.MM`
label to pmaports MRs to `main` that shall be backported.
* After the MR is merged to `main`, somebody following up (could be the person
who merged the MR to be fastest, or the original MR author, or the person
responsibly for the release, or another community member) creates a MR to
the release branch.
* Use `git cherry-pick -x ffffffff` (insert commit to cherry pick accordingly)
for every patch. The `-x` will add a `(cherry picked from commit ffffffff)`
line to the commit message.
* Put `backport of <link to the original MR>` into the description of the MR
towards the stable branch.
* For patches that are not related to security, maintainers can choose to delay
backporting to give them more time in edge. This can be done either by adding
a visible note in the original MR description that a backport shall wait and
how long, or by adding a blocking comment in the backport MR that it shall
not be merged before a specific date.
### Best Practices
* Cherry picked commits shall not be squashed, then it's hard to understand
which commits were already picked and which were not.
* Avoid cherry-picking multiple patches that touch the same pmaports in the
wrong order. If there's a conflict, consider additionally cherry-picking a
dependent patch beforehand if it's non-intrusive.
### Initial Release Branch Bringup
Before the binary repository is built once for the release branch, it is fine
to directly push cherry-picked patches from main to the release branch without
going through a merge request. The reason is that CI doesn't work yet anyway,
and we want to have build fixes applied to the release branch quickly to be
able to finish the initial build of the binary repository.
@@ -1,16 +1,5 @@
# Packaging Guidelines
This document explains the general logic behind APKBUILDs and the niche
or confusing parts of writing them.
## General Policy
The APKBUILDs in pmaports follow
[Alpine Linux's coding style guide](https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/CODINGSTYLE.md)
with a few small style and policy differences to make up for the differences
in the types of packages between aports and pmaports. These can be found below
and in the other sections.
## Maintainership
Every package is expected to have a maintainer. The only exception is packages
@@ -326,16 +315,3 @@ only in some specific circumstances? In those situations we have to:
versioned provider to disambiguate (e.g:
`provides="audio-conf=$pkgver-r$pkgrel"`), or to force the forked packages
to provide a lower version than the other package.
```{eval-rst}
.. toctree::
:hidden:
packaging/device-categorization
packaging/device-packages
packaging/kernel-packages
packaging/firmware-packages
packaging/ui-packages
```
-12
View File
@@ -1,12 +0,0 @@
# Device Packages
Device packges in pmaports start with `device-`.
```{eval-rst}
.. toctree::
:hidden:
device-packages/generic-device-packages
device-packages/deviceinfo-reference
```
-14
View File
@@ -1,14 +0,0 @@
# Kernel Packages
Kernel packages in pmaports start with `linux-`.
```{eval-rst}
.. toctree::
:hidden:
kernel-packages/generic-kernel-packages
kernel-packages/kconfig-fragments
kernel-packages/kconfigcheck
kernel-packages/kernel-cmdline
kernel-packages/kernel-versions
```
+1
View File
@@ -69,4 +69,5 @@ appear, but you will get a more a more tried and tested, solid experience.
:hidden:
releases/timeline
releases/backporting
```
+31
View File
@@ -0,0 +1,31 @@
# Backporting from edge
## Workflow
* Merge request authors or other contributors may add a `backport-to-vYY.MM`
label to pmaports MRs that shall be backported.
* After the MR is merged, postmarketOS team members can then backport the
patches to the given stable branch. If you are not a team member and need
somebody to do the backport, you can ask in
[postmarketos-devel](https://wiki.postmarketos.org/wiki/Matrix_and_IRC).
* Use <code>git cherry-pick -x ffffffff</code> (insert commit to cherry pick
accordingly) for every patch. The <code>-x</code> will add a <code>(cherry
picked from commit ffffffff)</code> line to the commit message.
* If you really know what you are doing and the change is trivial or the stable
branch is not released yet, then you can directly push the backported patch
to the stable branch. Otherwise you *must* make a merge request against the
stable branch with the backport. We don't want stable branches to break!
* Add a comment to the original merge request where the backport can be found
(with a link to the merge request or backported commit hash).
## What to look out for
* Cherry picked commits shall not be squashed, then it's hard to understand
which commits were already picked and which were not.
* Avoid cherry-picking multiple patches that touch the same pmaports in the
wrong order.
+4 -4
View File
@@ -5,7 +5,7 @@ release cycle starts. Get the current CW with `date +%V`. During the release
cycle we try to follow this plan closely, but it can happen that we run
over the planned CWs.
## 1. Pre-Build
## Pre-Build
CW 21 <small>(2026-05-18 - 2026-05-24)</small>
@@ -20,7 +20,7 @@ Team:
* Create the release branch in pmaports.
* Start building of binary packages early, so we can get through it for sure.
## 2. Branch
## Branch
CW 22 <small>(2026-05-25 - 2026-05-31)</small>,
CW 23 <small>(2026-06-01 - 2026-06-07)</small>
@@ -34,7 +34,7 @@ Team:
* Rebase the release branch on main once
* Build binary packages and images (configure BPO for that)
## 3. Test
## Test
CW 24 <small>(2026-06-08 - 2026-06-14)</small>
@@ -45,7 +45,7 @@ Maintainers:
* Fix stuff that is broken by creating MRs against pmaports main and assigning
the `backport-to-YY.MM` label
## 4. Release
## Release
CW 25 <small>(2026-06-15 - 2026-06-21)</small>
File renamed without changes.
+4 -6
View File
@@ -1,6 +1,6 @@
maintainer="team/kde <bribbers@disroot.org>"
pkgname=drkonqi
pkgver=6.7.0
pkgver=6.6.5
pkgrel=0
pkgdesc="The KDE crash handler"
# armhf blocked by qt6-qtdeclarative -> ki18n
@@ -34,6 +34,7 @@ makedepends="
kuserfeedback-dev
kwallet-dev
kwidgetsaddons-dev
py3-chai
qt6-qtbase-dev
samurai
syntax-highlighting-dev
@@ -44,10 +45,7 @@ case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
subpackages="
$pkgname-lang
$pkgname-systemd
"
subpackages="$pkgname-lang"
_repo_url="https://invent.kde.org/plasma/drkonqi.git"
source="https://download.kde.org/stable/plasma/$pkgver/drkonqi-$pkgver.tar.xz"
@@ -71,5 +69,5 @@ package() {
}
sha512sums="
4a2f04fd28c5f198533e8e06a086781da7db6fc70283b9664cbeb6b851892f26a5578a4dbd034c385893fa28f4c85d947d6f562e514701a016a7dae987f78f8d drkonqi-6.7.0.tar.xz
211eafeb7dc3ff26f54d0347ee019ef6a89e3281c8bc825f9804f2983c7c451a258e40fbbc92f068f7d2c124b606c37ef47a3fae5f0d9b620896e0d86abb7c57 drkonqi-6.6.5.tar.xz
"
+3 -1
View File
@@ -8,7 +8,7 @@ maintainer="Stefan Hansson <newbyte@postmarketos.org>"
pkgname=gnome-session
_pkgver=50.1
pkgver=9999$_pkgver
pkgrel=0
pkgrel=1
pkgdesc="GNOME session manager"
url="https://gitlab.gnome.org/GNOME/gnome-session"
# armhf: pmb#2618
@@ -38,6 +38,7 @@ makedepends="
options="!check" #no tests
subpackages="$pkgname-lang $pkgname-doc $pkgname-systemd gnome-shell-session:_shell:noarch"
source="https://download.gnome.org/sources/gnome-session/${_pkgver%%.*}/gnome-session-$_pkgver.tar.xz
oo7.patch
"
builddir="$srcdir/gnome-session-$_pkgver"
@@ -76,4 +77,5 @@ _shell() {
sha512sums="
8f2d2cc3eb39dc52fdef42696d633808605b311adedaa197813f90eff60517ee1cfd53754e62987115ed8325775ed62ed77796cfd1f457263d1d98d209468abe gnome-session-50.1.tar.xz
56ea243bc4a19aec5b971752f7e45b37e6e748ed2e2cdafcacf2aa72782dd2d3401962cbb227a5029c45062d675a7fae7b09eaac4b8ec3b786539740dc916938 oo7.patch
"
@@ -0,0 +1,23 @@
From a9d4b4d72562973d415cb943a41b4746d19bba78 Mon Sep 17 00:00:00 2001
From: Achill Gilgenast <achill@achill.org>
Date: Wed, 6 May 2026 11:20:25 +0200
Subject: [PATCH] data: Use oo7-portal as secret portal
Once https://gitlab.gnome.org/GNOME/gnome-build-meta/-/work_items/1253 is
approved, x-d-p should prefer oo7-portal instead of gnome-keyring.
---
data/gnome-portals.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/gnome-portals.conf b/data/gnome-portals.conf
index 7e1094cf..0fd839d7 100644
--- a/data/gnome-portals.conf
+++ b/data/gnome-portals.conf
@@ -1,3 +1,3 @@
[preferred]
default=gnome;gtk;
-org.freedesktop.impl.portal.Secret=gnome-keyring;
+org.freedesktop.impl.portal.Secret=oo7-portal;gnome-keyring;
--
GitLab
+2 -2
View File
@@ -1,6 +1,6 @@
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kjournald
pkgver=26.04.2
pkgver=25.12.2
pkgrel=0
pkgdesc="Framework for interacting with systemd-journald"
# armhf blocked by qt6-qtdeclarative and pmb#2618
@@ -52,5 +52,5 @@ package() {
}
sha512sums="
629c5acf21b58b1d909f4e666c1299c76214a740e3bb160ff5abe431649cd9dc477d27f3fc5dc76aa2c9f796224cc5f9c2e984c36b64a27e8b7d2893fe4032ab kjournald-26.04.2.tar.xz
86a6bcbe39c0343a197ebe0f50f05b131b1c7dc7baa3b962745dcc7fe1e6bf8307a408990a62a8e9de5813d2a31cef473a0252be4d5396ebeaae8322a63d6cae kjournald-25.12.2.tar.xz
"
+2 -2
View File
@@ -1,7 +1,7 @@
# Forked from Alpine to add systemd!
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kscreenlocker
_pkgver=6.7.0
_pkgver=6.6.5
pkgver=9999$_pkgver
pkgrel=0
pkgdesc="Library and components for secure lock screen architecture"
@@ -76,7 +76,7 @@ package() {
}
sha512sums="
0f6d4b37dc1a74bcc30697ee6406acb41e310ab1477180d4fc5884a265560553da42afdefacf6cae584ab1cf75699bc9fe1217bb706dea850a805f0e04a42558 kscreenlocker-6.7.0.tar.xz
da4405dc6de5477ab1fc6d8e3ba708ce96f9e6dadfb39d70ef697a0e5da7d6f1053b6f2fb6f53fb48ff3f603ea766aaf8ec17dd8c5f3efe867e4ee20e03f3713 kscreenlocker-6.6.5.tar.xz
cdbc45fb74a3c43fb2302fe09bf2f9f644ca93693e0110cf748c403762236aaeea8284a8d21fc495014c69b6d5fe4789aaff7687ce9f03dda270490fa5042e2b kde.pam
fe2f244b73b5cccf4b7125b9e3cac0a35566840e4ba2f69937fd8053aa56af71ee43dcbfa9c0f79de9ebe31f656e98a5d38955f77560be5c3535b08215ad8789 kde-fingerprint.pam
2ae866d25224ba345ea9d5ddb2fce668de5c51d1cfbb4d7a048c50107ccd6cffc3231a46855599c0ba3d62ff002a26e45b69d9029f88f4ab42661465a5e526c5 kde-smartcard.pam
+2 -2
View File
@@ -1,7 +1,7 @@
# Forked from Alpine to add systemd!
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kwin
_pkgver=6.7.0
_pkgver=6.6.5
pkgver=9999$_pkgver
pkgrel=0
pkgdesc="An easy to use, but flexible, composited Window Manager"
@@ -124,5 +124,5 @@ package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
413b979528485f23ff8a40e50d5ecc8e693dbbf267ed40c7783fdb6ed5aa2b3c30bd3adf148c67d9223ea3e94317ad94a670e226daa9caf2634662d14b68e7d6 kwin-6.7.0.tar.xz
4342a5393b1749355a2b538c44a9b9f3c40fa128974290b292abff71231f3992bf95f3a9beb98ee9e638d358bfb556acba487512a4c646efa0d9a151728aa7c1 kwin-6.6.5.tar.xz
"
@@ -2,7 +2,7 @@
# group=kde-plasma
maintainer="team/kde <bribbers@disroot.org>"
pkgname=plasma-login-manager
pkgver=6.7.0
pkgver=6.6.5
pkgrel=0
pkgdesc="A display manager for KDE Plasma"
# armhf blocked by qt6-qtdeclarative
@@ -79,7 +79,7 @@ package() {
sha512sums="
67bb54a2ecf1a4046e268216c4d3648e924f980f8bf1d57121c0adab1669a0b3aa5e59c65864fb7b9b2a7734e8b93cd7129d16cc16c16346612929b3d6fd43f4 plasma-login-manager-6.7.0.tar.xz
4f1ca605d4171a678852b3c039471cf3b0f9531c520b5bcbaca1bdfc2d60df28509a425f8252d79f2949065dd5c9665a2055e849dfbecdd2fcde02d9fdfc1dfa plasma-login-manager-6.6.5.tar.xz
77fcd3ace910cc694266afb32ac75258e954dfcefa206dfc5f42204b4e3e14528d47a9e28e6cb0aa7f1670450a42023ce4ee85eac76fce2806bab54b2d1aa37c plasmalogin.pam
44d0fce5ed4dd19c0a66cd3b191f33658dcaadf619711c8ed8dccfa8697e8464836780404307271922a910e3df631b8cecfec77822a252e3eabf12c28e65dfa1 plasmalogin-autologin.pam
e82cf4dbca78ea73cc26378ca94dca12d9bb48fe13c29ff1e8403f44f4c83ba5000b8cfff0d2c4161ef9e8218edda82d4226ea571b70ffe7042ed3f2580538cd plasmalogin-greeter.pam
@@ -1,7 +1,7 @@
# Forked from Alpine to add systemd!
maintainer="team/kde <bribbers@disroot.org>"
pkgname=plasma-workspace
_pkgver=6.7.0
_pkgver=6.6.5
pkgver=9999$_pkgver
pkgrel=0
pkgdesc="KDE Plasma Workspace"
@@ -209,5 +209,5 @@ x11() {
}
sha512sums="
ffef9f3c95a6581394207218edf19c5e2a5db84140c484efbfc2536a74a0f2f86621f7c8c1cda1b06f37ea3a1844944fd1fcb6cfd63e2ee3390c502519e177d0 plasma-workspace-6.7.0.tar.xz
865083b9fcb6f8bbaa5a26aa01b3c8f9afe3d7640d19b4639b149ea79ec825e536aa564a479453c43b6d810468e632c10ffa178e21a88250d818ff0aa33e753a plasma-workspace-6.6.5.tar.xz
"
@@ -1,7 +1,7 @@
# pmbootstrap installs this, if systemd is selected in "pmbootstrap init".
maintainer="Clayton Craft <clayton@craftyguy.net>"
pkgname=postmarketos-base-systemd
pkgver=80
pkgver=79
pkgrel=0
pkgdesc="Meta package for running postmarketOS with systemd"
url="https://postmarketos.org"
@@ -118,13 +118,13 @@ b7c3e70f5e4d88d6df6a8d58f4bb6af3d3051c5130cf13ad86a491fcbf7a69ae33ba31d663946c35
bd85f6153d857e1aec191b5fc8c8fc0d87125bf0198bef20d1e91ef40ca7e9ed1209a64ae279f98dc8733969ad6e71e29623180ef2203e386023a950d9ce8269 rootfs-usr-lib-systemd-logind.conf
e49972d276441e9da284315bab5f70d8d25ccba5e43d7e7ec6607c34a3d4dfa512f7303d5ce41076819ef24f5dced5acc74001b4d569258269de34da27912466 rootfs-usr-lib-systemd-resolved.conf.d-disable-dnsovertls.conf
93ab180810dbd2a1477f7ea0f0959be90f099272fe5840030a0772771c97a066b70068c476d32c6a4610b8f7b9fc5bfcf1d7a93f071cec026553ac6a3b8b5324 rootfs-usr-lib-systemd-resolved.conf.d-disable-mdns.conf
95b68c150db05e60ab60b299a4182cf6e82394d41e179d1d4c23bce0e0777fa0f4596e150960266cf1181f08af062b12234710db436c6f2be374dfe3a789e696 rootfs-usr-lib-systemd-system-preset-90-base.preset
0e9b203870d0f533a9ef1587e42fe7f83ee8e8cc32893e666f79409e0741101d60564cadbc97e127c75f516a21c08b1283d05ac6f102aa7a6a0f4407d6ea07df rootfs-usr-lib-systemd-system-preset-90-base.preset
bde7052939d1ddde22fe1df86439d3f1b0cd41810911cee7acf26aac08afe1610360cbbd257b3c1a2e5e7409dff27ade8f3a302a38cd1b99c6cc6eed4cc64a78 rootfs-usr-lib-systemd-system--.slice.d-10-oomd-defaults.conf
bde7052939d1ddde22fe1df86439d3f1b0cd41810911cee7acf26aac08afe1610360cbbd257b3c1a2e5e7409dff27ade8f3a302a38cd1b99c6cc6eed4cc64a78 rootfs-usr-lib-systemd-system-system.slice.d-10-oomd-defaults.conf
cedd159b98ce47ee9d03e5f332c4132c7c3eff32135aa7b7993e19c4867d55aff689b418fc549e139c0ea4690f1094e86efcee7a5bc6cd6998ba99821064a917 rootfs-usr-lib-systemd-system-tmp.mount.d-10-min-memory.conf
c5252710d8e2f95f5c216cce17737bb14e112c7f1e0b73f085ac0bc3da5a718bb831cc62c0c62e7e5e99337fdcc5c4ace76c5c11bb0ae1f242181ce6829e4fd3 rootfs-usr-lib-systemd-system-user@.service.d-10-oomd-defaults.conf
4217385ab8e0d0e53a6f6eb2ad0ef5c1ae88cab431c9fdca3528f147241edfefe7eec8f2927670dcf79c6f853d2c8a930782fad7e2a28ef6575b55df115f2f83 rootfs-usr-lib-systemd-user-app.slice.d-10-oomd-defaults.conf
cc59f71e6f5b0089bc893c5d303cbc9a370c6432c507ac5c5e120e866499d817d6e2304c11e17960dddc65bc35575b17b27b25cc2382a5a885fd80b052f3cd1f rootfs-usr-lib-systemd-user-preset-90-base.preset
efe3e6ff21a2b6671b149d354207694d5556ebb33e0f6aacd1b847856fff09cc6b1af221cc5b7fe41aa5b0ace06eea62845d37004b74383222aeda388cd2cd57 rootfs-usr-lib-systemd-user-preset-90-base.preset
15423bfda57c90ab62fe69865ca4072a0aeb83bf77d9c278257e346f4da81843d010b41003c91ae9f3fcb1c67447645e7c19078eea2bf11312051e6ad7523ad1 rootfs-usr-share-mkinitfs-files-extra-01-initramfs-base-systemd.files
6ff3fbd88493e50de5821c6e3db92623b38de52be4e8e967f4f297d8f70e31a86d91f1243b973387b80c8520edcc89a8233db6f234bca22a56ee61a1b4333670 rootfs-etc-apk-commit_hooks.d-postmarketos-base-systemd
605df1f004783d2e0ec5dd99a688bca27502c8c24bc05fb4dc26589b2070b0fbd1cf9bd56e6861d7cda2f8ac8147e7eb040acfd886185c01c8cf9de8b1ce2dcd rootfs-usr-bin-setup-timezone
@@ -38,9 +38,7 @@ enable alsa-state.service
enable tuned.service
enable tuned-ppd.service
enable irqbalance.service
enable usb-signaller.service
enable usb-moded-developer-mode.service
enable unudhcpd@usb0.service
enable usb-moded.service
enable dbus-broker.service
enable avahi-daemon.service
@@ -20,6 +20,8 @@ enable io.github.kolunmi.Bazaar.service
# GNOME
enable gnome-keyring-daemon.service
enable gnome-keyring-daemon.socket
enable oo7-portal.service
enable oo7-daemon.service
enable sm.puri.Chatty-daemon.service
# xfce4
+2 -7
View File
@@ -3,7 +3,7 @@
# Co-Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
maintainer="Clayton Craft <craftyguy@postmarketos.org>"
pkgname=systemd-stage0
pkgver=261_rc4
pkgver=261_rc3
_pkgver="${pkgver/_/-}"
# pkgrel must match systemd!
pkgrel=1
@@ -16,11 +16,6 @@ license="MIT AND GPL-2.0-only AND LGPL-2.1-or-later"
# This is only for bootstrapping other packages, make sure it does not get
# pulled into real installations via !postmarketos-base and !tracedeps
depends="!postmarketos-base"
# !tracedeps is set to prevent abuild from automatically adding `provides`
# based on sonames. Without this, apk would consider systemd-stage0
# a valid provider for packages that depend on systemd. Since we have to use
# !tracedeps, runtime dependencies must be listed manually in depends_*.
depends_libs="!postmarketos-base libucontext"
depends_dev="!postmarketos-base"
depends_doc="!postmarketos-base"
@@ -132,5 +127,5 @@ package() {
}
sha512sums="
b50c3391722bc28e5945666b4271d86926d1bdce4353c0a566a7765e1f0784ee00e6a5096f658c64917a7aeffd135acad15d7189c8e3041dce11e10d2c49d7cb systemd-261_rc4.tar.gz
facbcb7831fb84a38eaee5804d9aa03382486006cdb559010d6d353ad9a3986b516522cde1f0e0808fb49365859f790dd1caed24875a1c9e339e892d09d2cf30 systemd-261_rc3.tar.gz
"
+35 -141
View File
@@ -5,16 +5,9 @@
# Make sure to upgrade systemd-stage0 at the same time! #
#########################################################
# This is also used by upstream systemd CI with mkosi.
# On upstream mkosi build, the following environment variables may be set:
# $_systemd_upstream : set to 1,
# $_meson_extra_configure_options : set to extra meson config options,
# $_meson_builddir : set to the path to the meson build directory ($BUILDDIR in mkosi scripts),
# $_upstream_srcdir : set to the path to the upstream systemd source directory ($SRCDIR in mkosi scripts),
maintainer="Clayton Craft <craftyguy@postmarketos.org>"
pkgname=systemd
pkgver=261_rc4
pkgver=261_rc3
_pkgver="${pkgver/_/-}"
# pkgrel must match systemd-stage0!
pkgrel=1
@@ -26,12 +19,6 @@ license="MIT AND GPL-2.0-only AND LGPL-2.1-or-later"
# crossdirect disabled because of "ERROR: Problem encountered: unable to determine gperf len type"
options="pmb:strict !pmb:crossdirect"
_bootloader="enabled"
case "$CARCH" in
# ppc64le s390x: no EFI support
ppc64le|s390x) _bootloader="disabled" ;;
esac
triggers="$pkgname.trigger=/usr/lib/systemd/catalog:\
/usr/lib/udev/hwdb.d:\
/usr/lib/binfmt.d:\
@@ -45,16 +32,12 @@ triggers="$pkgname.trigger=/usr/lib/systemd/catalog:\
/etc/systemd/user
"
checkdepends="grep postmarketos-release"
# clang: used for bpf compilation. this is the default compiler
# grep: test-kernel-install requires 'grep -G', which is not supported by BusyBox grep.
makedepends="
acl
acl-dev
audit-dev
bash
bash-completion
bpftool
clang
cmake
coreutils
cryptsetup-dev
@@ -62,12 +45,9 @@ makedepends="
elfutils
glib-dev
gperf
grep
kmod-dev
libapparmor-dev
libarchive-dev
libbz2
libbpf-dev
libcap-dev
libfido2-dev
libgcc
@@ -75,7 +55,7 @@ makedepends="
libintl
libiptcdata-dev
libmicrohttpd-dev
libpwquality-dev
libpwquality
libqrencode-dev
libseccomp-dev
libselinux-dev
@@ -94,32 +74,15 @@ makedepends="
py3-lxml
python3-dev
rsync
tpm2-tss-dev
tpm2-tss-esys
tpm2-tss-mu
tpm2-tss-rc
tpm2-tss-tcti-device
tzdata
util-linux-dev
xz-dev
zlib-dev
zstd-dev
dbus-dev
polkit-dev
"
# valgrind-dev: not available on armhf and loongarch64.
case "$CARCH" in
armhf|loongarch64) ;;
*) makedepends="$makedepends valgrind-dev" ;;
esac
# xen-dev: available only on aarch64, armv7, and x86_64.
case "$CARCH" in
aarch64|armv7|x86_64) makedepends="$makedepends xen-dev" ;;
esac
# NOTE: these are dlopened and have to be listed explicitly since abuild cannot detect these dependencies
# See:
# - https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3992
@@ -130,9 +93,7 @@ depends="
cryptsetup-libs
kmod-libs
libapparmor
libarchive
libblkid
libbpf
libcap2
libdw
libelf
@@ -141,7 +102,6 @@ depends="
libgcrypt
libidn2
libmount
libpwquality
libqrencode
libseccomp
libxkbcommon
@@ -149,18 +109,13 @@ depends="
lz4-libs
p11-kit
pcre2
tpm2-tss-esys
tpm2-tss-mu
tpm2-tss-rc
tpm2-tss-tcti-device
xz-libs
zlib
zstd-libs
"
# provides=openrc and openrc-settingsd to prevent those packages
# getting pulled in, as there are some conflicts (dbus)
provides="busctl openrc-settingsd=$pkgver-r$pkgrel systemd-stage0=$pkgver-r$pkgrel"
provides="busctl eudev openrc-settingsd=$pkgver-r$pkgrel systemd-stage0=$pkgver-r$pkgrel"
provider_priority=100
install="$pkgname.pre-install"
@@ -169,7 +124,6 @@ subpackages="
$pkgname-dbg
$pkgname-dev
$pkgname-doc
$pkgname-tests
$pkgname-x11
$pkgname-udevd
@@ -202,33 +156,10 @@ subpackages="
$pkgname-zsh-completion
"
if [ "$_systemd_upstream" = 1 ]; then
if [ "$_bootloader" = enabled ]; then
makedepends="
$makedepends
py3-pefile
py3-pytest
"
subpackages="
$subpackages
$pkgname-boot
$pkgname-ukify
"
_meson_extra_configure_options="
$_meson_extra_configure_options
-Dukify=enabled
"
fi
fi
source="
$pkgname-$pkgver.tar.gz::https://github.com/systemd/systemd/archive/refs/tags/v$_pkgver.tar.gz
source="$pkgname-$pkgver.tar.gz::https://github.com/systemd/systemd/archive/refs/tags/v$_pkgver.tar.gz
wired.network
"
builddir=${_upstream_srcdir:-"$srcdir/$pkgname-$_pkgver"}
_meson_builddir=${_meson_builddir:-build}
builddir="$srcdir/$pkgname-$_pkgver"
_bashcomp="usr/share/bash-completion/completions"
_zshcomp="usr/share/zsh/site-functions"
@@ -252,6 +183,13 @@ _default_zshcomp() {
}
build() {
local bootloader="enabled"
case "$CARCH" in
# ppc64le s390x: no EFI support
# armv7 x86: build broken for 32-bit
armv7|ppc64le|s390x|x86) bootloader="disabled" ;;
esac
# TODO: after usr-merge completion: remove hardcoded "-D*-path" options
abuild-meson \
-Dlibc=musl \
@@ -275,18 +213,17 @@ build() {
-Dpamlibdir=/usr/lib/security \
-Dpamconfdir=/usr/lib/pam.d \
-Dinstall-sysconfdir=false \
-Dinstall-tests=true \
\
-Dsysupdate=enabled \
-Dsysupdated=enabled \
-Dimportd=enabled \
\
-Dbootloader="$_bootloader" \
-Dbootloader="$bootloader" \
-Dinitrd=true \
-Dhibernate=false \
-Dselinux=disabled \
-Dsysvinit-path="" \
-Dukify=disabled \
-Dtpm2=enabled \
\
-Dhomed=disabled \
-Duserdb=false \
@@ -313,17 +250,16 @@ build() {
-Ddns-servers="9.9.9.10#dns10.quad9.net 149.112.112.10#dns10.quad9.net 2620:fe::10#dns10.quad9.net 2620:fe::fe:10#dns10.quad9.net" \
-Dntp-servers="0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 4.pool.ntp.org" \
\
-Dbpf-framework=enabled \
-Dbpf-framework=disabled\
-Dvmlinux-h=provided \
-Dvmlinux-h-path="$(find /usr/src -path "/usr/src/linux-headers-*-stable/vmlinux.h" | sort -V | tail -n1)" \
$_meson_extra_configure_options \
$_meson_builddir .
meson compile ${JOBS:+-j ${JOBS}} -C $_meson_builddir
build .
meson compile ${JOBS:+-j ${JOBS}} -C build
}
check() {
case "$CARCH" in
x86_64) meson test --print-errorlogs --quiet --no-stdsplit -C $_meson_builddir ;;
x86_64) meson test -C build ;;
*)
echo "*** NOTE: Skipping tests for archs that might use pmb:crossdirect/qemu-user ***" ;;
esac
@@ -339,7 +275,8 @@ package() {
!openrc
"
DESTDIR="$pkgdir" meson install --no-rebuild -C $_meson_builddir
DESTDIR="$pkgdir" meson install --no-rebuild -C build
# NOTE: Uncomment to print dlopened dependencies and crash the build:
# _dump_dlopen_metadata "$pkgdir" | _extract_sonames | _resolve_packages; exit 1
@@ -350,14 +287,12 @@ package() {
echo 'disable *' > "$pkgdir"/usr/lib/systemd/"$type"-preset/99-default.preset
done
if [ "$_systemd_upstream" != 1 ]; then
# initramfs hardcodes /sbin/init
mkdir -p "$pkgdir"/sbin
ln -sf "../usr/lib/systemd/systemd" "$pkgdir"/sbin/init
# initramfs hardcodes /sbin/init
mkdir -p "$pkgdir"/sbin
ln -sf "../usr/lib/systemd/systemd" "$pkgdir"/sbin/init
# this stuff is packaged in Alpine aports under "systemd-boot"
rm -rf "$pkgdir"/usr/lib/systemd/boot
fi
# this stuff is packaged in Alpine aports under "systemd-boot"
rm -rf "$pkgdir"/usr/lib/systemd/boot
}
udevd() {
@@ -369,7 +304,7 @@ udevd() {
depends="kmod-libs"
# NOTE: should only be udev, but packages hardcode eudev
provides="eudev=$pkgver-r$pkgrel udev=$pkgver-r$pkgrel eudev-libs=$pkgver-r$pkgrel"
provides="eudev udev eudev-libs"
provider_priority=100
amove usr/bin/udevadm
@@ -381,16 +316,11 @@ udevd() {
amove usr/lib/udev
# Install symlinks to be more like eudev
if [ "$_systemd_upstream" = 1 ]; then
mkdir -p "$subpkgdir"/usr/sbin
ln -sf ../bin/udevadm "$subpkgdir"/usr/sbin/udevd
else
# FIXME: After usr merge, convert these into relative symlinks to support
# installing this package into an arbitrary directory
mkdir -p "$subpkgdir"/sbin "$subpkgdir"/bin
ln -sf /usr/lib/systemd/systemd-udevd "$subpkgdir"/sbin/udevd
ln -sf /usr/lib/systemd/systemd-udevd "$subpkgdir"/bin/udevadm
fi
# FIXME: After usr merge, convert these into relative symlinks to support
# installing this package into an arbitrary directory
mkdir -p "$subpkgdir"/sbin "$subpkgdir"/bin
ln -sf /usr/lib/systemd/systemd-udevd "$subpkgdir"/sbin/udevd
ln -sf /usr/lib/systemd/systemd-udevd "$subpkgdir"/bin/udevadm
}
udevd_bcomp() {
@@ -490,7 +420,7 @@ logind() {
$pkgname=$pkgver-r$pkgrel
dbus
shadow
"
"
provides="elogind"
provider_priority=100
@@ -518,6 +448,7 @@ logind_zcomp() {
journald() {
pkgdesc="systemd Journal"
# is a dependency of systemd
amove usr/bin/journalctl
amove usr/lib/systemd/system/sockets.target.wants/systemd-journal*
@@ -536,12 +467,6 @@ journald_zcomp() {
_default_zshcomp _journalctl
}
tests() {
depends="$pkgname=$pkgver-r$pkgrel"
amove usr/lib/systemd/tests
}
x11() {
pkgdesc="systemd x11"
install_if="$pkgname=$pkgver-r$pkgrel xorg-server-common"
@@ -550,7 +475,7 @@ x11() {
}
dev() {
provides="eudev-dev=$pkgver-r$pkgrel udev-dev=$pkgver-r$pkgrel systemd-stage0-dev=$pkgver-r$pkgrel"
provides="eudev-dev udev-dev systemd-stage0-dev=$pkgver-r$pkgrel"
provider_priority=100
default_dev
@@ -562,37 +487,6 @@ libs() {
default_libs
}
boot() {
# Currently, this is only used in the upstream systemd CI with mkosi.
pkgdesc="systemd's EFI boot manager"
provides="efistub"
provider_priority=200
amove usr/lib/systemd/boot/efi
}
ukify() {
# Currently, this is only used in the upstream systemd CI with mkosi.
pkgdesc="Create unified kernel images (UKIs)"
provides="ukify"
provider_priority=200
depends="
binutils
py3-cryptography
py3-pefile
py3-zstandard
python3
systemd-boot=$pkgver-r$pkgrel
"
amove usr/bin/ukify
amove usr/lib/kernel/install.d/60-ukify.install
amove usr/lib/systemd/boot/hwids
amove usr/lib/systemd/ukify
}
# Scan for dlopened dependencies
_dump_dlopen_metadata() {
mkdir -p "$pkgbasedir/.dlopen-metadata-tmp"
@@ -635,6 +529,6 @@ _resolve_packages() {
sha512sums="
b50c3391722bc28e5945666b4271d86926d1bdce4353c0a566a7765e1f0784ee00e6a5096f658c64917a7aeffd135acad15d7189c8e3041dce11e10d2c49d7cb systemd-261_rc4.tar.gz
facbcb7831fb84a38eaee5804d9aa03382486006cdb559010d6d353ad9a3986b516522cde1f0e0808fb49365859f790dd1caed24875a1c9e339e892d09d2cf30 systemd-261_rc3.tar.gz
81c897fed8a3fbfb67ec591b2398a5d65e4af1b3ef379376c157c98d71f085b707f8ebc896d5571a94f99f8fc84fd6b43e3b879ca9b0d57fc6c4596034c7a777 wired.network
"
+2 -9
View File
@@ -119,17 +119,8 @@ NET_NS = "y"
PID_NS = "y"
SECURITY = "y"
SECURITYFS = "y"
SECURITY_PATH = "y"
USER_NS = "y"
UTS_NS = "y"
DEBUG_INFO_BTF = "y"
DEBUG_INFO_BTF_MODULES = "y"
DEBUG_INFO_DWARF5 = "y"
DEBUG_INFO_REDUCED = "n"
["category:default".">=5.14.0"."loongarch64 ppc64le x86 x86_64"]
# ARM and riscv64 lack CFI+dynamic ftrace support, see:
# https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4411#note_544158
DYNAMIC_FTRACE_WITH_DIRECT_CALLS = "y"
["category:netmount".">=0.0.0"."all"]
CACHEFILES = "m"
@@ -696,6 +687,8 @@ RUST = "y"
["category:rust".">=6.9.0"."aarch64"]
RUST = "y"
["category:rust".">=0.0.0"."aarch64 loongarch64 x86_64"]
DEBUG_INFO_BTF = "n" # Conflicts with LTO when Rust is enabled
DEBUG_INFO_BTF_MODULES = "n" # Conflicts with LTO when Rust is enabled
MODVERSIONS = "n"
# SELinux support, separate from hardening to keep it opt-in for now
+7 -28
View File
@@ -2,8 +2,8 @@
# Co-Maintainer: Achill Gilgenast <achill@achill.org>
maintainer="Stefan Hansson <newbyte@postmarketos.org>"
pkgname=postmarketos-base-ui-gnome
pkgver=11
pkgrel=2
pkgver=12
pkgrel=0
pkgdesc="Meta package for shared configuration for GNOME-based UIs"
url="https://postmarketos.org"
arch="noarch"
@@ -15,7 +15,7 @@ depends="
glycin-thumbnailer
gnome-backgrounds
gnome-bluetooth
gnome-keyring
oo7
gst-thumbnailers
iio-sensor-proxy
modemmanager
@@ -38,13 +38,9 @@ options="!check"
subpackages="
$pkgname-duranium
$pkgname-openrc
gnome-app-provider-gnome-software:gnome_software
gnome-app-provider-bazaar:bazaar
"
install="$pkgname-openrc.post-install $pkgname-openrc.post-upgrade"
_pmb_recommends="
cups
decibels
firefox-esr
flatpak
@@ -56,6 +52,8 @@ _pmb_recommends="
gnome-console
gnome-contacts
gnome-maps
gnome-software
gnome-software-plugin-apk
gnome-text-editor
gnome-user-share
gnome-weather
@@ -74,14 +72,13 @@ _pmb_recommends="
"
package() {
depends="$depends gnome-app-provider"
install -Dm644 -t "$pkgdir"/usr/share/glib-2.0/schemas \
"$srcdir"/*.override
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="
apk-polkit-rs-openrc
elogind
@@ -99,30 +96,12 @@ openrc() {
duranium() {
pkgdesc="$pkgdesc (Duranium)"
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-duranium"
depends="gnome-app-provider-bazaar"
depends="gnome-software-plugin-sysupdate"
install -Dm644 "$srcdir"/50-duranium.conf \
-t "$subpkgdir"/usr/lib/kernel-cmdline.d
}
gnome_software() {
pkgdesc="Provider that installs GNOME Software"
provides="gnome-app-provider"
provider_priority=100
depends="gnome-software gnome-software-plugin-apk"
mkdir -p "$subpkgdir"
}
bazaar() {
pkgdesc="Provider that installs Bazaar"
provides="gnome-app-provider"
provider_priority=90
depends="bazaar"
mkdir -p "$subpkgdir"
}
sha512sums="
39b5bb5e669756e2a308ab61b7901e76a9eff9e37c82d50bd9ff77800e72c19b580256f617a2ad0949c1746ab4e163e5ce009c134ab77f8a32f758b1b963862e 00_postmarketos-base-ui-gnome.gschema.override
c255b0914043f09ef5cc56d50c26e9c8885af128abc3ed5494606bd304eefdeb761ed3bc2d5f86f7c3bfb16f7fc21ca1a6d954c8d21e73e7a5e7612a84a78b7c 10_postmarketos-green-accent.gschema.override
@@ -32,7 +32,6 @@ depends="$depends
"
_pmb_recommends="
breeze-gtk
cups
discover
flatpak
kde-gtk-config
+10 -1
View File
@@ -1,6 +1,6 @@
maintainer="Clayton Craft <clayton@craftyguy.net>"
pkgname=postmarketos-base-ui
pkgver=50
pkgver=49
pkgrel=0
pkgdesc="Meta package for minimal postmarketOS UI base"
url="https://postmarketos.org"
@@ -32,6 +32,7 @@ subpackages="
$pkgname-bluez-obexd:obexd
$pkgname-elogind
$pkgname-flatpak
$pkgname-flatpak-systemd:flatpak_systemd
$pkgname-networkmanager
$pkgname-modemmanager
$pkgname-modemmanager-systemd:modemmanager_systemd
@@ -81,6 +82,7 @@ _source644="
usr/lib/NetworkManager/conf.d/50-iwd.conf
usr/lib/NetworkManager/conf.d/50-random-mac.conf
usr/lib/NetworkManager/conf.d/50-use-dnsmasq.conf
usr/lib/systemd/system/flatpak-system-helper.service.d/wait-for-ntp.conf
usr/lib/systemd/system/ModemManager.service.d/quick-suspend-resume.conf
usr/lib/systemd/system/iio-sensor-proxy.service.d/shutdown.conf
usr/lib/udev/rules.d/50-udmabuf.rules
@@ -293,6 +295,12 @@ flatpak() {
amove usr/share/flatpak/remotes.d/flathub.flatpakrepo
}
flatpak_systemd() {
# note: can't use default_systemd since it slurps up units from other subpkgs
install_if="$pkgname-flatpak=$pkgver-r$pkgrel systemd"
amove usr/lib/systemd/system/flatpak-system-helper.service.d/wait-for-ntp.conf
}
modemmanager() {
install_if="$pkgname=$pkgver-r$pkgrel modemmanager"
mkdir -p "$subpkgdir"
@@ -333,6 +341,7 @@ cac604e25c46e695dd30bd5a10cfd2d69595fcc3bc290096ac94b76b10834d591ea6576afb79c46b
439615745d5be0d1ab6801cfbf960a31b12da30bf5df64ba2914ff32dae9e650595d7f96e66f5dff6308f092de1f746277ea7f4e701888a22571f7c119b7bf0d rootfs-usr-lib-NetworkManager-conf.d-50-iwd.conf
d4b4c4fed2dee7266f6a87ae266691377593014943e2953e4cd87a59f3110f25bfb5f3f866cc843519f628695e4df7602bfdcd3d79f2c2cd6e8256535c33b038 rootfs-usr-lib-NetworkManager-conf.d-50-random-mac.conf
900554534191fa0797064d35350934cdd8af59f30f0ae7d8ec63c2e11c44a16c643d3024b6543940488cd590fec1d392548bcaacc3be88cddff90f69b17ece07 rootfs-usr-lib-NetworkManager-conf.d-50-use-dnsmasq.conf
4f1e056e3bf6dcb9918fc35a87007304dcd16f3d2e1a920840455151f4f09001dace52097d0886a12d23c28b1646ea4fe907b6e65f54cfd22276201ba2da2fb9 rootfs-usr-lib-systemd-system-flatpak-system-helper.service.d-wait-for-ntp.conf
cc86775a7820eb683e67df7d23ebae9d72699a643ff1452c71daf38ac6c39a84fd1686e67351ab0a2c582f9fc0374410383e3a32bd378cf11a8fb6033fde35ac rootfs-usr-lib-systemd-system-ModemManager.service.d-quick-suspend-resume.conf
087b9e967f6ffeaeb1fd6c5860bb07d0b8c2ce2c1b636d73e989cc9f3c8c6a60dc9552ec5ff13a2bce6804c3f5e8876d4b41a07770f06f6cee0fa37a54f996b4 rootfs-usr-lib-systemd-system-iio-sensor-proxy.service.d-shutdown.conf
9431dd37801261002f2ac8a0c30483994897adaf7cb31e80fcb99b7354dbe3e10d79162a2f2baefc5d091bb192ff680f274d6481bb198958d08918529c64e26f rootfs-usr-lib-udev-rules.d-50-udmabuf.rules
Loaded 100 of 131 files, more files were not shown because too many files have changed in this diff. Show more