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