Mask runtime PackageKit notification hook in GNOME extension staging

This commit is contained in:
Pavel Isaev 2026-11-06 14:02:52 +03:00
parent 30c097794b
commit afd24bfc52
2 changed files with 6 additions and 0 deletions

View file

@ -63,6 +63,7 @@ Observed integration failures and permanent corrections:
| Copy loses setuid/setgid or capabilities | Apply ownership before mode/xattrs; verify copied identity | Privileged-mode regression passed; real composition rerun pending |
| Installed GNOME fails package integrity for two Core-owned configuration files | Keep Core bytes unchanged; provide separate GNOME configs, select them for composition and Host Extension initramfs; run self-check before image capture | Cycle 20261105T233849Z rejected; corrected full cycle pending |
| Pre-capture self-check loads runtime pacman trust/sandbox and sees checkout-local mtimes | Temporarily use local-DB-only pacman config in staging, normalize `/usr` timestamps to deployment epoch, restore runtime config before capture | Real staging self-check: 41 files, 0 altered; installed acceptance pending |
| GNOME Host Extension fails on PackageKit D-Bus notification in staging | Purpose supplies `/usr/etc/pacman.d/hooks/90-packagekit-refresh.hook -> /dev/null`, matching this profile's masked PackageKit daemon and Archipelago update adapter | Cycle 20261106T102335Z passed login/integrity then rejected nano; corrected Purpose acceptance pending |
Capture checks the copied object against the recorded source identity before
commit. Compose validates input identities and checks each copied output. Keep

View file

@ -1,4 +1,9 @@
# Packaged GNOME integration assets for the experimental desktop profile.
# PackageKit's upstream ALPM hook only sends a runtime D-Bus notification.
# This profile masks PackageKit and updates through Archipelago; its hook must
# not attempt to contact a daemon in Host Extension staging.
mkdir -p "$pkg/runtime/usr/etc/pacman.d/hooks"
ln -s /dev/null "$pkg/runtime/usr/etc/pacman.d/hooks/90-packagekit-refresh.hook"
sed -e 's/HOOKS=(base systemd /HOOKS=(base systemd plymouth /' \
-e 's/modconf block/modconf kms keyboard sd-vconsole block/' "$pkg/runtime/usr/lib/archipelago/mkinitcpio-core.conf" > "$pkg/runtime/usr/lib/archipelago/mkinitcpio-gnome.conf"
printf 'plymouth\n' > "$pkg/runtime/usr/lib/archipelago/desktop-boot"