diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-04 21:23:15 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-04 21:23:15 +0000 |
commit | 3ec8cddf90e308006254a317f627f28d5009227d (patch) | |
tree | 6752343c26c6b7df5537d7e3c14f1a6b20195878 /eclass | |
parent | systemd-unit eclass and drbd service (diff) | |
download | portage-3ec8cddf90e308006254a317f627f28d5009227d.tar.bz2 portage-3ec8cddf90e308006254a317f627f28d5009227d.tar.xz portage-3ec8cddf90e308006254a317f627f28d5009227d.zip |
Allow renaming of units, add ocfs2 service
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/systemd-unit.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
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}} } |