def run_install(self, packages, metalinks): """ Perform installation """ txt = _("Cnchi will install Reborn OS on device %s") logging.info(txt, self.auto_device) self.settings.set('auto_device', self.auto_device) ssd = {self.auto_device: fs.is_ssd(self.auto_device)} self.installation = install.Installation(self.settings, self.callback_queue, packages, metalinks, self.mount_devices, self.fs_devices, ssd) self.installation.start()
def start_installation(self): txt = _("Thus will install Manjaro on device {0}") txt = txt.format(self.auto_device) logging.info(txt) checkbox = self.ui.get_object("bootloader_device_check") if checkbox.get_active() is False: self.settings.set('bootloader_install', False) logging.warning(_("Thus will not install any bootloader")) else: self.settings.set('bootloader_install', True) if os.path.exists('/sys/firmware/efi'): if self.bootloader == "grub2": self.settings.set('bootloader_device', '/boot/efi') elif self.bootloader == 'gummiboot': self.settings.set('bootloader_device', '/boot') else: self.settings.set('bootloader_device', self.bootloader_device) self.settings.set('bootloader', self.bootloader) msg = _("Thus will install the bootloader '{0}' in device '{1}'") msg = msg.format(self.bootloader, self.bootloader_device) logging.info(msg) # We don't need to pass which devices will be mounted nor which filesystems # the devices will be formatted with, as auto_partition.py takes care of everything # in an automatic installation. mount_devices = {} fs_devices = {} self.settings.set('auto_device', self.auto_device) ssd = {self.auto_device: fs.is_ssd(self.auto_device)} if not self.testing: self.process = installation_process.InstallationProcess( self.settings, self.callback_queue, mount_devices, fs_devices, ssd) self.process.start() else: logging.warning(_("Testing mode. Thus won't apply any changes to your system!"))
def start_installation(self): txt = _("Thus will install Manjaro on device {0}") txt = txt.format(self.auto_device) logging.info(txt) checkbox = self.ui.get_object("bootloader_device_check") if checkbox.get_active() is False: self.settings.set('bootloader_install', False) logging.warning(_("Thus will not install any bootloader")) else: self.settings.set('bootloader_install', True) if os.path.exists('/sys/firmware/efi'): if self.bootloader == "grub2": self.settings.set('bootloader_device', '/boot/efi') elif self.bootloader == 'systemd-boot': self.settings.set('bootloader_device', '/boot') else: self.settings.set('bootloader_device', self.bootloader_device) self.settings.set('bootloader', self.bootloader) msg = _("Thus will install the bootloader '{0}' in device '{1}'") msg = msg.format(self.bootloader, self.bootloader_device) logging.info(msg) # We don't need to pass which devices will be mounted nor which filesystems # the devices will be formatted with, as auto_partition.py takes care of everything # in an automatic installation. mount_devices = {} fs_devices = {} self.settings.set('auto_device', self.auto_device) ssd = {self.auto_device: fs.is_ssd(self.auto_device)} if not self.testing: self.process = installation_process.InstallationProcess( self.settings, self.callback_queue, mount_devices, fs_devices, ssd) self.process.start() else: logging.warning(_("Testing mode. Thus won't apply any changes to your system!"))
def run_install(self, packages, metalinks): """ Perform installation """ txt = _("Cnchi will install Antergos on device %s") logging.info(txt, self.auto_device) self.settings.set('auto_device', self.auto_device) ssd = {self.auto_device: fs.is_ssd(self.auto_device)} self.installation = install.Installation( self.settings, self.callback_queue, packages, metalinks, self.mount_devices, self.fs_devices, ssd) self.installation.start()
def run_install(self, packages, metalinks): txt = _("DSGos_Installer will install DSGos on device %s") logging.info(txt, self.auto_device) self.settings.set('auto_device', self.auto_device) ssd = {self.auto_device: fs.is_ssd(self.auto_device)} if not self.testing: self.installation = install.Installation( self.settings, self.callback_queue, packages, metalinks, self.mount_devices, self.fs_devices, ssd) self.installation.start() else: logging.debug("Testing mode, not changing anything")
def start_installation(self): txt = _("Cnchi will install Antergos on device %s") logging.info(txt, self.auto_device) checkbox = self.ui.get_object("bootloader_device_check") if checkbox.get_active() is False: self.settings.set('bootloader_install', False) logging.warning(_("Cnchi will not install any bootloader")) else: self.settings.set('bootloader_install', True) self.settings.set('bootloader_device', self.bootloader_device) self.settings.set('bootloader', self.bootloader) msg = _("Antergos will install the bootloader '{0}' in device '{1}'") msg = msg.format(self.bootloader, self.bootloader_device) logging.info(msg) # We don't need to pass which devices will be mounted nor which filesystems # the devices will be formatted with, as auto_partition.py takes care of everything # in an automatic installation. mount_devices = {} fs_devices = {} self.settings.set('auto_device', self.auto_device) ssd = {self.auto_device: fs.is_ssd(self.auto_device)} if not self.testing: self.process = installation_process.InstallationProcess( self.settings, self.callback_queue, mount_devices, fs_devices, self.alternate_package_list, ssd) self.process.start() else: logging.warning(_("Testing mode. Cnchi will not change anything!"))