[neon/snap-packaging/plasma-core-desktop] hooks: Make it oneshot so as to not run in parallel to kwin startup
Kevin Ottens
null at kde.org
Wed May 29 14:20:38 BST 2024
Git commit 10f1348932968d1feb71a3285db69c48de3bc705 by Kevin Ottens.
Committed on 29/05/2024 at 11:51.
Pushed by ervin into branch 'master'.
Make it oneshot so as to not run in parallel to kwin startup
This was creating a race condition so kwin itself didn't have the new
environment and some of the earlier process as well.
M +1 -0 hooks/006-zzz-add-plasma-session.chroot
https://invent.kde.org/neon/snap-packaging/plasma-core-desktop/-/commit/10f1348932968d1feb71a3285db69c48de3bc705
diff --git a/hooks/006-zzz-add-plasma-session.chroot b/hooks/006-zzz-add-plasma-session.chroot
index 0e2a862..df49c52 100755
--- a/hooks/006-zzz-add-plasma-session.chroot
+++ b/hooks/006-zzz-add-plasma-session.chroot
@@ -77,6 +77,7 @@ Before=plasma-kwin_wayland.service
[Service]
ExecStart=dbus-update-activation-environment --systemd SNAP=""
+Type=oneshot
Slice=session.slice
EOF
More information about the Neon-commits
mailing list