[oe-commits] Laurentiu Palcu : package-index.bb: use the new python indexing routines
git at git.openembedded.org
git at git.openembedded.org
Mon Feb 17 16:57:57 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 1ee44591a8475121ea949cd2d8518a6dac965a19
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1ee44591a8475121ea949cd2d8518a6dac965a19
Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date: Fri Feb 14 13:01:06 2014 +0200
package-index.bb: use the new python indexing routines
Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/meta/package-index.bb | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
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"
More information about the Openembedded-commits
mailing list