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:30:19 +0000 |
commit | 56a866ba51d0333014c48ee0489c3d67e28cea1a (patch) | |
tree | c6f2c9471b7275f10afdfabf4f1322f678356836 /meta/recipes-core | |
parent | a0a045098115d94d31f6fcd3c16dd286ce16d84a (diff) | |
download | poky-56a866ba51d0333014c48ee0489c3d67e28cea1a.tar.gz |
package-index.bb: use the new python indexing routines
(From OE-Core rev: 1ee44591a8475121ea949cd2d8518a6dac965a19)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-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" | |||
21 | do_package_index[nostamp] = "1" | 21 | do_package_index[nostamp] = "1" |
22 | do_package_index[depends] += "${PACKAGEINDEXDEPS}" | 22 | do_package_index[depends] += "${PACKAGEINDEXDEPS}" |
23 | 23 | ||
24 | do_package_index() { | 24 | python do_package_index() { |
25 | set -ex | 25 | from oe.rootfs import generate_index_files |
26 | ${PACKAGEINDEXES} | 26 | generate_index_files(d) |
27 | set +ex | ||
28 | } | 27 | } |
29 | addtask do_package_index before do_build | 28 | addtask do_package_index before do_build |
30 | EXCLUDE_FROM_WORLD = "1" | 29 | EXCLUDE_FROM_WORLD = "1" |