diff options
Diffstat (limited to 'meta-systemd/meta-oe/recipes-support')
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 | } | ||
