about summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index cf86f593..9d7a7782 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,6 +59,14 @@ override_dh_auto_configure:
 		-Dnbft=false \
 		-Dofono=true
 
+execute_after_dh_auto_install:
+	# Those initrd specific services are not actually used by dracut and
+	# conflict with the main services, so remove them for now.
+	# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117732
+	rm -f debian/tmp/usr/lib/systemd/system/NetworkManager-config-initrd.service
+	rm -f debian/tmp/usr/lib/systemd/system/NetworkManager-wait-online-initrd.service
+	rm -f debian/tmp/usr/lib/systemd/system/NetworkManager-initrd.service
+
 override_dh_makeshlibs:
 	dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/NetworkManager/ -X/usr/lib/pppd/