Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: making sysvinit optional
Date: Thu, 11 Jul 2019 13:01:41
Message-Id: b0e446de-0cad-083c-236f-f1d5fa527d13@gentoo.org
In Reply to: Re: [gentoo-dev] rfc: making sysvinit optional by William Hubbs
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.

Replies

Subject Author
Re: [gentoo-dev] rfc: making sysvinit optional William Hubbs <williamh@g.o>