def PostInstallWithTasks(self) -> List[ObjPath]: """Execute post installation steps. FIXME: Temporary -- installation methods will be provided only by the main service """ return TaskContainer.to_object_path_list( self.implementation.post_install_with_tasks())
def InstallWithTasks(self) -> List[ObjPath]: """Install the payload. FIXME: Temporary -- installation methods will be provided only by the main service """ return TaskContainer.to_object_path_list( self.implementation.install_with_tasks())
def TeardownWithTasks(self) -> List[ObjPath]: """Returns teardown tasks for this module. :returns: list of object paths of installation tasks """ return TaskContainer.to_object_path_list( self.implementation.teardown_with_tasks())
def InstallWithTasks(self) -> List[ObjPath]: """Returns installation tasks of this module. :returns: list of object paths of installation tasks """ return TaskContainer.to_object_path_list( self.implementation.install_with_tasks())
def PostInstallWithTasks(self) -> List[ObjPath]: """Do post installation tasks. * [NO] check installation requirements were applied (Payload) """ return TaskContainer.to_object_path_list( self.implementation.post_install_with_tasks())
def InstallWithTasks(self) -> List[ObjPath]: """Returns installation tasks of this module. Note: Addons should use it instead of the execute method. :returns: list of object paths of installation tasks """ return TaskContainer.to_object_path_list( self.implementation.install_with_tasks())
def ConfigureWithTasks(self) -> List[ObjPath]: """Configure the runtime environment. Note: Addons should use it instead of the setup method. :returns: a list of object paths of installation tasks """ return TaskContainer.to_object_path_list( self.implementation.configure_with_tasks())
def InstallWithTasks(self) -> List[ObjPath]: """Returns installation tasks of this module. FIXME: This is a temporary workaround for the Web UI. :returns: list of object paths of installation tasks """ return TaskContainer.to_object_path_list( self.implementation.install_with_tasks())
def FinishInstallationWithTasks(self) -> List[ObjPath]: """Finish installation with tasks. FIXME: This is a temporary workaround for the Boss module. :return: a list of D-Bus paths of tasks """ tasks = self.implementation.finish_installation_with_tasks() return TaskContainer.to_object_path_list(tasks)
def ConfigureBootloaderWithTasks(self, kernel_versions: List[Str]) -> List[ObjPath]: """Configure the bootloader after the payload installation. FIXME: This is a temporary workaround. The method might change. :param kernel_versions: a list of kernel versions :return: list of object paths of installation tasks """ return TaskContainer.to_object_path_list( self.implementation.configure_bootloader_with_tasks(kernel_versions) )
def GenerateInitramfsWithTasks(self, payload_type: Str, kernel_versions: List[Str]) \ -> List[ObjPath]: """Generate initramfs with a list of tasks. FIXME: This is just a temporary method. :param payload_type: a string with the payload type :param kernel_versions: a list of kernel versions :return: a list of paths to DBus tasks """ tasks = self.implementation.generate_initramfs_with_tasks( payload_type, kernel_versions ) return TaskContainer.to_object_path_list(tasks)
def InstallBootloaderWithTasks(self, payload_type: Str, kernel_versions: List[Str]) \ -> List[ObjPath]: """Install the bootloader with a list of tasks. FIXME: This is just a temporary method. :param payload_type: a string with the payload type :param kernel_versions: a list of kernel versions :return: a list of paths to DBus tasks """ tasks = self.implementation.install_bootloader_with_tasks( payload_type, kernel_versions ) return TaskContainer.to_object_path_list(tasks)