diff options
-rw-r--r-- | meta-networking/recipes-support/ntp/ntp_4.2.8.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8.bb index 9f74f6bcc3..e802ee700b 100644 --- a/meta-networking/recipes-support/ntp/ntp_4.2.8.bb +++ b/meta-networking/recipes-support/ntp/ntp_4.2.8.bb | |||
@@ -74,8 +74,10 @@ do_install_append() { | |||
74 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${bindir}/ntpdate-sync | 74 | sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${bindir}/ntpdate-sync |
75 | sed -i '1s,#!.*perl -w,#! ${bindir}/env perl,' ${D}${sbindir}/ntptrace | 75 | sed -i '1s,#!.*perl -w,#! ${bindir}/env perl,' ${D}${sbindir}/ntptrace |
76 | sed -i '/use/i use warnings;' ${D}${sbindir}/ntptrace | 76 | sed -i '/use/i use warnings;' ${D}${sbindir}/ntptrace |
77 | sed -i '1s,#!.*perl -w,#! ${bindir}/env perl,' ${D}${sbindir}/ntp-wait | 77 | sed -i '1s,#!.*perl,#! ${bindir}/env perl,' ${D}${sbindir}/ntp-wait |
78 | sed -i '/use/i use warnings;' ${D}${sbindir}/ntp-wait | 78 | sed -i '/use/i use warnings;' ${D}${sbindir}/ntp-wait |
79 | sed -i '1s,#!.*perl -w,#! ${bindir}/env perl,' ${D}${sbindir}/calc_tickadj | ||
80 | sed -i '/use/i use warnings;' ${D}${sbindir}/calc_tickadj | ||
79 | 81 | ||
80 | install -d ${D}/${sysconfdir}/default | 82 | install -d ${D}/${sysconfdir}/default |
81 | install -m 644 ${WORKDIR}/ntpdate.default ${D}${sysconfdir}/default/ntpdate | 83 | install -m 644 ${WORKDIR}/ntpdate.default ${D}${sysconfdir}/default/ntpdate |