From 3ec8cddf90e308006254a317f627f28d5009227d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 4 Dec 2015 21:23:15 +0000 Subject: Allow renaming of units, add ocfs2 service --- eclass/systemd-unit.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/systemd-unit.eclass b/eclass/systemd-unit.eclass index d3e1e60..9436c15 100644 --- a/eclass/systemd-unit.eclass +++ b/eclass/systemd-unit.eclass @@ -21,11 +21,11 @@ IUSE="" src_unpack() { mkdir ${S} - cp ${DISTDIR}/${A} ${S} + cp ${DISTDIR}/${A} ${S}/${TARGETNAME:=${A}} } src_install() { - systemd_dounit ${S}/${A} + systemd_dounit ${S}/${TARGETNAME:=${A}} } -- cgit v1.2.3