]> code.ossystems Code Review - openembedded-core.git/commit
package_manager.py, rootfs.py, sdk.py: add Indexer class
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Fri, 14 Feb 2014 11:01:05 +0000 (13:01 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Feb 2014 12:25:13 +0000 (12:25 +0000)
commitd339d6f48f81330e94162f333aad76f3c65d6bfd
tree360cab7d4404f98a71477a3c07a40c634360a2b5
parentf3fa7577e8153b537948cf48711ffe03dbab6b3b
package_manager.py, rootfs.py, sdk.py: add Indexer class

Because the package-index.bb needs to create package indexes outside
do_rootfs environment, move the indexing capability out of
PackageManager class to a smaller Indexer class.

This commit:
 * simply moves the indexing functions for ipk/deb with no changes;
 * rewrites the RPM indexing function so that it can be easily moved out
   of the PackageManager class;
 * removes some RPM duplicate code, moves it into a method inside
   RpmPM class and changes the RpmPM constructor so that the new method
   is effective;

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py
meta/lib/oe/rootfs.py
meta/lib/oe/sdk.py