diff options
| -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" |
