From: Kang Kai <Kai.Kang@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Re: [PATCH] ntp: fix perl path in scripts
Date: Wed, 19 Feb 2014 10:19:58 +0800 [thread overview]
Message-ID: <530414CE.5020808@windriver.com> (raw)
In-Reply-To: <20140122113111.GS4100@jama>
On 2014?01?22? 19:31, Martin Jansa wrote:
> On Wed, Jan 22, 2014 at 03:47:38PM +0800, Kai Kang wrote:
>> Scripts ntptrace and ntp-wait use /bin/perl directly that cause
>> ntp-utils depends on /bin/perl but no package provides it. It should use
>> '${USRBINPATH}/env perl'.
> Next time please add [meta-networking] tag, but it's already in right
> patchwork bundle so that you don't need to resend it.
OK, thanks.
--Kai
>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>> meta-networking/recipes-support/ntp/ntp.inc | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/meta-networking/recipes-support/ntp/ntp.inc b/meta-networking/recipes-support/ntp/ntp.inc
>> index 9ea24e9..8ada604 100644
>> --- a/meta-networking/recipes-support/ntp/ntp.inc
>> +++ b/meta-networking/recipes-support/ntp/ntp.inc
>> @@ -54,6 +54,8 @@ do_install_append() {
>> sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/ntpd ${D}${bindir}/ntpdate-sync
>> sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/ntpd ${D}${bindir}/ntpdate-sync
>> sed -i 's!^PATH=.*!PATH=${base_sbindir}:${base_bindir}:${sbindir}:${bindir}!' ${D}${bindir}/ntpdate-sync
>> + sed -i '1s!/bin/perl!${USRBINPATH}/env perl!' ${D}${sbindir}/ntptrace
>> + sed -i '1s!/bin/perl!${USRBINPATH}/env perl!' ${D}${sbindir}/ntp-wait
>>
>> install -d ${D}/${sysconfdir}/default
>> install -m 644 ${WORKDIR}/ntpdate.default ${D}${sysconfdir}/default/ntpdate
>> --
>> 1.8.1.2
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Regards,
Neil | Kai Kang
prev parent reply other threads:[~2014-02-19 2:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 7:47 [PATCH] ntp: fix perl path in scripts Kai Kang
2014-01-22 11:31 ` Martin Jansa
2014-02-19 2:19 ` Kang Kai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=530414CE.5020808@windriver.com \
--to=kai.kang@windriver.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox