Patchwork [2/3] package-index.bb: use the new python indexing routines

login
register
mail settings
Submitter Laurentiu Palcu
Date Feb. 14, 2014, 11:01 a.m.
Message ID <46bdee08ca081303dc1a2eb3d560d8f2d16ecfc5.1392375539.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/66751/
State Accepted
Commit 56a866ba51d0333014c48ee0489c3d67e28cea1a
Headers show

Comments

Laurentiu Palcu - Feb. 14, 2014, 11:01 a.m.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/recipes-core/meta/package-index.bb |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Patch

diff --git a/meta/recipes-core/meta/package-index.bb b/meta/recipes-core/meta/package-index.bb
index 3cc1239..27b6d8e 100644
--- a/meta/recipes-core/meta/package-index.bb
+++ b/meta/recipes-core/meta/package-index.bb
@@ -21,10 +21,9 @@  do_populate_sysroot[noexec] = "1"
 do_package_index[nostamp] = "1"
 do_package_index[depends] += "${PACKAGEINDEXDEPS}"
 
-do_package_index() {
-	set -ex
-	${PACKAGEINDEXES}
-	set +ex
+python do_package_index() {
+    from oe.rootfs import generate_index_files
+    generate_index_files(d)
 }
 addtask do_package_index before do_build
 EXCLUDE_FROM_WORLD = "1"