/[gentoo-x86]/eclass/systemd.eclass
Gentoo

Diff of /eclass/systemd.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.10 2012/01/05 23:20:02 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.11 2012/01/07 17:53:47 mgorny Exp $
4 4
5# @ECLASS: systemd.eclass 5# @ECLASS: systemd.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# mgorny@gentoo.org 7# mgorny@gentoo.org
8# @BLURB: helper functions to install systemd units 8# @BLURB: helper functions to install systemd units
28case ${EAPI:-0} in 28case ${EAPI:-0} in
29 0|1|2|3|4) ;; 29 0|1|2|3|4) ;;
30 *) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established." 30 *) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established."
31esac 31esac
32 32
33# Block systemd version without the migration helper.
34DEPEND="!<sys-apps/systemd-29-r4
35 !=sys-apps/systemd-37-r1"
36
33# @FUNCTION: _systemd_get_unitdir 37# @FUNCTION: _systemd_get_unitdir
34# @INTERNAL 38# @INTERNAL
35# @DESCRIPTION: 39# @DESCRIPTION:
36# Get unprefixed unitdir. 40# Get unprefixed unitdir.
37_systemd_get_unitdir() { 41_systemd_get_unitdir() {
38 echo -n /lib/systemd/system 42 echo -n /usr/lib/systemd/system
39} 43}
40 44
41# @FUNCTION: systemd_get_unitdir 45# @FUNCTION: systemd_get_unitdir
42# @DESCRIPTION: 46# @DESCRIPTION:
43# Output the path for the systemd unit directory (not including ${D}). 47# Output the path for the systemd unit directory (not including ${D}).

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20