<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 26, 2013 at 10:17 AM, ChenQi <span dir="ltr">&lt;<a href="mailto:Qi.Chen@windriver.com" target="_blank">Qi.Chen@windriver.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 03/26/2013 04:20 PM, <a href="mailto:anders.roxell@gmail.com" target="_blank">anders.roxell@gmail.com</a> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Anders Roxell &lt;<a href="mailto:anders.roxell@enea.com" target="_blank">anders.roxell@enea.com</a>&gt;<br>
<br>
Log:<br>
/etc/rcS.d/S37populate-<u></u>volatile.sh: line 13: sed: command not found<br>
/etc/rcS.d/S37populate-<u></u>volatile.sh: line 152: sed: command not found<br>
/etc/rcS.d/S37populate-<u></u>volatile.sh: line 152: sed: command not found<br>
<br>
Signed-off-by: Anders Roxell &lt;<a href="mailto:anders.roxell@enea.com" target="_blank">anders.roxell@enea.com</a>&gt;<br>
---<br>
  meta/recipes-core/initscripts/<a href="http://initscripts_1.0.bb" target="_blank"><u></u>initscripts_1.0.bb</a> |    3 ++-<br>
  1 files changed, 2 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/meta/recipes-core/<u></u>initscripts/<a href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a> b/meta/recipes-core/<u></u>initscripts/<a href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a><br>

index 649e182..bfd3d28 100644<br>
--- a/meta/recipes-core/<u></u>initscripts/<a href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a><br>
+++ b/meta/recipes-core/<u></u>initscripts/<a href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a><br>
@@ -3,7 +3,7 @@ DESCRIPTION = &quot;Initscripts provide the basic system startup initialization scrip<br>
  SECTION = &quot;base&quot;<br>
  LICENSE = &quot;GPLv2&quot;<br>
  LIC_FILES_CHKSUM = &quot;file://COPYING;md5=<u></u>751419260aa954499f7abaabaa882b<u></u>be&quot;<br>
-PR = &quot;r140&quot;<br>
+PR = &quot;r141&quot;<br>
    INHIBIT_DEFAULT_DEPS = &quot;1&quot;<br>
  @@ -39,6 +39,7 @@ KERNEL_VERSION = &quot;&quot;<br>
    inherit update-alternatives<br>
  DEPENDS_append = &quot; update-rc.d-native&quot;<br>
+RDEPENDS_${PN} = &quot; sed&quot;<br>
    ALTERNATIVE_PRIORITY = &quot;90&quot;<br>
  ALTERNATIVE_${PN} = &quot;functions&quot;<br>
</blockquote>
<br></div></div>
busybox also provides sed if CONFIG_SED is enabled.<br>
I&#39;m wondering whether it&#39;s necessary to insert dependency here.<br>
If so, then I think other packages which provide init scripts may also rdepend on &#39;busybox&#39; or &#39;coreutils&#39; which provide basic commands like &#39;chown&#39; or &#39;sed&#39;.<br></blockquote><div style><br>
</div><div style>aha... I missed that busybox could provide sed... I would like to do some sort of rdepends on busybox or sed (because coreutils does not provide the sed command).</div><div style>However, I only want sed if busybox isn&#39;t present and vice versa is there a way to do this?</div>
<div style><br></div><div style>With kind regards,</div><div style>Anders</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best Regards,<br>
Chen Qi<div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.<u></u>openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openembedded-core</a><br>
</div></div></blockquote></div><br></div></div>