Пример #1
0
 def __init__(self):
     super().__init__()
     self._url = ""
     self.url_changed = Signal()
     self._install_tree_path = ""
     self._device_mount = MountPointGenerator.generate_mount_point(
         self.type.value.lower() + "-device")
     self._iso_mount = MountPointGenerator.generate_mount_point(
         self.type.value.lower() + "-iso")
Пример #2
0
    def __init__(self, sysroot, configuration: LiveImageConfigurationData):
        """Create a new task.

        :param str sysroot: a path to the system root
        :param configuration: a configuration of an image
        :type configuration: LiveImageConfigurationData
        """
        super().__init__()
        self._sysroot = sysroot
        self._configuration = configuration
        self._kernel_version_list = []
        self._download_path = self._sysroot + "/source.img"
        self._image_mount_point = MountPointGenerator.generate_mount_point("image")
        self._iso_mount_point = MountPointGenerator.generate_mount_point("iso")
        self._content_path = None
Пример #3
0
 def __init__(self):
     super().__init__()
     self._mount_point = MountPointGenerator.generate_mount_point(self.type.value.lower())