diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2012-10-31 09:08:24 -0200 |
|---|---|---|
| committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-11-22 16:41:21 +0000 |
| commit | 7da3e44c0dc53c05acce387bf5461d0e292f8d34 (patch) | |
| tree | 78ab9e5777613a944846691b5f6c69125eb38d77 /meta-systemd/meta-oe | |
| parent | d08ee5a51d4e89ae587d170f8b99062689841428 (diff) | |
| download | meta-openembedded-7da3e44c0dc53c05acce387bf5461d0e292f8d34.tar.gz | |
meta-systemd: Move ntp recipes to 'meta-networking' sublayer
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta-systemd/meta-oe')
3 files changed, 0 insertions, 42 deletions
diff --git a/meta-systemd/meta-oe/recipes-support/ntp/ntp/ntpd.service b/meta-systemd/meta-oe/recipes-support/ntp/ntp/ntpd.service deleted file mode 100644 index bd87b1ea24..0000000000 --- a/meta-systemd/meta-oe/recipes-support/ntp/ntp/ntpd.service +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Network Time Service | ||
| 3 | After=network.target | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | Type=forking | ||
| 7 | PIDFile=/run/ntpd.pid | ||
| 8 | ExecStart=/usr/bin/ntpd -p /run/ntpd.pid | ||
| 9 | |||
| 10 | [Install] | ||
| 11 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/meta-oe/recipes-support/ntp/ntp/ntpdate.service b/meta-systemd/meta-oe/recipes-support/ntp/ntp/ntpdate.service deleted file mode 100644 index b2bc632069..0000000000 --- a/meta-systemd/meta-oe/recipes-support/ntp/ntp/ntpdate.service +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Network Time Service (one-shot ntpdate mode) | ||
| 3 | Before=ntpd.service | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | Type=oneshot | ||
| 7 | ExecStart=/usr/bin/ntpd -q -g -x | ||
| 8 | RemainAfterExit=yes | ||
| 9 | |||
| 10 | [Install] | ||
| 11 | WantedBy=multi-user.target | ||
diff --git a/meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bbappend b/meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bbappend deleted file mode 100644 index c6cd03147f..0000000000 --- a/meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bbappend +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | inherit systemd | ||
| 2 | |||
| 3 | PRINC := "${@int(PRINC) + 1}" | ||
| 4 | |||
| 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 6 | |||
| 7 | SYSTEMD_PACKAGES = "${PN}-systemd ntpdate-systemd" | ||
| 8 | SYSTEMD_SERVICE_${PN}-systemd = "ntpd.service" | ||
| 9 | SYSTEMD_SERVICE_ntpdate-systemd = "ntpdate.service" | ||
| 10 | |||
| 11 | SRC_URI += " \ | ||
| 12 | file://ntpdate.service \ | ||
| 13 | file://ntpd.service \ | ||
| 14 | " | ||
| 15 | |||
| 16 | do_install_append() { | ||
| 17 | install -d ${D}${systemd_unitdir}/system | ||
| 18 | install -m 0644 ${WORKDIR}/ntpdate.service ${D}${systemd_unitdir}/system/ | ||
| 19 | install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ | ||
| 20 | } | ||
