about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-06-18 19:01:47 +0200
committerMichael Biebl <biebl@debian.org>2017-06-18 21:14:14 +0200
commit79d4374b8ab2c1892746a51f7e0301f6a9c6fc22 (patch)
treebbef6604a66442a6dd7bf169ecaaec6b1e898bfa
parentcbea5ba7696f81a8700961bb1b290910e383b566 (diff)
Fix creation of network-manager.service symlink
Explicitly specify the network-manager package when creating the
symlink. Otherwise the symlink is created for the wrong package when
doing arch:all builds where the first package is not network-manager.
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 611c3327..387f3945 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,7 +61,8 @@ override_dh_strip:
 	dh_strip --dbgsym-migration='network-manager-dbg (<< 1.1.91-2~)'
 
 override_dh_systemd_start:
-	dh_link lib/systemd/system/NetworkManager.service \
+	dh_link -pnetwork-manager \
+		lib/systemd/system/NetworkManager.service \
 		lib/systemd/system/network-manager.service
 	dh_systemd_start -pnetwork-manager --no-also NetworkManager.service