[oe-commits] Laurentiu Palcu : package_manager.py, rootfs.py, sdk.py: add Indexer class

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: d339d6f48f81330e94162f333aad76f3c65d6bfd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d339d6f48f81330e94162f333aad76f3c65d6bfd

Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date:   Fri Feb 14 13:01:05 2014 +0200

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/lib/oe/package_manager.py | 339 ++++++++++++++++++++++++++---------------
 meta/lib/oe/rootfs.py          |  58 -------
 meta/lib/oe/sdk.py             |  48 +-----
 3 files changed, 221 insertions(+), 224 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=d339d6f48f81330e94162f333aad76f3c65d6bfd


More information about the Openembedded-commits mailing list