Ubuntu Pastebin

Paste from caribou at Wed, 15 Jun 2016 13:34:52 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
diff -Nru multipath-tools-0.5.0+git1.656f8865/debian/changelog multipath-tools-0.5.0+git1.656f8865/debian/changelog
--- multipath-tools-0.5.0+git1.656f8865/debian/changelog	2016-04-05 05:49:29.000000000 +0300
+++ multipath-tools-0.5.0+git1.656f8865/debian/changelog	2016-06-15 16:25:25.000000000 +0300
@@ -1,3 +1,11 @@
+multipath-tools (0.5.0+git1.656f8865-5ubuntu3) yakkety; urgency=medium
+
+
+  * [7d81d4f] Call clean target before rebuilding with systemd support.
+    Also Call systemd in debian/rules. (LP: #???????)
+
+ -- Louis Bouchard <louis.bouchard@ubuntu.com>  Wed, 15 Jun 2016 16:11:29 +0300
+
 multipath-tools (0.5.0+git1.656f8865-5ubuntu2) xenial; urgency=medium
 
   [ Mauricio Faria de Oliveira ]
diff -Nru multipath-tools-0.5.0+git1.656f8865/debian/rules multipath-tools-0.5.0+git1.656f8865/debian/rules
--- multipath-tools-0.5.0+git1.656f8865/debian/rules	2016-04-05 05:36:42.000000000 +0300
+++ multipath-tools-0.5.0+git1.656f8865/debian/rules	2016-06-15 16:34:20.000000000 +0300
@@ -29,7 +29,7 @@
 build-arch: build-multipath-udeb-stamp build-stamp
 build-indep: 
 
-build-stamp:
+build-stamp: clean-tree
 	dh_testdir
 	
 	[ ! -f kpartx/kpartx.rules ] || cp kpartx/kpartx.rules debian/kpartx.udev
@@ -53,7 +53,7 @@
 clean-tree:
 	$(MAKE) clean
 
-clean: clean-tree
+clean:
 	dh_testdir
 	rm -f build-stamp build-multipath-udeb-stamp
 	dh_prep
@@ -103,10 +103,14 @@
 	dh_installdocs
 	dh_installexamples
 	dh_lintian
+	dh_systemd_enable -pmultipath-tools multipathd.service
 	dh_installinit -pmultipath-tools
 	dh_installinit -pmultipath-tools --name=multipath-tools-boot --no-start -- start 21 S .
 	dh_installudev -pkpartx --priority=95
 	dh_installudev -pmultipath-tools --name=dm-mpath-lvm --priority=56
+	dh_link lib/systemd/system/multipathd.service \
+		lib/systemd/system/multipath-tools.service
+	dh_systemd_start -pmultipath-tools multipathd.service
 	dh_installdebconf -pmultipath-tools-boot
 	dh_installman
 	dh_makeshlibs --add-udeb=multipath-udeb
Download as text