Gentoo Archives: gentoo-user

From: Akater <nuclearspace@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Why do systemd scripts get installed with USE="-systemd"?
Date: Sun, 12 Nov 2017 10:58:16
Message-Id: 87shdjhilz.fsf@gmail.com
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?

Attachments

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

Replies

Subject Author
Re: [gentoo-user] Why do systemd scripts get installed with USE="-systemd"? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Why do systemd scripts get installed with USE="-systemd"? Walter Dnes <waltdnes@××××××××.org>