Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAggam Rahamim <agamclass@gmail.com>2021-04-16 12:01:20 +0300
committerAggam Rahamim <agamclass@gmail.com>2021-04-16 12:01:20 +0300
commit459f161cf0432393443272ac5b1aa5fc0cd7fd16 (patch)
tree26166d3f3752d87c0ed3c4d66f348c2f786db554 /archinstall
parent2433a9ee76802fd2e8e71fcb31b01e8406d7aa48 (diff)
added option to choose kernel
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/installer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 758033a7..d21040fa 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -34,7 +34,8 @@ class Installer():
:type hostname: str, optional
"""
- def __init__(self, target, *, base_packages='base base-devel linux linux-firmware efibootmgr'):
+ def __init__(self, target, *, base_packages='base base-devel linux-firmware efibootmgr', kernel='linux'):
+ base_packages += ' '+kernel
self.target = target
self.init_time = time.strftime('%Y-%m-%d_%H-%M-%S')
self.milliseconds = int(str(time.time()).split('.')[1])