From 013f3d0c509fef8ebbad4c1542d2f0ba819b6488 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 9 Feb 2026 11:34:34 +0100 Subject: Do not ship initrd specific services Those systemd services are meant for the initrd but are not actually used by dracut (yet). They conflict with the main services and can lead to potentially confusing error messages. So remove them for now. Closes: #1117732 --- debian/rules | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian/rules') 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/ -- cgit 1.3.0-6-gf8a5