summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-01-07 17:53:47 +0000
committerMichał Górny <mgorny@gentoo.org>2012-01-07 17:53:47 +0000
commit22f7f6cca4ef326a6e7d3227ac853a0cb63abb00 (patch)
treed2f2cab302ea19124f4e91d99aaacd6ecb54cc1e /eclass/systemd.eclass
parentStable for AMD64, wrt bug #397977 (diff)
downloadgentoo-2-22f7f6cca4ef326a6e7d3227ac853a0cb63abb00.tar.gz
gentoo-2-22f7f6cca4ef326a6e7d3227ac853a0cb63abb00.tar.bz2
gentoo-2-22f7f6cca4ef326a6e7d3227ac853a0cb63abb00.zip
Install systemd units to /usr/lib.
Diffstat (limited to 'eclass/systemd.eclass')
-rw-r--r--eclass/systemd.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index 6b94a558c2d0..1ddc9b00faa4 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.10 2012/01/05 23:20:02 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.11 2012/01/07 17:53:47 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -30,12 +30,16 @@ case ${EAPI:-0} in
*) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established."
esac
+# Block systemd version without the migration helper.
+DEPEND="!<sys-apps/systemd-29-r4
+ !=sys-apps/systemd-37-r1"
+
# @FUNCTION: _systemd_get_unitdir
# @INTERNAL
# @DESCRIPTION:
# Get unprefixed unitdir.
_systemd_get_unitdir() {
- echo -n /lib/systemd/system
+ echo -n /usr/lib/systemd/system
}
# @FUNCTION: systemd_get_unitdir