Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: williamh@g.o
Subject: Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems?
Date: Thu, 30 Jun 2011 02:19:20
Message-Id: 20110630041909.4e41e27b@pomiocik.lan
In Reply to: Re: [gentoo-dev] rfc: should openrc be mandatory on all gentoo systems? by William Hubbs
1 On Wed, 29 Jun 2011 16:46:13 -0500
2 William Hubbs <williamh@g.o> wrote:
3
4 > On Wed, Jun 29, 2011 at 12:56:32PM -0400, Mike Frysinger wrote:
5 > > On Wed, Jun 29, 2011 at 10:57, William Hubbs wrote:
6 > > > The third option is for openrc to not install the
7 > > >  symbolic link at /etc/init.d/functions.sh since the code is
8 > > > actually at /lib/rc/functions.sh or /libexec/rc/functions.sh on
9 > > > the bsds. If I do that in openrc, that would mean that baselayout
10 > > > or another package would have to provide either a symbolic link in
11 > > >  /etc/init.d/functions.sh or a script there that provided the
12 > > > functions if openrc was not available.
13 > >
14 > > this sounds bad on multiple levels
15 >
16 > Ok, the option that I'm looking at now is to set up openrc so that the
17 > init scripts are optional and whether or not they are installed is
18 > controlled by a use flag which I will default to on in IUSE. Most
19 > people would leave this flag alone, but if you want to use something
20 > like systemd and do not want the init scripts or the /etc/runlevels
21 > directory on your system, you would just re-emerge
22 > openrc with this flag disabled.
23 >
24 > For now this flag will just control init scripts installation, but I
25 > will also look into taking it further and not installing other parts
26 > of openrc, such as binaries, man pages, etc which are only used if
27 > you are working on init scripts.
28 >
29 > Thoughts?
30
31 Wouldn't it be better to just leave these people with INSTALL_MASK?
32 USEflag means needless rebuilds just for the benefit of one file.
33
34 --
35 Best regards,
36 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies