ntp: split off perl-based userspace tools

This makes it possible to install the basic debug tools without pulling
in perl itself.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
Jan Luebbe 2015-07-19 20:42:17 +02:00 committed by Holger Hans Peter Freyther
parent e4cc94cfd0
commit f0fb4a9ad8
1 changed files with 4 additions and 3 deletions

View File

@ -97,7 +97,7 @@ do_install_append() {
install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list
}
PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils ${PN}-perl"
# 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
@ -128,8 +128,9 @@ FILES_${PN} = "${sbindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd
${systemd_unitdir}/ntp-units.d/60-ntpd.list \
"
FILES_${PN}-tickadj = "${sbindir}/tickadj"
FILES_${PN}-utils = "${sbindir} ${datadir}/ntp/lib"
RDEPENDS_${PN}-utils += "perl"
FILES_${PN}-utils = "${sbindir}/ntptime ${sbindir}/ntpq"
FILES_${PN}-perl = "${sbindir} ${datadir}/ntp/lib"
RDEPENDS_${PN}-perl += "perl"
FILES_ntpdate = "${sbindir}/ntpdate \
${sysconfdir}/network/if-up.d/ntpdate-sync \
${bindir}/ntpdate-sync \