diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-01-30 11:51:59 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-01-30 13:34:49 -0800 |
commit | b730bd799afda64aebe7daf5d0299889ffbb09c1 (patch) | |
tree | 9d319cc43a736a34596909de0fb7030ef8333b15 /meta-networking/recipes-support/ntp | |
parent | c4432a5f627de0f941dfcd563716c335352d6b71 (diff) | |
download | meta-openembedded-b730bd799afda64aebe7daf5d0299889ffbb09c1.tar.gz |
Split ntpq into an own package
ntpq is the standard query program for ntp,
but ntp-utils depends on perl.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
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.8p12.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb index 53e41297aa..289d2645bd 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8p12.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p12.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 | ||
108 | PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils" | 108 | PACKAGES += "ntpdate sntp 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,6 +117,8 @@ RDEPENDS_${PN} += "libgcc" | |||
117 | RPROVIDES_${PN}-utils = "${PN}-bin" | 117 | RPROVIDES_${PN}-utils = "${PN}-bin" |
118 | RREPLACES_${PN}-utils = "${PN}-bin" | 118 | RREPLACES_${PN}-utils = "${PN}-bin" |
119 | RCONFLICTS_${PN}-utils = "${PN}-bin" | 119 | RCONFLICTS_${PN}-utils = "${PN}-bin" |
120 | # ntpq was split out of ntp-utils | ||
121 | RDEPENDS_${PN}-utils = "ntpq" | ||
120 | 122 | ||
121 | SYSTEMD_PACKAGES = "${PN} ntpdate sntp" | 123 | SYSTEMD_PACKAGES = "${PN} ntpdate sntp" |
122 | SYSTEMD_SERVICE_${PN} = "ntpd.service" | 124 | SYSTEMD_SERVICE_${PN} = "ntpd.service" |
@@ -151,6 +153,7 @@ FILES_sntp = "${sbindir}/sntp \ | |||
151 | ${sysconfdir}/default/sntp \ | 153 | ${sysconfdir}/default/sntp \ |
152 | ${systemd_unitdir}/system/sntp.service \ | 154 | ${systemd_unitdir}/system/sntp.service \ |
153 | " | 155 | " |
156 | FILES_ntpq = "${sbindir}/ntpq" | ||
154 | 157 | ||
155 | CONFFILES_${PN} = "${sysconfdir}/ntp.conf" | 158 | CONFFILES_${PN} = "${sysconfdir}/ntp.conf" |
156 | CONFFILES_ntpdate = "${sysconfdir}/default/ntpdate" | 159 | CONFFILES_ntpdate = "${sysconfdir}/default/ntpdate" |