(self, install_session: Installer)
| 100 | |
| 101 | @override |
| 102 | def install(self, install_session: Installer) -> None: |
| 103 | # Install common packages for all desktop environments |
| 104 | install_session.add_additional_packages(self.packages) |
| 105 | |
| 106 | xorg_installed = False |
| 107 | |
| 108 | for profile in self.current_selection: |
| 109 | info(f'Installing profile {profile.name}...') |
| 110 | |
| 111 | install_session.add_additional_packages(profile.packages) |
| 112 | install_session.enable_service(profile.services) |
| 113 | |
| 114 | if not xorg_installed and profile.display_server == DisplayServerType.Xorg: |
| 115 | install_session.add_additional_packages(['xorg-server', 'xorg-xinit']) |
| 116 | xorg_installed = True |
| 117 | |
| 118 | profile.install(install_session) |
nothing calls this directly
no test coverage detected