File: 0004-systemd-service-file-refers-to-obsolete-bindto.patch

package info (click to toggle)
rear 2.9%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,576 kB
  • sloc: sh: 25,557; makefile: 351; xml: 290
file content (20 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: The systemd service file refers to the obsolete BindTo= option
 The BindTo= option has been deprecated in favour 
 of BindsTo= which should be used instead

Author: Karsten Schöke <karsten.schoeke@geobasis-bb.de>
Bug: https://github.com/rear/rear/issues/3537 
Forwarded: not-needed
Last-Update: 2025-11-24

--- rear-2.9+dfsg.orig/usr/share/rear/skel/default/usr/lib/systemd/system/serial-getty@.service
+++ rear-2.9+dfsg/usr/share/rear/skel/default/usr/lib/systemd/system/serial-getty@.service
@@ -2,7 +2,7 @@
 #
 [Unit]
 Description=Serial Getty on %I
-BindTo=dev-%i.device
+BindsTo=dev-%i.device
 After=dev-%i.device
 
 # We must wait for ReaR boot script to finish.