[neon/snap-packaging/plasma-core-desktop] hooks: Force the old forking code path to exec new applications
Kevin Ottens
null at kde.org
Wed May 29 14:20:38 BST 2024
Git commit dc73a6cd1d501783b3322c0914f8f617e330df22 by Kevin Ottens.
Committed on 29/05/2024 at 11:51.
Pushed by ervin into branch 'master'.
Force the old forking code path to exec new applications
This way the session can work without using StartTransientUnit on
systemd which is forbidden in the confinement (this would allow
executing pretty much anything outside of confinement).
M +1 -1 hooks/006-zzz-add-plasma-session.chroot
https://invent.kde.org/neon/snap-packaging/plasma-core-desktop/-/commit/dc73a6cd1d501783b3322c0914f8f617e330df22
diff --git a/hooks/006-zzz-add-plasma-session.chroot b/hooks/006-zzz-add-plasma-session.chroot
index df49c52..ffd5cae 100755
--- a/hooks/006-zzz-add-plasma-session.chroot
+++ b/hooks/006-zzz-add-plasma-session.chroot
@@ -76,7 +76,7 @@ PartOf=graphical-session.target
Before=plasma-kwin_wayland.service
[Service]
-ExecStart=dbus-update-activation-environment --systemd SNAP=""
+ExecStart=dbus-update-activation-environment --systemd SNAP="" _KDE_APPLICATIONS_AS_FORKING=1
Type=oneshot
Slice=session.slice
EOF
More information about the Neon-commits
mailing list