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>
pm.write_index()
pm.update()
- for pkg_type in self.install_order:
+ for pkg_type in Manifest.INSTALL_ORDER:
if pkg_type in pkgs_to_install:
pm.install(pkgs_to_install[pkg_type],
[False, True][pkg_type == Manifest.PKG_TYPE_ATTEMPT_ONLY])
pm.update()
- for pkg_type in self.install_order:
+ for pkg_type in Manifest.INSTALL_ORDER:
if pkg_type in pkgs_to_install:
pm.install(pkgs_to_install[pkg_type],
[False, True][pkg_type == Manifest.PKG_TYPE_ATTEMPT_ONLY])
self.remove(self.sdk_output, True)
- self.install_order = Manifest.INSTALL_ORDER
-
@abstractmethod
def _populate(self):
pass