1 |
On Wed, Jul 10, 2019 at 07:30:57PM -0400, Michael Orlitzky wrote: |
2 |
> On 7/10/19 7:16 PM, William Hubbs wrote: |
3 |
> > 3. add a sysvinit use flag to openrc, which will be off by default. When |
4 |
> > it is on, openrc will block sysvinit since it will provide /sbin/init |
5 |
> > and /sbin/shutdown. |
6 |
> > |
7 |
> |
8 |
> This logic, or maybe the name of the flag, sounds backwards to me. I |
9 |
> only get sysvinit when USE=sysvinit is NOT set? |
10 |
|
11 |
If you don't set sys-apps/openrc[sysvinit], you would have /sbin/init |
12 |
and /sbin/shutdown as they are now, from sys-apps/sysvinit. |
13 |
|
14 |
If you do set sys-apps/openrc[sysvinit], /sbin/init and /sbin/shutdown |
15 |
would become wrappers for /sbin/openrc-init and /sbin/openrc-shutdown. |
16 |
|
17 |
Actually, I'm thinking that the use flag can't happen until the next |
18 |
OpenRC release, because I need to set up openrc-shutdown so it can shut down |
19 |
a system that is booted with sysvinit first. |
20 |
|
21 |
> |
22 |
> |
23 |
> |
24 |
> > RDEPEND=" |
25 |
> > kernel_linux? ( |
26 |
> > || ( |
27 |
> > sys-apps/sysvinit |
28 |
> > sys-apps/systemd |
29 |
> > sys-apps/openrc |
30 |
> > sys-process/runit |
31 |
> > virtual/daemontools |
32 |
> > ) |
33 |
> |
34 |
> Modulo my first comment, you'll want some USE flag (un)set for |
35 |
> sys-apps/openrc to ensure that /sbin/init is provided. |
36 |
|
37 |
I am willing to be convinced, but I'm not sure all providers of a virtual |
38 |
are required to provide the same binaries. A couple of examples off the |
39 |
top of my head are virtual/editor, virtual/logger and virtual/mta. |
40 |
|
41 |
William |