* [PATCH] initscripts: RDEPENDS sed to remove "sed: command not found".
@ 2013-03-26 8:20 anders.roxell
2013-03-26 9:17 ` ChenQi
0 siblings, 1 reply; 4+ messages in thread
From: anders.roxell @ 2013-03-26 8:20 UTC (permalink / raw)
To: openembedded-core; +Cc: Anders Roxell
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"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] initscripts: RDEPENDS sed to remove "sed: command not found".
2013-03-26 8:20 [PATCH] initscripts: RDEPENDS sed to remove "sed: command not found" anders.roxell
@ 2013-03-26 9:17 ` ChenQi
2013-03-27 17:15 ` Anders Roxell
0 siblings, 1 reply; 4+ messages in thread
From: ChenQi @ 2013-03-26 9:17 UTC (permalink / raw)
To: openembedded-core
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] initscripts: RDEPENDS sed to remove "sed: command not found".
2013-03-26 9:17 ` ChenQi
@ 2013-03-27 17:15 ` Anders Roxell
2013-03-28 2:42 ` ChenQi
0 siblings, 1 reply; 4+ messages in thread
From: Anders Roxell @ 2013-03-27 17:15 UTC (permalink / raw)
To: ChenQi; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 2420 bytes --]
On Tue, Mar 26, 2013 at 10:17 AM, ChenQi <Qi.Chen@windriver.com> wrote:
> 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<http://initscripts_1.0.bb>| 3 ++-
>> 1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-core/**initscripts/initscripts_1.0.bbb/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=**751419260aa954499f7abaabaa882b
>> **be"
>> -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'.
>
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).
However, I only want sed if busybox isn't present and vice versa is there a
way to do this?
With kind regards,
Anders
>
> Best Regards,
> Chen Qi
>
>
> ______________________________**_________________
> Openembedded-core mailing list
> Openembedded-core@lists.**openembedded.org<Openembedded-core@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-core<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core>
>
[-- Attachment #2: Type: text/html, Size: 3924 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] initscripts: RDEPENDS sed to remove "sed: command not found".
2013-03-27 17:15 ` Anders Roxell
@ 2013-03-28 2:42 ` ChenQi
0 siblings, 0 replies; 4+ messages in thread
From: ChenQi @ 2013-03-28 2:42 UTC (permalink / raw)
To: Anders Roxell; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 3281 bytes --]
On 03/28/2013 01:15 AM, Anders Roxell wrote:
>
>
>
> On Tue, Mar 26, 2013 at 10:17 AM, ChenQi <Qi.Chen@windriver.com
> <mailto:Qi.Chen@windriver.com>> wrote:
>
> On 03/26/2013 04:20 PM, anders.roxell@gmail.com
> <mailto:anders.roxell@gmail.com> wrote:
>
> From: Anders Roxell <anders.roxell@enea.com
> <mailto: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
> <mailto:anders.roxell@enea.com>>
> ---
> meta/recipes-core/initscripts/initscripts_1.0.bb
> <http://initscripts_1.0.bb> | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb
> <http://initscripts_1.0.bb>
> b/meta/recipes-core/initscripts/initscripts_1.0.bb
> <http://initscripts_1.0.bb>
> index 649e182..bfd3d28 100644
> --- a/meta/recipes-core/initscripts/initscripts_1.0.bb
> <http://initscripts_1.0.bb>
> +++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
> <http://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'.
>
>
> 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).
> However, I only want sed if busybox isn't present and vice versa is
> there a way to do this?
>
In this recipe? Maybe we could, but I don't know how.
Maybe you could look at the packagegroup
concept(meta/recipes-core/packagegroups/packagegroup-core-boot.bb, for
example, groups busybox and initscripts together).
Best Regards,
Chen Qi
> With kind regards,
> Anders
>
>
> Best Regards,
> Chen Qi
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> <mailto:Openembedded-core@lists.openembedded.org>
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
[-- Attachment #2: Type: text/html, Size: 7199 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-03-28 2:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26 8:20 [PATCH] initscripts: RDEPENDS sed to remove "sed: command not found" anders.roxell
2013-03-26 9:17 ` ChenQi
2013-03-27 17:15 ` Anders Roxell
2013-03-28 2:42 ` ChenQi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox