Patchwork [CONSOLIDATED,PULL,27/28] package-index: inherit pythonnative

login
register
mail settings
Submitter Saul Wold
Date July 25, 2012, 7:19 a.m.
Message ID <15022752b9a54f2f9855d89a3ce34bb89db3cfb4.1343200454.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/33011/
State New
Headers show

Comments

Saul Wold - July 25, 2012, 7:19 a.m.
From: Robert Yang <liezhi.yang@windriver.com>

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@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/meta/package-index.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-core/meta/package-index.bb b/meta/recipes-core/meta/package-index.bb
index 96d54e3..3d7bb7e 100644
--- a/meta/recipes-core/meta/package-index.bb
+++ b/meta/recipes-core/meta/package-index.bb
@@ -1,6 +1,8 @@ 
 DESCRIPTION = "Rebuild the package index"
 LICENSE = "MIT"
 
+inherit pythonnative
+
 INHIBIT_DEFAULT_DEPS = "1"
 ALLOW_EMPTY = "1"
 PACKAGES = ""