From a157452ca5ce3e5e6bac2647b92869ba1e38eab9 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Thu, 27 Nov 2025 21:36:28 +1100 Subject: [PATCH 1/2] Enable cosmic-greeter service --- archinstall/lib/profile/profiles_handler.py | 39 +++++++++++---------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/archinstall/lib/profile/profiles_handler.py b/archinstall/lib/profile/profiles_handler.py index cfe85de913..e0de705cb2 100644 --- a/archinstall/lib/profile/profiles_handler.py +++ b/archinstall/lib/profile/profiles_handler.py @@ -78,27 +78,27 @@ def parse_profile_config(self, profile_config: ProfileSerialization) -> Profile self._import_profile_from_url(url_path) # if custom := profile_config.get('custom', None): - # from archinstall.default_profiles.custom import CustomTypeProfile - # custom_types = [] + # from archinstall.default_profiles.custom import CustomTypeProfile + # custom_types = [] # - # for entry in custom: - # custom_types.append( - # CustomTypeProfile( - # entry['name'], - # entry['enabled'], - # entry.get('packages', []), - # entry.get('services', []) - # ) - # ) + # for entry in custom: + # custom_types.append( + # CustomTypeProfile( + # entry['name'], + # entry['enabled'], + # entry.get('packages', []), + # entry.get('services', []) + # ) + # ) # - # self.remove_custom_profiles(custom_types) - # self.add_custom_profiles(custom_types) + # self.remove_custom_profiles(custom_types) + # self.add_custom_profiles(custom_types) # - # # this doesn't mean it's actual going to be set as a selection - # # but we are simply populating the custom profile with all - # # possible custom definitions - # if custom_profile := self.get_profile_by_name('Custom'): - # custom_profile.set_current_selection(custom_types) + # # this doesn't mean it's actual going to be set as a selection + # # but we are simply populating the custom profile with all + # # possible custom definitions + # if custom_profile := self.get_profile_by_name('Custom'): + # custom_profile.set_current_selection(custom_types) if main := profile_config.get('main', None): profile = self.get_profile_by_name(main) if main else None @@ -113,7 +113,7 @@ def parse_profile_config(self, profile_config: ProfileSerialization) -> Profile if details: for detail in filter(None, details): # [2024-04-19] TODO: Backwards compatibility after naming change: https://github.com/archlinux/archinstall/pull/2421 - # 'Kde' is deprecated, remove this block in a future version + # 'Kde' is deprecated, remove this block in a future version if detail == 'Kde': detail = 'KDE Plasma' @@ -204,6 +204,7 @@ def install_greeter(self, install_session: 'Installer', greeter: GreeterType) -> service = ['ly'] case GreeterType.CosmicSession: packages = ['cosmic-greeter'] + service = ['cosmic-greeter'] if packages: install_session.add_additional_packages(packages) From 1a5803b905a613499ccd6b2c00629f8bac11fd06 Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Thu, 27 Nov 2025 21:38:02 +1100 Subject: [PATCH 2/2] Update --- archinstall/lib/profile/profiles_handler.py | 23 --------------------- 1 file changed, 23 deletions(-) diff --git a/archinstall/lib/profile/profiles_handler.py b/archinstall/lib/profile/profiles_handler.py index e0de705cb2..d98fccfea8 100644 --- a/archinstall/lib/profile/profiles_handler.py +++ b/archinstall/lib/profile/profiles_handler.py @@ -77,29 +77,6 @@ def parse_profile_config(self, profile_config: ProfileSerialization) -> Profile else: self._import_profile_from_url(url_path) - # if custom := profile_config.get('custom', None): - # from archinstall.default_profiles.custom import CustomTypeProfile - # custom_types = [] - # - # for entry in custom: - # custom_types.append( - # CustomTypeProfile( - # entry['name'], - # entry['enabled'], - # entry.get('packages', []), - # entry.get('services', []) - # ) - # ) - # - # self.remove_custom_profiles(custom_types) - # self.add_custom_profiles(custom_types) - # - # # this doesn't mean it's actual going to be set as a selection - # # but we are simply populating the custom profile with all - # # possible custom definitions - # if custom_profile := self.get_profile_by_name('Custom'): - # custom_profile.set_current_selection(custom_types) - if main := profile_config.get('main', None): profile = self.get_profile_by_name(main) if main else None