diff options
Diffstat (limited to 'meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p3.bbappend')
-rw-r--r-- | meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p3.bbappend | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p3.bbappend b/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p3.bbappend new file mode 100644 index 0000000000..c6cd03147f --- /dev/null +++ b/meta-systemd/meta-networking/recipes-support/ntp/ntp_4.2.6p3.bbappend @@ -0,0 +1,20 @@ +inherit systemd + +PRINC := "${@int(PRINC) + 1}" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SYSTEMD_PACKAGES = "${PN}-systemd ntpdate-systemd" +SYSTEMD_SERVICE_${PN}-systemd = "ntpd.service" +SYSTEMD_SERVICE_ntpdate-systemd = "ntpdate.service" + +SRC_URI += " \ + file://ntpdate.service \ + file://ntpd.service \ +" + +do_install_append() { + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/ntpdate.service ${D}${systemd_unitdir}/system/ + install -m 0644 ${WORKDIR}/ntpd.service ${D}${systemd_unitdir}/system/ +} |