diff options
| author | Michael Biebl <biebl@debian.org> | 2026-02-09 11:34:34 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2026-02-09 12:07:53 +0100 |
| commit | 013f3d0c509fef8ebbad4c1542d2f0ba819b6488 (patch) | |
| tree | f70abd7545463a6416cb763ab7624fb11bd96726 | |
| parent | 71019fe74df4a911051b58c08f6b88d51567bb9b (diff) | |
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
| -rwxr-xr-x | debian/rules | 8 |
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/ |