The install_order instance variable was only ever set to
Manifest.INSTALL_ORDER, modified nowhere and used as is. Instead of
using an instance variable use Manifest.INSTALL_ORDER directly to
simplify the code for those reading it.
No functional changes.
Signed-off-by: Rouven Czerwinski <rouven.czerwinski@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if self.progress_reporter:
self.progress_reporter.next_stage()
- for pkg_type in self.install_order:
+ for pkg_type in Manifest.INSTALL_ORDER:
if pkg_type in pkgs_to_install:
self.pm.install(pkgs_to_install[pkg_type],
[False, True][pkg_type == Manifest.PKG_TYPE_ATTEMPT_ONLY])
if self.progress_reporter:
self.progress_reporter.next_stage()
- for pkg_type in self.install_order:
+ for pkg_type in Manifest.INSTALL_ORDER:
if pkg_type in pkgs_to_install:
# For multilib, we perform a sanity test before final install
# If sanity test fails, it will automatically do a bb.fatal()
self.logcatcher = logcatcher
self.warn_check_regex = r'^(warn|Warn|WARNING:)'
- self.install_order = Manifest.INSTALL_ORDER
-
@abstractmethod
def _create(self):
pass