Package: multipath-tools / 0.8.5-1

0005-udebs-disable-systemd.patch Patch series | download
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
From: Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>
Date: Wed, 23 Dec 2020 22:52:02 +0000
Subject: udebs: disable systemd

D-I does not support systemd. So our udebs need to be systemd free
---
 Makefile.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile.inc b/Makefile.inc
index d816eab..9062d3d 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -35,7 +35,8 @@ ifndef RUN
 	endif
 endif
 
-ifndef SYSTEMD
+ifeq ($(USE_SYSTEMD), 1)
+	ifndef SYSTEMD
 	ifeq ($(shell pkg-config --modversion libsystemd >/dev/null 2>&1 && echo 1), 1)
 		SYSTEMD = $(shell pkg-config --modversion libsystemd | awk '{print $$1}')
 	else
@@ -44,6 +45,7 @@ ifndef SYSTEMD
 				sed -n 's/systemd \([0-9]*\).*/\1/p')
 		endif
 	endif
+	endif
 endif
 
 ifndef SYSTEMDPATH