Skip to contentSkip to conversation

chrpath: We should provide chrpath-replacement-native and install into a native specific directory

PATCH In review Richard Purdie 2 participants 5 messages Oct 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chrpath: We should provide chrpath-replacement-native and install into a native specific directory

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.

---

meta/recipes-devtools/chrpath/chrpath_0.14.bb +3 -0
index 679f1aa..bb9b4b6 100644
@@ -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"
#1 lore raw

Docs need to be updated, there was also a build warning if it was not installed - did that get removed too?

-M

Quoted 25 lines · Richard Purdie

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.

---

meta/recipes-devtools/chrpath/chrpath_0.14.bb +3 -0
index 679f1aa..bb9b4b6 100644
@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 2 lines · 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

#3 lore raw
Quoted 6 lines · Richard Purdie
Quoted 2 lines · 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

Quoted 10 lines

Cheers,

Richard

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#4 lore raw
Quoted 10 lines · On Tue, 2012-10-02 at 17:30 +0000, McClintock Matthew-B29882 wrote:
Quoted 6 lines · Richard Purdie
Quoted 2 lines · 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