mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
package_manager.py: improve the API for insert_feed_uris()
No need to store the configuration as class members, just pass it directly into the method. (From OE-Core rev: a5cc38481be3c5e6ccbecf951f9fdc049e5101d5) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
cf7e0baffa
commit
b9c550dd6e
@@ -87,7 +87,10 @@ class Rootfs(object, metaclass=ABCMeta):
|
||||
def _insert_feed_uris(self):
|
||||
if bb.utils.contains("IMAGE_FEATURES", "package-management",
|
||||
True, False, self.d):
|
||||
self.pm.insert_feeds_uris()
|
||||
self.pm.insert_feeds_uris(self.d.getVar('PACKAGE_FEED_URIS') or "",
|
||||
self.d.getVar('PACKAGE_FEED_BASE_PATHS') or "",
|
||||
self.d.getVar('PACKAGE_FEED_ARCHS'))
|
||||
|
||||
|
||||
@abstractmethod
|
||||
def _handle_intercept_failure(self, failed_script):
|
||||
|
||||
Reference in New Issue
Block a user