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

Robert Yang liezhi.yang at windriver.com
Fri Jul 27 10:32:07 UTC 2012


After talk with Richard, we'd better move the scripts/rpm-createsolvedb.py to
meta/recipes-support/createrepo/createrepo_0.4.11.bb, I will send an update
sooner, the current fix can be a workaround.

// Robert

On 07/27/2012 09:18 AM, Robert Yang wrote:
>
> Hi Richard,
>
> There was something wrong with my mail sever, I resend the answer now.
>
> 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
>>
>>
>
>
> _______________________________________________
> 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