<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 03/28/2013 01:15 AM, Anders Roxell
wrote:<br>
</div>
<blockquote
cite="mid:CAEUf8Fvh773fTq6SfS4nLtv1qkC95v5wByXyMY0bg0rWmLJqiQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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"><<a moz-do-not-send="true"
href="mailto:Qi.Chen@windriver.com" target="_blank">Qi.Chen@windriver.com</a>></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
moz-do-not-send="true"
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 <<a moz-do-not-send="true"
href="mailto:anders.roxell@enea.com"
target="_blank">anders.roxell@enea.com</a>><br>
<br>
Log:<br>
/etc/rcS.d/S37populate-volatile.sh: line 13: sed:
command not found<br>
/etc/rcS.d/S37populate-volatile.sh: line 152: sed:
command not found<br>
/etc/rcS.d/S37populate-volatile.sh: line 152: sed:
command not found<br>
<br>
Signed-off-by: Anders Roxell <<a
moz-do-not-send="true"
href="mailto:anders.roxell@enea.com"
target="_blank">anders.roxell@enea.com</a>><br>
---<br>
meta/recipes-core/initscripts/<a
moz-do-not-send="true"
href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a>
| 3 ++-<br>
1 files changed, 2 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/meta/recipes-core/initscripts/<a
moz-do-not-send="true"
href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a>
b/meta/recipes-core/initscripts/<a
moz-do-not-send="true"
href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a><br>
index 649e182..bfd3d28 100644<br>
--- a/meta/recipes-core/initscripts/<a
moz-do-not-send="true"
href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a><br>
+++ b/meta/recipes-core/initscripts/<a
moz-do-not-send="true"
href="http://initscripts_1.0.bb" target="_blank">initscripts_1.0.bb</a><br>
@@ -3,7 +3,7 @@ DESCRIPTION = "Initscripts provide
the basic system startup initialization scrip<br>
SECTION = "base"<br>
LICENSE = "GPLv2"<br>
LIC_FILES_CHKSUM = <a class="moz-txt-link-rfc2396E" href="file://COPYING;md5=751419260aa954499f7abaabaa882bbe">"file://COPYING;md5=751419260aa954499f7abaabaa882bbe"</a><br>
-PR = "r140"<br>
+PR = "r141"<br>
INHIBIT_DEFAULT_DEPS = "1"<br>
@@ -39,6 +39,7 @@ KERNEL_VERSION = ""<br>
inherit update-alternatives<br>
DEPENDS_append = " update-rc.d-native"<br>
+RDEPENDS_${PN} = " sed"<br>
ALTERNATIVE_PRIORITY = "90"<br>
ALTERNATIVE_${PN} = "functions"<br>
</blockquote>
<br>
</div>
</div>
busybox also provides sed if CONFIG_SED is enabled.<br>
I'm wondering whether it's necessary to insert dependency
here.<br>
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'.<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't
present and vice versa is there a way to do this?</div>
<div style=""><br>
</div>
</div>
</div>
</div>
</blockquote>
In this recipe? Maybe we could, but I don't know how.<br>
<br>
Maybe you could look at the packagegroup
concept(meta/recipes-core/packagegroups/packagegroup-core-boot.bb,
for example, groups busybox and initscripts together).<br>
<br>
Best Regards,<br>
Chen Qi<br>
<br>
<blockquote
cite="mid:CAEUf8Fvh773fTq6SfS4nLtv1qkC95v5wByXyMY0bg0rWmLJqiQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<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>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a moz-do-not-send="true"
href="mailto:Openembedded-core@lists.openembedded.org"
target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a moz-do-not-send="true"
href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core"
target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>