Exemple #1
0
    def find_existing_systems_with_task(self):
        """"Find existing GNU/Linux installations.

        The task will update data about existing installations.

        :return: a task
        """
        task = FindExistingSystemsTask(self.storage.devicetree)
        task.succeeded_signal.connect(
            lambda: self._update_existing_systems(task.get_result()))
        return task
Exemple #2
0
    def find_existing_systems_with_task(self):
        """"Find existing GNU/Linux installations.

        The task will update data about existing installations.

        :return: a path to the task
        """
        task = FindExistingSystemsTask(self.storage.devicetree)
        task.succeeded_signal.connect(
            lambda: self._update_existing_systems(task.get_result()))
        path = self.publish_task(DEVICE_TREE_HANDLER.namespace, task)
        return path