From patchwork Fri Oct 26 08:58:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-systemd, v2, 1/2] meta-systemd: ntp: Change version to what is used in meta-networking. Date: Fri, 26 Oct 2012 08:58:39 -0000 From: Martin Ertsaas X-Patchwork-Id: 38583 Message-Id: <1351241920-15135-1-git-send-email-martiert@gmail.com> To: openembedded-devel@lists.openembedded.org Change version of ntp to match that in meta-networking. Also change ntpdate to ntp-date to match the names used in meta-networking. Signed-off-by: Martin Ertsaas --- .../recipes-support/ntp/ntp_4.2.6p3.bbappend | 20 -------------------- .../recipes-support/ntp/ntp_4.2.6p5.bbappend | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bbappend create mode 100644 meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p5.bbappend 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 c6cd031..0000000 --- a/meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p3.bbappend +++ /dev/null @@ -1,20 +0,0 @@ -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/ -} diff --git a/meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p5.bbappend b/meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p5.bbappend new file mode 100644 index 0000000..bc2b2dd --- /dev/null +++ b/meta-systemd/meta-oe/recipes-support/ntp/ntp_4.2.6p5.bbappend @@ -0,0 +1,20 @@ +inherit systemd + +PRINC := "${@int(PRINC) + 1}" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SYSTEMD_PACKAGES = "${PN}-systemd ${PN}-date-systemd" +SYSTEMD_SERVICE_${PN}-systemd = "ntpd.service" +SYSTEMD_SERVICE_${PN}-date-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/ +}