summaryrefslogtreecommitdiff
path: root/recipes/ntp/ntp_4.2.4p7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ntp/ntp_4.2.4p7.bb')
-rw-r--r--recipes/ntp/ntp_4.2.4p7.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/ntp/ntp_4.2.4p7.bb b/recipes/ntp/ntp_4.2.4p7.bb
index 4109c40c29..39dfa795da 100644
--- a/recipes/ntp/ntp_4.2.4p7.bb
+++ b/recipes/ntp/ntp_4.2.4p7.bb
@@ -19,6 +19,10 @@ FILES_${PN}-tickadj = "${bindir}/tickadj"
FILES_ntp-utils = "${bindir}/*"
FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/network/if-up.d/ntpdate"
+do_configure_prepend() {
+ sed -i -e 's:dist_man_MANS= sntp.1::g' sntp/Makefile.am
+}
+
do_install_append() {
install -d ${D}/${sysconfdir}/init.d
install -m 644 ${WORKDIR}/ntp.conf ${D}/${sysconfdir}