summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/rootfs.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-01-18 15:40:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-14 14:42:17 +0000
commitb9c550dd6e98dc6c79a01ba27937f3c2a9876ee6 (patch)
tree205efb847adcbffdf4878ccd7f0f3b0769ec7713 /meta/lib/oe/rootfs.py
parentcf7e0baffae0bbeb021060b0d10fb263a4651f53 (diff)
downloadpoky-b9c550dd6e98dc6c79a01ba27937f3c2a9876ee6.tar.gz
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>
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-rw-r--r--meta/lib/oe/rootfs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index cc111ff3c8..74c643b3b9 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -87,7 +87,10 @@ class Rootfs(object, metaclass=ABCMeta):
87 def _insert_feed_uris(self): 87 def _insert_feed_uris(self):
88 if bb.utils.contains("IMAGE_FEATURES", "package-management", 88 if bb.utils.contains("IMAGE_FEATURES", "package-management",
89 True, False, self.d): 89 True, False, self.d):
90 self.pm.insert_feeds_uris() 90 self.pm.insert_feeds_uris(self.d.getVar('PACKAGE_FEED_URIS') or "",
91 self.d.getVar('PACKAGE_FEED_BASE_PATHS') or "",
92 self.d.getVar('PACKAGE_FEED_ARCHS'))
93
91 94
92 @abstractmethod 95 @abstractmethod
93 def _handle_intercept_failure(self, failed_script): 96 def _handle_intercept_failure(self, failed_script):