Map-rcS.d-init-script-dependencies-to-their-systemd-.patch 1.12 KB
Newer Older
1
2
3
4
5
From: Jon Severinsson <jon@severinsson.net>
Date: Fri, 11 Jul 2014 02:15:37 +0200
Subject: Map rcS.d init script dependencies to their systemd equivalent.

---
6
7
 src/sysv-generator/sysv-generator.c | 7 +++++++
 1 file changed, 7 insertions(+)
8

9
10
11
12
13
--- a/src/sysv-generator/sysv-generator.c
+++ b/src/sysv-generator/sysv-generator.c
@@ -248,8 +248,15 @@
                 "named",                SPECIAL_NSS_LOOKUP_TARGET,
                 "portmap",              SPECIAL_RPCBIND_TARGET,
14
                 "remote_fs",            SPECIAL_REMOTE_FS_TARGET,
15
16
-                "syslog",               NULL,
+                "syslog",               "systemd-journald-dev-log.socket",
17
18
19
20
21
22
23
                 "time",                 SPECIAL_TIME_SYNC_TARGET,
+                /* special rcS init scripts */
+                "cryptdisks",           "cryptsetup.target",
+                "mountall",             SPECIAL_LOCAL_FS_TARGET,
+                "mountnfs",             SPECIAL_REMOTE_FS_TARGET,
+                "checkroot",            "systemd-remount-fs.service",
+                "dbus",                 "dbus.socket",
24
+
25
26
27
         };
 
         unsigned i;