[oe] [PATCH 2/3] package_ipk: optimize do_package_update_index_ipk

Richard Purdie rpurdie at rpsys.net
Thu Jun 18 13:00:36 UTC 2009


On Wed, 2009-06-17 at 23:41 +0400, Roman I Khimov wrote:
> If there are no package updates since last index update, don't re-create
> indexes. Really helps when building something like 10 images.

ipkg-make-index should have caching internally such that it only
rebuilds the segments of packages that have changed. If this patch makes
a significant difference, we should fix ipkg-make-index.

Also, just because the number of .ipk files matches the number of files
in the index it doesn't mean nothing changed (think about a package
being rebuilt and having just its dependencies changes).

Finally, using date stamps also doesn't work with packaged staging.

So a definite NAK I'm afraid, please fix ipkg-make-index.

Richard






More information about the Openembedded-devel mailing list