Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-04-25 10:20:00 +0200
committerAnton Hvornum <anton@hvornum.se>2022-04-25 10:20:00 +0200
commit1bce561a0ca22d6735f9a46ee39e5e22e0c17cb8 (patch)
treebe064443afa195ba374b63043bafc4343245a8ea /archinstall/lib/installer.py
parent44727e64ea40d08e4a9f18d3e36bba474a185176 (diff)
Bumped up default timout, as 5 seconds is not enough for some platforms.
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 9959b0a8..14a2a703 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -740,14 +740,14 @@ class Installer:
else:
loader_data = [
f"default {self.init_time}",
- "timeout 5"
+ "timeout 15"
]
with open(f'{self.target}/boot/loader/loader.conf', 'w') as loader:
for line in loader_data:
if line[:8] == 'default ':
loader.write(f'default {self.init_time}_{self.kernels[0]}\n')
- elif line[:8] == '#timeout' and 'timeout 5' not in loader_data:
+ elif line[:8] == '#timeout' and 'timeout 15' not in loader_data:
# We add in the default timeout to support dual-boot
loader.write(f"{line[1:]}\n")
else: