1 |
On Wed, Apr 25, 2018 at 02:20:29PM -0500, William Hubbs wrote: |
2 |
> Hi all, |
3 |
> |
4 |
> In the past, openrc has had a dependency on sysvvinit because it called |
5 |
> killall5. Since it doesn't do that any more, I have been asked to remove |
6 |
> the dependency [1]. Another advantage of doing this is that people will |
7 |
> be able to build profiles without an init package, for containers for |
8 |
> example. |
9 |
> |
10 |
> To do this, I need to add virtual/init for packages that have an init |
11 |
> process. then add virtual/init to profiles/base/packages. |
12 |
> |
13 |
> Please proofread virtual/init as attached before I add it to the tree. |
14 |
> |
15 |
> Thanks, |
16 |
> |
17 |
> William |
18 |
> |
19 |
> [1] https://bugs.gentoo.org/show_bug.cgi?id=599468 |
20 |
> |
21 |
> |
22 |
|
23 |
> # Copyright 1999-2018 Gentoo Foundation |
24 |
> # Distributed under the terms of the GNU General Public License v2 |
25 |
> |
26 |
> EAPI=6 |
27 |
> |
28 |
> DESCRIPTION="virtual for process 1" |
29 |
> |
30 |
> SLOT="0" |
31 |
> KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
32 |
> IUSE="" |
33 |
|
34 |
Dont you need: |
35 |
IUSE="prefix selinux kernel_linux kernel_FreeBSD" |
36 |
|
37 |
> RDEPEND=" |
38 |
> !prefix? ( |
39 |
> kernel_linux? ( |
40 |
> || ( |
41 |
> >=sys-apps/sysvinit-2.86-r6[selinux?] |
42 |
> sys-apps/systemd |
43 |
|
44 |
For consistency with the one above, this should probably be |
45 |
sys-apps/systemd[selinux?] |
46 |
|
47 |
-- Jason |
48 |
|
49 |
> ) |
50 |
> selinux? ( |
51 |
> >=sec-policy/selinux-base-policy-2.20170204-r4 |
52 |
> ) |
53 |
> ) |
54 |
> kernel_FreeBSD? ( |
55 |
> sys-freebsd/freebsd-sbin |
56 |
> ) |
57 |
> )" |