about summary refs log tree commit diff
path: root/debian/patches/03-systemd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/03-systemd.patch')
-rw-r--r--debian/patches/03-systemd.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/03-systemd.patch b/debian/patches/03-systemd.patch
new file mode 100644
index 00000000..2597d698
--- /dev/null
+++ b/debian/patches/03-systemd.patch
@@ -0,0 +1,14 @@
+Description: Debian specific tweaks for NetworkManager systemd service file
+ - Do not install NetworkManager into the network.target, as this will lead to a
+   dependency loop (NetworkManager is installed in /usr).
+Author: Michael Biebl <biebl@debian.org>
+--- a/data/NetworkManager.service.in
++++ b/data/NetworkManager.service.in
+@@ -1,7 +1,5 @@
+ [Unit]
+ Description=Network Manager
+-Wants=network.target
+-Before=network.target
+ 
+ [Service]
+ Type=dbus