diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-02-14 13:01:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-14 12:25:13 +0000 |
commit | 1ee44591a8475121ea949cd2d8518a6dac965a19 (patch) | |
tree | b09bc3fa1f40b5e6f0abf530e67543ad1d7348f2 | |
parent | d339d6f48f81330e94162f333aad76f3c65d6bfd (diff) | |
download | openembedded-core-1ee44591a8475121ea949cd2d8518a6dac965a19.tar.gz openembedded-core-1ee44591a8475121ea949cd2d8518a6dac965a19.tar.bz2 openembedded-core-1ee44591a8475121ea949cd2d8518a6dac965a19.zip |
package-index.bb: use the new python indexing routines
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/meta/package-index.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-core/meta/package-index.bb b/meta/recipes-core/meta/package-index.bb index 3cc1239bab..27b6d8ea9f 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" |