1
0
Fork 0

Adding rediffed patch from ubuntu to fix empty spaces in timer unit files.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-14 06:03:22 +01:00
parent 2839baeae2
commit 71cc93f9c7
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 35 additions and 0 deletions

View file

@ -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

View file

@ -8,3 +8,4 @@ debian/0007-no-Werror.patch
debian/0008-test-installed.patch
debian/0009-randomize-timers.patch
debian/0010-systemd-honor-debconf-daily-scan.patch
debian/0011-mdcheck-fix-empty-spaces-in-timer-unit-files.patch