From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Sui1F-0001Fx-TF for openembedded-core@lists.openembedded.org; Fri, 27 Jul 2012 12:43:46 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id q6RAW9cS016372 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Fri, 27 Jul 2012 03:32:09 -0700 (PDT) Received: from [128.224.163.142] (128.224.163.142) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Fri, 27 Jul 2012 03:32:08 -0700 Message-ID: <50126E27.4060906@windriver.com> Date: Fri, 27 Jul 2012 18:32:07 +0800 From: Robert Yang User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer References: <7affb352c173c353df0b69002f3ca0f5ee0502cf.1343124846.git.liezhi.yang@windriver.com> <1343126992.22222.11.camel@ted> <5011EC61.3050006@windriver.com> In-Reply-To: <5011EC61.3050006@windriver.com> Cc: Zhenfeng.Zhao@windriver.com Subject: Re: [PATCH 1/1] package-index: inherit pythonnative X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 10:43:46 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 >>> --- >>> 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@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >> >> > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > >