1 |
On 30 June 2011 04:47, Mike Frysinger <vapier@g.o> wrote: |
2 |
> |
3 |
> On Wednesday, June 29, 2011 22:19:09 Michał Górny wrote: |
4 |
> > On Wed, 29 Jun 2011 16:46:13 -0500 William Hubbs wrote: |
5 |
> > > Ok, the option that I'm looking at now is to set up openrc so that the |
6 |
> > > init scripts are optional and whether or not they are installed is |
7 |
> > > controlled by a use flag which I will default to on in IUSE. Most |
8 |
> > > people would leave this flag alone, but if you want to use something |
9 |
> > > like systemd and do not want the init scripts or the /etc/runlevels |
10 |
> > > directory on your system, you would just re-emerge |
11 |
> > > openrc with this flag disabled. |
12 |
> > > |
13 |
> > > For now this flag will just control init scripts installation, but I |
14 |
> > > will also look into taking it further and not installing other parts |
15 |
> > > of openrc, such as binaries, man pages, etc which are only used if |
16 |
> > > you are working on init scripts. |
17 |
> > |
18 |
> > Wouldn't it be better to just leave these people with INSTALL_MASK? |
19 |
> > USEflag means needless rebuilds just for the benefit of one file. |
20 |
> |
21 |
> so you're saying the solution for systemd users is to setup INSTALL_MASK and |
22 |
> we shouldnt worry about tweaking openrc at all ? |
23 |
> -mike |
24 |
|
25 |
Why can't we just split up functions.sh into "/lib/output.sh" |
26 |
containing the init script independent (but often gentoo specific) |
27 |
output stuff, and have functions.sh source this. Output.sh would be |
28 |
provided by a separate package (why not baselayout) and the packages |
29 |
using those would rewrite their stuff to use the right location. |
30 |
|
31 |
Paul |
32 |
|
33 |
-- |
34 |
Paul de Vrieze |
35 |
Researcher |
36 |
Mail: paul.devrieze@×××××.com |
37 |
Homepage: http://www.devrieze.net |