Phosh image: GDM's login-screen schema, so Settings can enrol a finger
Some checks failed
image / image (push) Failing after 3h23m10s

GNOME Settings 51 shows the Users page's "Fingerprint Login" row only when
GDM's org.gnome.login-screen schema exists and its
enable-fingerprint-authentication key is true. The Phosh image logs in
through greetd/phrog, so without GDM the row never appeared and no finger
could be enrolled from the GUI; Settings never asked fingerprintd.

fp6-login-screen-schema installs GDM's schema file, unchanged, from
Alpine's gdm-48.0-r8, and nothing else of GDM. It is the only key Settings
reads, and nothing else on the image looks the schema up. replaces="gdm"
keeps a single copy if GDM is ever installed as well (tested in alpine:edge
in both orders; glib-compile-schemas stays clean). Added to the Phosh
image's packages.

Tested on the dev phone: the row appears, a thumb enrolled through
Settings' dialog, and it unlocks the lock screen.
This commit is contained in:
Jorijn van der Graaf 2026-09-23 19:55:40 +02:00
commit 8e4cc1d777
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
3 changed files with 170 additions and 2 deletions

View file

@ -33,13 +33,14 @@ REGISTRY=https://forgejo.catcrafts.net/api/packages/Catcrafts/alpine/edge/fp6
# FP6IMG_UI: which postmarketOS UI the image boots into. plasma-mobile (the
# default) gets imsd-dialerd from the imsd package itself; phosh gets the
# opt-in imsd-ofono subpackage (imsd-ofonod + the GNOME Calls plugin
# override) on top. Everything else in the package set is UI-agnostic. The
# override) and fp6-login-screen-schema (GNOME Settings' fingerprint row) on
# top. Everything else in the package set is UI-agnostic. The
# archive is named after it: fp6-img.tar.xz for plasma-mobile,
# fp6-img-<ui>.tar.xz otherwise, so one release can carry both.
FP6IMG_UI=${FP6IMG_UI:-plasma-mobile}
case "$FP6IMG_UI" in
plasma-mobile) UI_PACKAGES=; IMG_NAME=fp6-img ;;
phosh) UI_PACKAGES=,imsd-ofono; IMG_NAME=fp6-img-phosh ;;
phosh) UI_PACKAGES=,imsd-ofono,fp6-login-screen-schema; IMG_NAME=fp6-img-phosh ;;
*) echo "FP6IMG_UI=$FP6IMG_UI: expected plasma-mobile or phosh" >&2; exit 1 ;;
esac
PMAPORTS_REPO=https://gitlab.postmarketos.org/postmarketOS/pmaports.git
@ -159,6 +160,7 @@ cp -r aports/device/linux-postmarketos-qcom-milos "$WORK/pmaports/device/testing
cp -r aports/device/soc-fairphone-fp6-audio "$WORK/pmaports/device/"
cp -r aports/device/fp6-vendor-blobs "$WORK/pmaports/device/"
cp -r aports/device/callaudioshim "$WORK/pmaports/device/"
cp -r aports/device/fp6-login-screen-schema "$WORK/pmaports/device/"
cp -r aports/device/fp6-device-tweaks "$WORK/pmaports/device/"
cp -r aports/device/fp6-charging-mode "$WORK/pmaports/device/"
cp -r aports/device/catcrafts-fp6-repo "$WORK/pmaports/device/"