lib/oe/package_manager: remove package feed lists

Remove opkg package feed lists after generating the rootfs. The
lists have been generated by the local feed but are no longer
necessary after image generation. This still leaves the package
management fully usable (and hence is different from omitting
package-management from IMAGE_FEATURES).

(From OE-Core rev: 25477874ef737777cedc623a8e1c5aedf2f4bae1)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Stefan Agner
2016-01-27 15:14:26 -08:00
committed by Richard Purdie
parent c43da12333
commit db81fc967a
2 changed files with 9 additions and 4 deletions

View File

@@ -949,7 +949,7 @@ class OpkgRootfs(DpkgOpkgRootfs):
self._log_check_error()
def _cleanup(self):
pass
self.pm.remove_lists()
def get_class_for_type(imgtype):
return {"rpm": RpmRootfs,