summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntp
diff options
context:
space:
mode:
authorAndrej Valek <andrej.valek@siemens.com>2019-12-05 09:59:51 +0100
committerKhem Raj <raj.khem@gmail.com>2019-12-05 23:01:06 -0800
commitcf9f947e1f6386c7f902b832f7d003053d37f929 (patch)
tree49b58f819a654884ec28d4ce7902aa1e857f9d26 /meta-networking/recipes-support/ntp
parent8bbd98b2bb216498653ea9b5f66eecb11d63feeb (diff)
downloadmeta-openembedded-cf9f947e1f6386c7f902b832f7d003053d37f929.tar.gz
ntp: split ntpdc into separate package
A ntpdc is a special NTP query program. It shouldn't be part of ntp-utils which is depending on perl. Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ntp')
-rw-r--r--meta-networking/recipes-support/ntp/ntp_4.2.8p13.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p13.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p13.bb
index 9b327ba2f..e950fabe3 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p13.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p13.bb
@@ -105,7 +105,7 @@ do_install_append() {
105 rmdir --ignore-fail-on-non-empty ${D}${libexecdir} 105 rmdir --ignore-fail-on-non-empty ${D}${libexecdir}
106} 106}
107 107
108PACKAGES += "ntpdate sntp ntpq ${PN}-tickadj ${PN}-utils" 108PACKAGES += "ntpdate sntp ntpdc ntpq ${PN}-tickadj ${PN}-utils"
109# NOTE: you don't need ntpdate, use "ntpd -q -g -x" 109# NOTE: you don't need ntpdate, use "ntpd -q -g -x"
110 110
111# ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms 111# ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms
@@ -117,8 +117,8 @@ RDEPENDS_${PN} += "libgcc"
117RPROVIDES_${PN}-utils = "${PN}-bin" 117RPROVIDES_${PN}-utils = "${PN}-bin"
118RREPLACES_${PN}-utils = "${PN}-bin" 118RREPLACES_${PN}-utils = "${PN}-bin"
119RCONFLICTS_${PN}-utils = "${PN}-bin" 119RCONFLICTS_${PN}-utils = "${PN}-bin"
120# ntpq was split out of ntp-utils 120# ntpdc and ntpq were split out of ntp-utils
121RDEPENDS_${PN}-utils = "ntpq" 121RDEPENDS_${PN}-utils = "ntpdc ntpq"
122 122
123SYSTEMD_PACKAGES = "${PN} ntpdate sntp" 123SYSTEMD_PACKAGES = "${PN} ntpdate sntp"
124SYSTEMD_SERVICE_${PN} = "ntpd.service" 124SYSTEMD_SERVICE_${PN} = "ntpd.service"
@@ -153,6 +153,7 @@ FILES_sntp = "${sbindir}/sntp \
153 ${sysconfdir}/default/sntp \ 153 ${sysconfdir}/default/sntp \
154 ${systemd_unitdir}/system/sntp.service \ 154 ${systemd_unitdir}/system/sntp.service \
155 " 155 "
156FILES_ntpdc = "${sbindir}/ntpdc"
156FILES_ntpq = "${sbindir}/ntpq" 157FILES_ntpq = "${sbindir}/ntpq"
157 158
158CONFFILES_${PN} = "${sysconfdir}/ntp.conf" 159CONFFILES_${PN} = "${sysconfdir}/ntp.conf"