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