On Sun, Nov 12, 2017 at 10:55:04AM +0000, Akater wrote
> It looks like systemd scripts often (always?) get installed, regardless
> of USE flag settings.
> 
> Why would they? Is this a policy?
> 
> E.g., in
> 
> cat /usr/portage/net-p2p/transmission/transmission-2.92-r2.ebuild | grep 
> systemd_
>         systemd_dounit daemon/transmission-daemon.service
>         systemd_install_serviced 
> "${FILESDIR}"/transmission-daemon.service.conf
> 
> why not
> 
> if use systemd ; then
>    systemd_dounit daemon/transmission-daemon.service
>    systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf
> fi
> 
> instead?

  Add...

INSTALL_MASK="/lib/systemd/system /usr/lib/systemd/system"

...to /etc/portage/make.conf

  Hmmmm, I wonder if you could...

rm -rf /lib/systemd /usr/lib/systemd/

...and then create symlinks to /dev/null

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to