[neon/backports-jammy/packagekit/Neon/release] debian/patches: add patch to call restart on sddm update

Jonathan Esk-Riddell null at kde.org
Fri Jun 30 15:29:03 BST 2023


Git commit f4e02bd3140dd518790cb41a5cee5de33d2f8b32 by Jonathan Esk-Riddell.
Committed on 30/06/2023 at 14:28.
Pushed by jriddell into branch 'Neon/release'.

add patch to call restart on sddm update

A  +14   -0    debian/patches/restart-on-sddm
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/backports-jammy/packagekit/-/commit/f4e02bd3140dd518790cb41a5cee5de33d2f8b32

diff --git a/debian/patches/restart-on-sddm b/debian/patches/restart-on-sddm
new file mode 100644
index 00000000..e57326c2
--- /dev/null
+++ b/debian/patches/restart-on-sddm
@@ -0,0 +1,14 @@
+Index: PackageKit-1.2.6/backends/apt/apt-utils.cpp
+===================================================================
+--- PackageKit-1.2.6.orig/backends/apt/apt-utils.cpp
++++ PackageKit-1.2.6/backends/apt/apt-utils.cpp
+@@ -387,7 +387,8 @@ bool utilRestartRequired(const string &p
+         starts_with(packageName, "nvidia-") ||
+         packageName == "libc6" ||
+         packageName == "dbus" ||
+-        packageName == "dbus-broker") {
++        packageName == "dbus-broker" ||
++        packageName == "sddm") {
+         return true;
+     }
+     return false;
diff --git a/debian/patches/series b/debian/patches/series
index 77ea9441..90e2f399 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+restart-on-sddm
 policy.diff
 01_shutdown-daemon-on-idle.patch
 02_apt-better-repo-names.patch


More information about the Neon-commits mailing list