def install_with_tasks(self): """Return the installation tasks of this module. :returns: list of installation tasks """ return [ ConfigureInitialSetupTask( sysroot=conf.target.system_root, setup_on_boot=self.setup_on_boot ), ConfigurePostInstallationToolsTask( sysroot=conf.target.system_root, tools_enabled=self.post_install_tools_enabled ), ConfigureServicesTask( sysroot=conf.target.system_root, disabled_services=self.disabled_services, enabled_services=self.enabled_services ), ConfigureSystemdDefaultTargetTask( sysroot=conf.target.system_root, default_target=self.default_target ), ConfigureDefaultDesktopTask( sysroot=conf.target.system_root, default_desktop=self.default_desktop ), ]
def install_with_tasks(self, sysroot): """Return the installation tasks of this module. :param str sysroot: a path to the root of the installed system :returns: list of object paths of installation tasks """ tasks = [ ConfigureInitialSetupTask( sysroot=sysroot, setup_on_boot=self.setup_on_boot ), ConfigurePostInstallationToolsTask( sysroot=sysroot, tools_enabled=self.post_install_tools_enabled ), ConfigureServicesTask( sysroot=sysroot, disabled_services=self.disabled_services, enabled_services=self.enabled_services ), ] paths = [ self.publish_task(SERVICES.namespace, task) for task in tasks ] return paths
def install_with_tasks(self): """Return the installation tasks of this module. :returns: list of object paths of installation tasks """ tasks = [ ConfigureInitialSetupTask( sysroot=conf.target.system_root, setup_on_boot=self.setup_on_boot ), ConfigurePostInstallationToolsTask( sysroot=conf.target.system_root, tools_enabled=self.post_install_tools_enabled ), ConfigureServicesTask( sysroot=conf.target.system_root, disabled_services=self.disabled_services, enabled_services=self.enabled_services ), ConfigureSystemdDefaultTargetTask( sysroot=conf.target.system_root, default_target=self.default_target ), ConfigureDefaultDesktopTask( sysroot=conf.target.system_root, default_desktop=self.default_desktop ), ] paths = [ self.publish_task(SERVICES.namespace, task) for task in tasks ] return paths
def install_with_tasks(self, sysroot): """Return the installation tasks of this module. :param str sysroot: a path to the root of the installed system :returns: list of object paths of installation tasks """ tasks = [ ConfigureInitialSetupTask(sysroot=sysroot, setup_on_boot=self.setup_on_boot) ] paths = [self.publish_task(SERVICES.namespace, task) for task in tasks] return paths