From: "Michal Gorny (mgorny)" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog systemd.eclass
Date: Mon, 31 Dec 2012 13:09:09 +0000 (UTC) [thread overview]
Message-ID: <20121231130909.709082171D@flycatcher.gentoo.org> (raw)
mgorny 12/12/31 13:09:09
Modified: ChangeLog systemd.eclass
Log:
Add function to get user unit directory, as requested in bug #449304.
Revision Changes Path
1.585 eclass/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.585&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.585&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.584&r2=1.585
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.584
retrieving revision 1.585
diff -u -r1.584 -r1.585
--- ChangeLog 31 Dec 2012 13:08:12 -0000 1.584
+++ ChangeLog 31 Dec 2012 13:09:09 -0000 1.585
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.584 2012/12/31 13:08:12 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.585 2012/12/31 13:09:09 mgorny Exp $
+
+ 31 Dec 2012; Michał Górny <mgorny@gentoo.org> systemd.eclass:
+ Add function to get user unit directory, as requested in bug #449304.
31 Dec 2012; Michał Górny <mgorny@gentoo.org> systemd.eclass:
Add function to update systemd journal catalog database.
1.21 eclass/systemd.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.21&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?rev=1.21&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/systemd.eclass?r1=1.20&r2=1.21
Index: systemd.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- systemd.eclass 31 Dec 2012 13:08:12 -0000 1.20
+++ systemd.eclass 31 Dec 2012 13:09:09 -0000 1.21
@@ -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.20 2012/12/31 13:08:12 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.21 2012/12/31 13:09:09 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -49,6 +49,18 @@
echo "${EPREFIX}$(_systemd_get_unitdir)"
}
+# @FUNCTION: systemd_get_userunitdir
+# @DESCRIPTION:
+# Output the path for the systemd user unit directory (not including
+# ${D}). This function always succeeds, even if systemd is not
+# installed.
+systemd_get_userunitdir() {
+ has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
+ debug-print-function ${FUNCNAME} "${@}"
+
+ echo "${EPREFIX}/usr/lib/systemd/user"
+}
+
# @FUNCTION: systemd_get_utildir
# @DESCRIPTION:
# Output the path for the systemd utility directory (not including
next reply other threads:[~2012-12-31 13:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-31 13:09 Michal Gorny (mgorny) [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-31 10:23 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog systemd.eclass Michal Gorny (mgorny)
2013-10-22 15:14 Michal Gorny (mgorny)
2013-09-12 11:46 Michal Gorny (mgorny)
2013-09-11 8:53 Michal Gorny (mgorny)
2013-09-11 8:50 Michal Gorny (mgorny)
2013-09-11 7:58 Michal Gorny (mgorny)
2013-07-27 10:36 Michal Gorny (mgorny)
2013-04-13 22:49 Mike Gilbert (floppym)
2013-04-13 22:35 Michal Gorny (mgorny)
2013-03-18 6:29 Michal Gorny (mgorny)
2012-12-31 13:08 Michal Gorny (mgorny)
2012-10-30 21:56 Michal Gorny (mgorny)
2012-10-30 21:29 Michal Gorny (mgorny)
2012-10-30 20:24 Michal Gorny (mgorny)
2012-08-27 21:55 Michal Gorny (mgorny)
2012-08-27 21:54 Michal Gorny (mgorny)
2012-08-27 21:53 Michal Gorny (mgorny)
2012-01-07 17:53 Michal Gorny (mgorny)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121231130909.709082171D@flycatcher.gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox