diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-02-23 15:48:59 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-23 16:46:33 +0100 |
commit | a3d2fd535a2b64d94903ad2127aac103bef02b82 (patch) | |
tree | d3e18c1adc7c162f85705aa55eac8f8eb5d663d7 /meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb | |
parent | aa26673c83a126732d9a404bbe748b7e5321009f (diff) | |
download | meta-openembedded-a3d2fd535a2b64d94903ad2127aac103bef02b82.tar.gz |
ntp: use systemd_unitdir variable
* maybe we should move systemd_unitdir definition outside systemd.bbclass
because it's used in few more recipes which doesn't inherit systemd
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb')
-rw-r--r-- | meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb b/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb index 063d82a87..ece87207f 100644 --- a/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb +++ b/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require ntp.inc | 1 | require ntp.inc |
2 | 2 | ||
3 | PR = "r4" | 3 | PR = "r5" |
4 | 4 | ||
5 | inherit systemd | 5 | inherit systemd |
6 | 6 | ||
@@ -29,14 +29,14 @@ do_install_append() { | |||
29 | install -d ${D}/${sysconfdir}/network/if-up.d | 29 | install -d ${D}/${sysconfdir}/network/if-up.d |
30 | install -m 755 ${WORKDIR}/ntpdate ${D}/${sysconfdir}/network/if-up.d | 30 | install -m 755 ${WORKDIR}/ntpdate ${D}/${sysconfdir}/network/if-up.d |
31 | 31 | ||
32 | install -d ${D}${base_libdir}/systemd/system | 32 | install -d ${D}${systemd_unitdir}/system |
33 | install -m 0644 ${WORKDIR}/ntpdate.service ${D}${base_libdir}/systemd/system/ | 33 | install -m 0644 ${WORKDIR}/ntpdate.service ${D}${systemd_unitdir}/system/ |
34 | install -m 0644 ${WORKDIR}/ntpd.service ${D}${base_libdir}/systemd/system/ | 34 | install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ |
35 | } | 35 | } |
36 | 36 | ||
37 | PACKAGES =+ "${PN}-systemd" | 37 | PACKAGES =+ "${PN}-systemd" |
38 | 38 | ||
39 | FILES_${PN}-systemd = "${base_libdir}/systemd/system/" | 39 | FILES_${PN}-systemd = "${systemd_unitdir}/system/" |
40 | RDEPENDS_${PN}-systemd = "${PN}" | 40 | RDEPENDS_${PN}-systemd = "${PN}" |
41 | 41 | ||
42 | FILES_${PN}-bin = "${bindir}/ntp-wait ${bindir}/ntpdc ${bindir}/ntpq ${bindir}/ntptime ${bindir}/ntptrace" | 42 | FILES_${PN}-bin = "${bindir}/ntp-wait ${bindir}/ntpdc ${bindir}/ntpq ${bindir}/ntptime ${bindir}/ntptrace" |