From: Robert Yang <liezhi.yang@windriver.com>
Cc: Zhenfeng.Zhao@windriver.com,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] createrepo 0.4.11: fix the RDEPENDS
Date: Mon, 23 Jul 2012 10:21:47 +0800 [thread overview]
Message-ID: <500CB53B.70205@windriver.com> (raw)
In-Reply-To: <5009F538.6090007@linux.intel.com>
On 07/21/2012 08:18 AM, Saul Wold wrote:
> On 07/20/2012 02:49 AM, Robert Yang wrote:
>> The libxml2-native and rpm-native should be ready before createrepo
>> runs since it needs "import libxml2 rpm".
>>
>> The target createrepo needs libxml2-python when run, but the libxml2
>> doesn't generate the python module (disabled). We may need to fix it
>> or rename the recipe to createrepo-native_0.4.11.bb.
>>
>> This recipe is only for the rpm backend system.
>>
>> [YOCTO #2753]
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> .../createrepo/createrepo_0.4.11.bb | 4 +++-
>> 1 files changed, 3 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb
>> b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
>> index 060ed59..7a4d059 100644
>> --- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb
>> +++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
>> @@ -4,7 +4,9 @@ HOMEPAGE = "http://createrepo.baseurl.org/"
>> LICENSE = "GPLv2+"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
>>
>> -PR = "r3"
>> +RDEPENDS_${PN}_virtclass-native += "libxml2-native rpm-native"
>> +
> This should not be required here since the package_rpm.bbclass contains a line:
> PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot"
>
> We might need to add libxml2-native to the PACKAGEINDEXDEPS
>
Thanks, but we may manually run createrepo, if we just "bitbake createrepo" and
manually run createrepo, it would be failed if rpm-native is not ready.
> This was merged into OE-0Core, but the real issue turned out to be sstate across
> different distros.
>
I had tried to use sstate across different distros (ubuntu 12.04 64bit and FC 17
64 bit),
there were strange errors.
// Robert
> Sau!
>
>
>
>> +PR = "r4"
>>
>> SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \
>> file://fix-native-install.patch \
>>
>
>
>
next prev parent reply other threads:[~2012-07-23 2:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-20 9:49 [PATCH 0/2] package_rpm and createrepo fixes Robert Yang
2012-07-20 9:49 ` [PATCH 1/2] package_rpm: DEPLOY_DIR_RPM must exist before make index Robert Yang
2012-07-20 9:49 ` [PATCH 2/2] createrepo 0.4.11: fix the RDEPENDS Robert Yang
2012-07-21 0:18 ` Saul Wold
2012-07-22 10:37 ` Richard Purdie
2012-07-23 2:21 ` Robert Yang [this message]
2012-07-21 0:19 ` [PATCH 0/2] package_rpm and createrepo fixes Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=500CB53B.70205@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=Zhenfeng.Zhao@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox