Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-24 20:37:41 +0200
committerGitHub <noreply@github.com>2021-05-24 20:37:41 +0200
commita8e0d3a130bc7afbf9bee022665f9301707249a2 (patch)
tree126d1f71e3811fa47b5e95be6c925e9029115354 /examples
parent324413cd47c459b0be7f06c6ebe49409ad9693a2 (diff)
parent2aed8c6ad5a8ab31accb6d618bca4798591cf415 (diff)
Merge pull request #513 from l4zy0n3/remove-builtins
Removed builtins and added gfx_package key in config file
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 73fded4e..1f67a460 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -5,7 +5,7 @@ import time
import archinstall
from archinstall.lib.general import run_custom_user_commands
-from archinstall.lib.hardware import has_uefi
+from archinstall.lib.hardware import has_uefi, AVAILABLE_GFX_DRIVERS
from archinstall.lib.networking import check_mirror_reachable
from archinstall.lib.profiles import Profile
@@ -450,5 +450,8 @@ else:
archinstall.arguments['mirror-region'] = {selected_region: archinstall.list_mirrors()[selected_region]}
archinstall.arguments['sys-language'] = archinstall.arguments.get('sys-language', 'en_US')
archinstall.arguments['sys-encoding'] = archinstall.arguments.get('sys-encoding', 'utf-8')
-
+ if archinstall.arguments.get('gfx_driver', None) is not None:
+ archinstall.storage['gfx_driver_packages'] = AVAILABLE_GFX_DRIVERS.get(archinstall.arguments.get('gfx_driver', None), None)
+
+
perform_installation_steps()