[OE-core] [PATCH 1/1] package-index: inherit pythonnative

Robert Yang liezhi.yang at windriver.com
Wed Jul 25 03:31:16 UTC 2012


On 07/24/2012 06:49 PM, Richard Purdie wrote:
> On Tue, 2012-07-24 at 18:19 +0800, Robert Yang wrote:
>> The native python binary has been moved from usr/bin/python to
>> usr/bin/python-native/python, the recipe which needs python-native
>> should "inherit pythonnative", otherwise there would be errors when the
>> python script runs.
>>
>> [YOCTO #2822]
>>
>> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>> ---
>>   meta/recipes-core/meta/package-index.bb |    2 ++
>>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> Which part of this recipe needs python-native? Shouldn't scripts which
> need pythonnative be using the path to the python interpreter
> explicitly?
>

It is the poky/scripts/rpm-createsolvedb.py which needs python-native,
I think that if we want to use /path/to/python-native/python to run
rpm-createsolvedb.py or create a wrapper for it, we should put the
rpm-createsolvedb.py into a recipe. So I just inherit pythonnative
in package-index.bb to make it work. I wonder whether this will cause
something wrong, please?

// Robert

> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>





More information about the Openembedded-core mailing list