Openembedded Core Discussions
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] initscripts: RDEPENDS sed to remove "sed: command not found".
Date: Tue, 26 Mar 2013 17:17:51 +0800	[thread overview]
Message-ID: <515167BF.10305@windriver.com> (raw)
In-Reply-To: <1364286013-25970-1-git-send-email-anders.roxell@gmail.com>

On 03/26/2013 04:20 PM, anders.roxell@gmail.com wrote:
> From: Anders Roxell <anders.roxell@enea.com>
>
> Log:
> /etc/rcS.d/S37populate-volatile.sh: line 13: sed: command not found
> /etc/rcS.d/S37populate-volatile.sh: line 152: sed: command not found
> /etc/rcS.d/S37populate-volatile.sh: line 152: sed: command not found
>
> Signed-off-by: Anders Roxell <anders.roxell@enea.com>
> ---
>   meta/recipes-core/initscripts/initscripts_1.0.bb |    3 ++-
>   1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
> index 649e182..bfd3d28 100644
> --- a/meta/recipes-core/initscripts/initscripts_1.0.bb
> +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
> @@ -3,7 +3,7 @@ DESCRIPTION = "Initscripts provide the basic system startup initialization scrip
>   SECTION = "base"
>   LICENSE = "GPLv2"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> -PR = "r140"
> +PR = "r141"
>   
>   INHIBIT_DEFAULT_DEPS = "1"
>   
> @@ -39,6 +39,7 @@ KERNEL_VERSION = ""
>   
>   inherit update-alternatives
>   DEPENDS_append = " update-rc.d-native"
> +RDEPENDS_${PN} = " sed"
>   
>   ALTERNATIVE_PRIORITY = "90"
>   ALTERNATIVE_${PN} = "functions"

busybox also provides sed if CONFIG_SED is enabled.
I'm wondering whether it's necessary to insert dependency here.
If so, then I think other packages which provide init scripts may also 
rdepend on 'busybox' or 'coreutils' which provide basic commands like 
'chown' or 'sed'.

Best Regards,
Chen Qi



  reply	other threads:[~2013-03-26  9:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26  8:20 [PATCH] initscripts: RDEPENDS sed to remove "sed: command not found" anders.roxell
2013-03-26  9:17 ` ChenQi [this message]
2013-03-27 17:15   ` Anders Roxell
2013-03-28  2:42     ` ChenQi

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=515167BF.10305@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@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