Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorYash Tripathi <tripathiyash97@gmail.com>2021-06-13 18:22:24 +0530
committerGitHub <noreply@github.com>2021-06-13 14:52:24 +0200
commitd30a22cae3e7a37d4141d3a6128e83fc3d47f9be (patch)
tree7ded54b2b2e938cd8e62a4c3b521e2716b7babb7 /profiles
parent4e17355796b257ea6af306f6b3af3e8fb78f94e4 (diff)
Setting proper keys in exported config (#557)
* Set the resolved profile path to the actual desktop environment * split Nvidia driver list into proprietary and open-source * Updated select_driver to use archinstall.arguments for driver selection * Adding default value that works with later .get() * audio will now be prompted irrespective of profile
Diffstat (limited to 'profiles')
-rw-r--r--profiles/desktop.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/profiles/desktop.py b/profiles/desktop.py
index c0710208..eaf145c2 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -54,6 +54,8 @@ def _prep_function(*args, **kwargs):
archinstall.storage['_desktop_profile'] = desktop
profile = archinstall.Profile(None, desktop)
+ # Set the resolved profile path to the actual desktop environment
+ archinstall.arguments['profile'] = profile
# Loading the instructions with a custom namespace, ensures that a __name__ comparison is never triggered.
with profile.load_instructions(namespace=f"{desktop}.py") as imported:
if hasattr(imported, '_prep_function'):