diff options
| author | Andrej Valek <andrej.valek@siemens.com> | 2019-12-05 09:59:51 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-05 23:01:06 -0800 |
| commit | cf9f947e1f6386c7f902b832f7d003053d37f929 (patch) | |
| tree | 49b58f819a654884ec28d4ce7902aa1e857f9d26 | |
| parent | 8bbd98b2bb216498653ea9b5f66eecb11d63feeb (diff) | |
| download | meta-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>
| -rw-r--r-- | meta-networking/recipes-support/ntp/ntp_4.2.8p13.bb | 7 |
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 9b327ba2fa..e950fabe38 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 | ||
| 108 | PACKAGES += "ntpdate sntp ntpq ${PN}-tickadj ${PN}-utils" | 108 | PACKAGES += "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" | |||
| 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 | 120 | # ntpdc and ntpq were split out of ntp-utils |
| 121 | RDEPENDS_${PN}-utils = "ntpq" | 121 | RDEPENDS_${PN}-utils = "ntpdc ntpq" |
| 122 | 122 | ||
| 123 | SYSTEMD_PACKAGES = "${PN} ntpdate sntp" | 123 | SYSTEMD_PACKAGES = "${PN} ntpdate sntp" |
| 124 | SYSTEMD_SERVICE_${PN} = "ntpd.service" | 124 | SYSTEMD_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 | " |
| 156 | FILES_ntpdc = "${sbindir}/ntpdc" | ||
| 156 | FILES_ntpq = "${sbindir}/ntpq" | 157 | FILES_ntpq = "${sbindir}/ntpq" |
| 157 | 158 | ||
| 158 | CONFFILES_${PN} = "${sysconfdir}/ntp.conf" | 159 | CONFFILES_${PN} = "${sysconfdir}/ntp.conf" |
