summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0011-mdcheck-fix-empty-spaces-in-timer-unit-files.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:55:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:55:45 +0000
commit2c958b35ba11c61dd2b7416d2f6067655512d2b9 (patch)
tree4beee0533c06469c7d12d2493f59b0add009c75e /debian/patches/debian/0011-mdcheck-fix-empty-spaces-in-timer-unit-files.patch
parentAdding upstream version 4.3. (diff)
downloadmdadm-2c958b35ba11c61dd2b7416d2f6067655512d2b9.tar.xz
mdadm-2c958b35ba11c61dd2b7416d2f6067655512d2b9.zip
Adding debian version 4.3-1.debian/4.3-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian/0011-mdcheck-fix-empty-spaces-in-timer-unit-files.patch')
-rw-r--r--debian/patches/debian/0011-mdcheck-fix-empty-spaces-in-timer-unit-files.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/debian/0011-mdcheck-fix-empty-spaces-in-timer-unit-files.patch b/debian/patches/debian/0011-mdcheck-fix-empty-spaces-in-timer-unit-files.patch
new file mode 100644
index 0000000..019d993
--- /dev/null
+++ b/debian/patches/debian/0011-mdcheck-fix-empty-spaces-in-timer-unit-files.patch
@@ -0,0 +1,34 @@
+Author: Eric Desrochers <eric.desrochers@canonical.com>
+Description: mdcheck fix empty spaces in timer unit files (LP: #1852747).
+ dh_installsystemd is failling thus FBTFS because of the spaces
+ in the systemd unit timer files directive.
+
+diff -Naurp mdadm.orig/systemd/mdcheck_continue.timer mdadm/systemd/mdcheck_continue.timer
+--- mdadm.orig/systemd/mdcheck_continue.timer
++++ mdadm/systemd/mdcheck_continue.timer
+@@ -14,4 +14,4 @@ RandomizedDelaySec=12h
+ Persistent=true
+
+ [Install]
+-WantedBy= mdmonitor.service
++WantedBy=mdmonitor.service
+diff -Naurp mdadm.orig/systemd/mdcheck_start.timer mdadm/systemd/mdcheck_start.timer
+--- mdadm.orig/systemd/mdcheck_start.timer
++++ mdadm/systemd/mdcheck_start.timer
+@@ -14,5 +14,5 @@ RandomizedDelaySec=24h
+ Persistent=true
+
+ [Install]
+-WantedBy= mdmonitor.service
+-Also= mdcheck_continue.timer
++WantedBy=mdmonitor.service
++Also=mdcheck_continue.timer
+diff -Naurp mdadm.orig/systemd/mdmonitor-oneshot.timer mdadm/systemd/mdmonitor-oneshot.timer
+--- mdadm.orig/systemd/mdmonitor-oneshot.timer
++++ mdadm/systemd/mdmonitor-oneshot.timer
+@@ -14,4 +14,4 @@ RandomizedDelaySec=24h
+ Persistent=true
+
+ [Install]
+-WantedBy= mdmonitor.service
++WantedBy=mdmonitor.service