mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
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>
This commit is contained in:
@@ -105,7 +105,7 @@ do_install_append() {
|
|||||||
rmdir --ignore-fail-on-non-empty ${D}${libexecdir}
|
rmdir --ignore-fail-on-non-empty ${D}${libexecdir}
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
|
PACKAGES += "ntpdate sntp ntpq ${PN}-tickadj ${PN}-utils"
|
||||||
# NOTE: you don't need ntpdate, use "ntpd -q -g -x"
|
# NOTE: you don't need ntpdate, use "ntpd -q -g -x"
|
||||||
|
|
||||||
# ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms
|
# ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms
|
||||||
@@ -117,6 +117,8 @@ RDEPENDS_${PN} += "libgcc"
|
|||||||
RPROVIDES_${PN}-utils = "${PN}-bin"
|
RPROVIDES_${PN}-utils = "${PN}-bin"
|
||||||
RREPLACES_${PN}-utils = "${PN}-bin"
|
RREPLACES_${PN}-utils = "${PN}-bin"
|
||||||
RCONFLICTS_${PN}-utils = "${PN}-bin"
|
RCONFLICTS_${PN}-utils = "${PN}-bin"
|
||||||
|
# ntpq was split out of ntp-utils
|
||||||
|
RDEPENDS_${PN}-utils = "ntpq"
|
||||||
|
|
||||||
SYSTEMD_PACKAGES = "${PN} ntpdate sntp"
|
SYSTEMD_PACKAGES = "${PN} ntpdate sntp"
|
||||||
SYSTEMD_SERVICE_${PN} = "ntpd.service"
|
SYSTEMD_SERVICE_${PN} = "ntpd.service"
|
||||||
@@ -151,6 +153,7 @@ FILES_sntp = "${sbindir}/sntp \
|
|||||||
${sysconfdir}/default/sntp \
|
${sysconfdir}/default/sntp \
|
||||||
${systemd_unitdir}/system/sntp.service \
|
${systemd_unitdir}/system/sntp.service \
|
||||||
"
|
"
|
||||||
|
FILES_ntpq = "${sbindir}/ntpq"
|
||||||
|
|
||||||
CONFFILES_${PN} = "${sysconfdir}/ntp.conf"
|
CONFFILES_${PN} = "${sysconfdir}/ntp.conf"
|
||||||
CONFFILES_ntpdate = "${sysconfdir}/default/ntpdate"
|
CONFFILES_ntpdate = "${sysconfdir}/default/ntpdate"
|
||||||
|
|||||||
Reference in New Issue
Block a user