Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 0/3] Bug 2134 - bitbake package-index fails for rpm
Date: Fri, 13 Apr 2012 15:17:11 -0700	[thread overview]
Message-ID: <4F88A5E7.4000500@linux.intel.com> (raw)
In-Reply-To: <cover.1334154247.git.andrei@gherzan.ro>

On 04/11/2012 07:26 AM, Andrei Gherzan wrote:
> The bug is that the native python used to run genpkgmetadata.py is picking up
> host's python modules.
>
> More about this. RPM is built without python. And this modules is needed by the
> above py file.
>
> So:
> 1. rpm-native should be built with python support.
> 2. native python should only look into STAGING_DIR_NATIVE directory for
> modules.
> 3. createrepo scripts should use native python
>
>
> The following changes since commit 190f6d791d51aaa4cfb9f1cf932bc205ff674fb5:
>
>    runqemu-internal: Add console=tty for qemuppc and NFS (2012-04-06 01:12:47 +0100)
>
> are available in the git repository at:
>    git://git.yoctoproject.org/poky-contrib ag/package-index
>    http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ag/package-index
>
> Andrei Gherzan (3):
>    createrepo: Python scripts should use the python interpreter from env
>    package-index: Force NATIVE python to use modules from
>      STAGING_DIR_NATIVE
>    rpm-native: Compile python rpm module (with-python)
>
>   meta/recipes-core/meta/package-index.bb            |    3 +
>   meta/recipes-devtools/rpm/rpm_5.4.0.bb             |    2 -
>   ...n-scripts-should-use-interpreter-from-env.patch |   47 ++++++++++++++++++++
>   .../createrepo/createrepo_0.4.11.bb                |    3 +-
>   4 files changed, 52 insertions(+), 3 deletions(-)
>   create mode 100644 meta/recipes-support/createrepo/createrepo/python-scripts-should-use-interpreter-from-env.patch
>

Merged into OE-Core

Thanks
	Sau!



      parent reply	other threads:[~2012-04-13 22:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-11 14:26 [PATCH 0/3] Bug 2134 - bitbake package-index fails for rpm Andrei Gherzan
2012-04-11 14:26 ` [PATCH 1/3] createrepo: Python scripts should use the python interpreter from env Andrei Gherzan
2012-04-11 14:26 ` [PATCH 2/3] package-index: Force NATIVE python to use modules from STAGING_DIR_NATIVE Andrei Gherzan
2012-04-11 14:26 ` [PATCH 3/3] rpm-native: Compile python rpm module (with-python) Andrei Gherzan
2012-04-13 22:17 ` Saul Wold [this message]

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=4F88A5E7.4000500@linux.intel.com \
    --to=sgw@linux.intel.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