MCPcopy Index your code
hub / github.com/archlinux/archinstall / install

Method install

archinstall/default_profiles/desktop.py:102–118  ·  view source on GitHub ↗
(self, install_session: Installer)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 3

infoFunction · 0.90
enable_serviceMethod · 0.80

Tested by

no test coverage detected