aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzombathelyi Gy├Ârgy <gyurco@freemail.hu>2015-01-13 22:44:03 +0100
committerJoe MacDonald <joe_macdonald@mentor.com>2015-01-23 07:45:20 -0500
commitddd3ccd63949f9a24040eb39c136ef9730f2662a (patch)
tree79f7878cdf4bed9947bc46df71a226c97de5380f
parent4a48799dacda1811e8e3bea06decdba789fc77ab (diff)
downloadmeta-openembedded-contrib-ddd3ccd63949f9a24040eb39c136ef9730f2662a.tar.gz
meta-openembedded-contrib-ddd3ccd63949f9a24040eb39c136ef9730f2662a.tar.bz2
meta-openembedded-contrib-ddd3ccd63949f9a24040eb39c136ef9730f2662a.zip
ntp: fix perl path
Fix perl path in ntp-wait and calc_tickadj. Signed-off-by: Gyorgy Szombathelyi <gyurco@freemail.hu> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--meta-networking/recipes-support/ntp/ntp_4.2.8.bb4
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() {
sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${bindir}/ntpdate-sync
sed -i '1s,#!.*perl -w,#! ${bindir}/env perl,' ${D}${sbindir}/ntptrace
sed -i '/use/i use warnings;' ${D}${sbindir}/ntptrace
- sed -i '1s,#!.*perl -w,#! ${bindir}/env perl,' ${D}${sbindir}/ntp-wait
+ sed -i '1s,#!.*perl,#! ${bindir}/env perl,' ${D}${sbindir}/ntp-wait
sed -i '/use/i use warnings;' ${D}${sbindir}/ntp-wait
+ sed -i '1s,#!.*perl -w,#! ${bindir}/env perl,' ${D}${sbindir}/calc_tickadj
+ sed -i '/use/i use warnings;' ${D}${sbindir}/calc_tickadj
install -d ${D}/${sysconfdir}/default
install -m 644 ${WORKDIR}/ntpdate.default ${D}${sysconfdir}/default/ntpdate