* [PATCH] chrpath: We should provide chrpath-replacement-native and install into a native specific directory
@ 2012-10-02 13:13 Richard Purdie
2012-10-02 16:22 ` McClintock Matthew-B29882
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2012-10-02 13:13 UTC (permalink / raw)
To: openembedded-core
chrpath is assumed to be provided by the build host system. This means
we need to provide a replacement version and install into a specific directory
to avoid races.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-devtools/chrpath/chrpath_0.14.bb b/meta/recipes-devtools/chrpath/chrpath_0.14.bb
index 679f1aa..bb9b4b6 100644
--- a/meta/recipes-devtools/chrpath/chrpath_0.14.bb
+++ b/meta/recipes-devtools/chrpath/chrpath_0.14.bb
@@ -20,4 +20,7 @@ inherit autotools
# relocatable, so use the one we've just built
CHRPATH_BIN_virtclass-native = "${S}/chrpath"
+PROVIDES_append_virtclass-native = " chrpath-replacement-native"
+NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
+
BBCLASSEXTEND = "native nativesdk"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] chrpath: We should provide chrpath-replacement-native and install into a native specific directory
2012-10-02 13:13 [PATCH] chrpath: We should provide chrpath-replacement-native and install into a native specific directory Richard Purdie
@ 2012-10-02 16:22 ` McClintock Matthew-B29882
2012-10-02 16:29 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: McClintock Matthew-B29882 @ 2012-10-02 16:22 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
Docs need to be updated, there was also a build warning if it was not
installed - did that get removed too?
-M
On Tue, Oct 2, 2012 at 8:13 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> chrpath is assumed to be provided by the build host system. This means
> we need to provide a replacement version and install into a specific directory
> to avoid races.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> diff --git a/meta/recipes-devtools/chrpath/chrpath_0.14.bb b/meta/recipes-devtools/chrpath/chrpath_0.14.bb
> index 679f1aa..bb9b4b6 100644
> --- a/meta/recipes-devtools/chrpath/chrpath_0.14.bb
> +++ b/meta/recipes-devtools/chrpath/chrpath_0.14.bb
> @@ -20,4 +20,7 @@ inherit autotools
> # relocatable, so use the one we've just built
> CHRPATH_BIN_virtclass-native = "${S}/chrpath"
>
> +PROVIDES_append_virtclass-native = " chrpath-replacement-native"
> +NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
> +
> BBCLASSEXTEND = "native nativesdk"
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] chrpath: We should provide chrpath-replacement-native and install into a native specific directory
2012-10-02 16:22 ` McClintock Matthew-B29882
@ 2012-10-02 16:29 ` Richard Purdie
2012-10-02 17:30 ` McClintock Matthew-B29882
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2012-10-02 16:29 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: openembedded-core
On Tue, 2012-10-02 at 16:22 +0000, McClintock Matthew-B29882 wrote:
> Docs need to be updated, there was also a build warning if it was not
> installed - did that get removed too?
You still need chrpath installed, this just avoids a different set of
problems in nativesdk and corrected ASSUME_PROVIDED.
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] chrpath: We should provide chrpath-replacement-native and install into a native specific directory
2012-10-02 16:29 ` Richard Purdie
@ 2012-10-02 17:30 ` McClintock Matthew-B29882
2012-10-02 20:19 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: McClintock Matthew-B29882 @ 2012-10-02 17:30 UTC (permalink / raw)
To: Richard Purdie; +Cc: McClintock Matthew-B29882, openembedded-core
On Tue, Oct 2, 2012 at 11:29 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Tue, 2012-10-02 at 16:22 +0000, McClintock Matthew-B29882 wrote:
>> Docs need to be updated, there was also a build warning if it was not
>> installed - did that get removed too?
>
> You still need chrpath installed, this just avoids a different set of
> problems in nativesdk and corrected ASSUME_PROVIDED.
You still need it installed on your host?
-M
>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] chrpath: We should provide chrpath-replacement-native and install into a native specific directory
2012-10-02 17:30 ` McClintock Matthew-B29882
@ 2012-10-02 20:19 ` Richard Purdie
0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2012-10-02 20:19 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: openembedded-core
On Tue, 2012-10-02 at 17:30 +0000, McClintock Matthew-B29882 wrote:
> On Tue, Oct 2, 2012 at 11:29 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > On Tue, 2012-10-02 at 16:22 +0000, McClintock Matthew-B29882 wrote:
> >> Docs need to be updated, there was also a build warning if it was not
> >> installed - did that get removed too?
> >
> > You still need chrpath installed, this just avoids a different set of
> > problems in nativesdk and corrected ASSUME_PROVIDED.
>
> You still need it installed on your host?
Correct, it gets used for native sstate for example.
I've tried to remove this before and you get stuck in circular
dependencies which I decided weren’t worth the pain.
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-02 20:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 13:13 [PATCH] chrpath: We should provide chrpath-replacement-native and install into a native specific directory Richard Purdie
2012-10-02 16:22 ` McClintock Matthew-B29882
2012-10-02 16:29 ` Richard Purdie
2012-10-02 17:30 ` McClintock Matthew-B29882
2012-10-02 20:19 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox