1 |
On 7/10/19 11:14 PM, William Hubbs wrote: |
2 |
> |
3 |
> I don't want to remove sysvinit by default. If you want to remove it, |
4 |
> you can, but I don't want to force that issue. That's why I don't want |
5 |
> to turn the use flag on by default like systemd does. |
6 |
> |
7 |
|
8 |
After re-reading the bug report and sleeping on this... doesn't the USE |
9 |
flag alone achieve your goals? |
10 |
|
11 |
If you add USE=sysv-utils to OpenRC and change RDEPEND from |
12 |
|
13 |
RDEPEND="... sys-apps/sysvinit ... " |
14 |
|
15 |
to |
16 |
|
17 |
RDEPEND="... sysv-utils? ( !sys-apps/sysvinit ) |
18 |
!sysv-utils? ( sys-apps/sysvinit ) ... " |
19 |
|
20 |
then by default, OpenRC will pull in sys-apps/sysvinit, and use its |
21 |
implementations of init/shutdown. Then later if someone wants to get rid |
22 |
of sys-apps/sysvinit, he has the option to uninstall sys-apps/sysvinit |
23 |
and then re-emerge OpenRC with USE=sysv-utils. |