Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:0.21.x commit in: init.d/
Date: Sun, 31 Jul 2016 19:06:53
Message-Id: 1469991005.61e211c1c4f51fdb8babb9a70ed7ce138d71c80b.williamh@OpenRC
1 commit: 61e211c1c4f51fdb8babb9a70ed7ce138d71c80b
2 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
3 AuthorDate: Sun Jul 31 18:01:17 2016 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 18:50:05 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=61e211c1
7
8 init.d: initial service adjustments for docker support
9
10 Add -docker keyword to the same scripts that have -lxc keyword.
11
12 init.d/binfmt.in | 2 +-
13 init.d/consolefont.in | 2 +-
14 init.d/devfs.in | 2 +-
15 init.d/dmesg.in | 2 +-
16 init.d/fsck.in | 2 +-
17 init.d/hostname.in | 2 +-
18 init.d/hwclock.in | 2 +-
19 init.d/keymaps.in | 2 +-
20 init.d/localmount.in | 2 +-
21 init.d/modules.in | 2 +-
22 init.d/mount-ro.in | 2 +-
23 init.d/net-online.in | 2 +-
24 init.d/netmount.in | 2 +-
25 init.d/numlock.in | 2 +-
26 init.d/procfs.in | 2 +-
27 init.d/root.in | 2 +-
28 init.d/swap.in | 2 +-
29 init.d/swapfiles.in | 2 +-
30 init.d/swclock.in | 2 +-
31 init.d/sysfs.in | 2 +-
32 init.d/termencoding.in | 2 +-
33 init.d/urandom.in | 2 +-
34 22 files changed, 22 insertions(+), 22 deletions(-)
35
36 diff --git a/init.d/binfmt.in b/init.d/binfmt.in
37 index 39978a0..4afb83b 100644
38 --- a/init.d/binfmt.in
39 +++ b/init.d/binfmt.in
40 @@ -15,7 +15,7 @@ depend()
41 {
42 after procfs
43 use modules devfs
44 - keyword -openvz -prefix -systemd-nspawn -vserver -lxc
45 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
46 }
47
48 start()
49
50 diff --git a/init.d/consolefont.in b/init.d/consolefont.in
51 index de2d448..9fe95af 100644
52 --- a/init.d/consolefont.in
53 +++ b/init.d/consolefont.in
54 @@ -15,7 +15,7 @@ depend()
55 {
56 need localmount termencoding
57 after hotplug bootmisc modules
58 - keyword -openvz -prefix -systemd-nspawn -uml -vserver -xenu -lxc
59 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
60 }
61
62 start()
63
64 diff --git a/init.d/devfs.in b/init.d/devfs.in
65 index c869326..8038c54 100644
66 --- a/init.d/devfs.in
67 +++ b/init.d/devfs.in
68 @@ -15,7 +15,7 @@ depend()
69 {
70 provide dev-mount
71 before dev
72 - keyword -prefix -systemd-nspawn -vserver -lxc
73 + keyword -docker -lxc -prefix -systemd-nspawn -vserver
74 }
75
76 mount_dev()
77
78 diff --git a/init.d/dmesg.in b/init.d/dmesg.in
79 index a3696d2..641f36f 100644
80 --- a/init.d/dmesg.in
81 +++ b/init.d/dmesg.in
82 @@ -14,7 +14,7 @@ description="Set the dmesg level for a cleaner boot"
83 depend()
84 {
85 before dev modules
86 - keyword -lxc -prefix -systemd-nspawn -vserver
87 + keyword -docker -lxc -prefix -systemd-nspawn -vserver
88 }
89
90 start()
91
92 diff --git a/init.d/fsck.in b/init.d/fsck.in
93 index 005e87f..7d12482 100644
94 --- a/init.d/fsck.in
95 +++ b/init.d/fsck.in
96 @@ -16,7 +16,7 @@ _IFS="
97 depend()
98 {
99 use dev clock modules
100 - keyword -jail -openvz -prefix -systemd-nspawn -timeout -vserver -lxc -uml
101 + keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -timeout -vserver -uml
102 }
103
104 _abort() {
105
106 diff --git a/init.d/hostname.in b/init.d/hostname.in
107 index cc3d148..21ed701 100644
108 --- a/init.d/hostname.in
109 +++ b/init.d/hostname.in
110 @@ -12,7 +12,7 @@
111 description="Sets the hostname of the machine."
112
113 depend() {
114 - keyword -prefix -systemd-nspawn -lxc
115 + keyword -docker -lxc -prefix -systemd-nspawn
116 }
117
118 start()
119
120 diff --git a/init.d/hwclock.in b/init.d/hwclock.in
121 index 7fee7b7..2cd1ef3 100644
122 --- a/init.d/hwclock.in
123 +++ b/init.d/hwclock.in
124 @@ -35,7 +35,7 @@ depend()
125 else
126 before *
127 fi
128 - keyword -openvz -prefix -systemd-nspawn -uml -vserver -xenu -lxc
129 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
130 }
131
132 setupopts()
133
134 diff --git a/init.d/keymaps.in b/init.d/keymaps.in
135 index a9da423..dbe054a 100644
136 --- a/init.d/keymaps.in
137 +++ b/init.d/keymaps.in
138 @@ -15,7 +15,7 @@ depend()
139 {
140 need localmount termencoding
141 after bootmisc
142 - keyword -openvz -prefix -systemd-nspawn -uml -vserver -xenu -lxc
143 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
144 }
145
146 start()
147
148 diff --git a/init.d/localmount.in b/init.d/localmount.in
149 index b7de0d8..d2c9321 100644
150 --- a/init.d/localmount.in
151 +++ b/init.d/localmount.in
152 @@ -16,7 +16,7 @@ depend()
153 need fsck
154 use lvm modules mtab
155 after lvm modules
156 - keyword -jail -prefix -systemd-nspawn -vserver -lxc
157 + keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
158 }
159
160 start()
161
162 diff --git a/init.d/modules.in b/init.d/modules.in
163 index 6ff90d6..ff1dee4 100644
164 --- a/init.d/modules.in
165 +++ b/init.d/modules.in
166 @@ -14,7 +14,7 @@ description="Loads a user defined list of kernel modules."
167 depend()
168 {
169 use isapnp
170 - keyword -openvz -prefix -systemd-nspawn -vserver -lxc
171 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
172 }
173
174 start()
175
176 diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in
177 index 49bfe62..589f1a2 100644
178 --- a/init.d/mount-ro.in
179 +++ b/init.d/mount-ro.in
180 @@ -14,7 +14,7 @@ description="Re-mount filesytems read-only for a clean reboot."
181 depend()
182 {
183 need killprocs savecache
184 - keyword -openvz -prefix -systemd-nspawn -vserver -lxc
185 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
186 }
187
188 start()
189
190 diff --git a/init.d/net-online.in b/init.d/net-online.in
191 index 53855d9..3e18ba9 100644
192 --- a/init.d/net-online.in
193 +++ b/init.d/net-online.in
194 @@ -15,7 +15,7 @@ depend()
195 {
196 after modules
197 need sysfs
198 - keyword -jail -lxc -openvz -prefix -systemd-nspawn -uml -vserver
199 + keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -uml -vserver
200 }
201
202 get_interfaces()
203
204 diff --git a/init.d/netmount.in b/init.d/netmount.in
205 index ede4d32..7be08e1 100644
206 --- a/init.d/netmount.in
207 +++ b/init.d/netmount.in
208 @@ -24,7 +24,7 @@ depend()
209 want $mywant
210 use afc-client amd openvpn
211 use dns
212 - keyword -jail -prefix -systemd-nspawn -vserver -lxc
213 + keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
214 }
215
216 start()
217
218 diff --git a/init.d/numlock.in b/init.d/numlock.in
219 index 950b583..875ffc0 100644
220 --- a/init.d/numlock.in
221 +++ b/init.d/numlock.in
222 @@ -16,7 +16,7 @@ ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
223 depend()
224 {
225 need localmount
226 - keyword -openvz -prefix -systemd-nspawn -vserver -lxc
227 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
228 }
229
230 _setleds()
231
232 diff --git a/init.d/procfs.in b/init.d/procfs.in
233 index b78afc7..de61873 100644
234 --- a/init.d/procfs.in
235 +++ b/init.d/procfs.in
236 @@ -15,7 +15,7 @@ depend()
237 {
238 use modules devfs
239 need localmount
240 - keyword -openvz -prefix -systemd-nspawn -vserver -lxc
241 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
242 }
243
244 start()
245
246 diff --git a/init.d/root.in b/init.d/root.in
247 index 409a63c..ec22699 100644
248 --- a/init.d/root.in
249 +++ b/init.d/root.in
250 @@ -14,7 +14,7 @@ description="Mount the root fs read/write"
251 depend()
252 {
253 need fsck
254 - keyword -jail -openvz -prefix -systemd-nspawn -vserver -lxc
255 + keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
256 }
257
258 start()
259
260 diff --git a/init.d/swap.in b/init.d/swap.in
261 index c6d705d..4fb2b35 100644
262 --- a/init.d/swap.in
263 +++ b/init.d/swap.in
264 @@ -12,7 +12,7 @@
265 depend()
266 {
267 before localmount
268 - keyword -jail -openvz -prefix -systemd-nspawn -vserver -lxc
269 + keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
270 }
271
272 start()
273
274 diff --git a/init.d/swapfiles.in b/init.d/swapfiles.in
275 index f61c4ec..92b5c89 100644
276 --- a/init.d/swapfiles.in
277 +++ b/init.d/swapfiles.in
278 @@ -12,7 +12,7 @@
279 depend()
280 {
281 need localmount
282 - keyword -jail -openvz -prefix -systemd-nspawn -vserver -lxc
283 + keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
284 }
285
286 start()
287
288 diff --git a/init.d/swclock.in b/init.d/swclock.in
289 index b09afad..9ceba44 100644
290 --- a/init.d/swclock.in
291 +++ b/init.d/swclock.in
292 @@ -15,7 +15,7 @@ depend()
293 {
294 before *
295 provide clock
296 - keyword -openvz -prefix -systemd-nspawn -uml -vserver -xenu -lxc
297 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
298 }
299
300 # swclock is an OpenRC built in
301
302 diff --git a/init.d/sysfs.in b/init.d/sysfs.in
303 index cc4007f..6929810 100644
304 --- a/init.d/sysfs.in
305 +++ b/init.d/sysfs.in
306 @@ -15,7 +15,7 @@ sysfs_opts=nodev,noexec,nosuid
307
308 depend()
309 {
310 - keyword -lxc -prefix -systemd-nspawn -vserver
311 + keyword -docker -lxc -prefix -systemd-nspawn -vserver
312 }
313
314 mount_sys()
315
316 diff --git a/init.d/termencoding.in b/init.d/termencoding.in
317 index a739f97..9f33eb6 100644
318 --- a/init.d/termencoding.in
319 +++ b/init.d/termencoding.in
320 @@ -16,7 +16,7 @@ ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
321
322 depend()
323 {
324 - keyword -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
325 + keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
326 use root
327 after bootmisc
328 }
329
330 diff --git a/init.d/urandom.in b/init.d/urandom.in
331 index 9f4350b..54706ac 100644
332 --- a/init.d/urandom.in
333 +++ b/init.d/urandom.in
334 @@ -15,7 +15,7 @@ description="Initializes the random number generator."
335 depend()
336 {
337 need localmount
338 - keyword -jail -lxc -openvz -prefix -systemd-nspawn
339 + keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn
340 }
341
342 save_seed()