On Wed, Jun 29, 2011 at 12:56:32PM -0400, Mike Frysinger wrote: > On Wed, Jun 29, 2011 at 10:57, William Hubbs wrote: > > The third option is for openrc to not install the > > symbolic link at /etc/init.d/functions.sh since the code is actually at > > /lib/rc/functions.sh or /libexec/rc/functions.sh on the bsds. If I do > > that in openrc, that would mean that baselayout or another package > > would have to provide either a symbolic link in > > /etc/init.d/functions.sh or a script there that provided the functions > > if openrc was not available. > > this sounds bad on multiple levels
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. Thoughts? William
pgpa6lm6LlVwb.pgp
Description: PGP signature