Skip to content

Commit f12c704

Browse files
committed
Put Limine config and BIOS files in a limine/ subdir
1 parent aa44474 commit f12c704

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

archinstall/lib/installer.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ def _add_limine_bootloader(
12731273

12741274
try:
12751275
# The `limine-bios.sys` file contains stage 3 code.
1276-
shutil.copy(limine_path / 'limine-bios.sys', self.target / 'boot')
1276+
shutil.copy(limine_path / 'limine-bios.sys', self.target / 'boot' / 'limine')
12771277

12781278
# `limine bios-install` deploys the stage 1 and 2 to the
12791279
SysCommand(f'arch-chroot {self.target} limine bios-install {parent_dev_path}', peek_output=True)
@@ -1282,7 +1282,7 @@ def _add_limine_bootloader(
12821282

12831283
hook_command = (
12841284
f'/usr/bin/limine bios-install {parent_dev_path}'
1285-
f' && /usr/bin/cp /usr/share/limine/limine-bios.sys /boot/'
1285+
f' && /usr/bin/cp /usr/share/limine/limine-bios.sys /boot/limine/'
12861286
)
12871287

12881288
hook_contents = f'''[Trigger]
@@ -1325,7 +1325,7 @@ def _add_limine_bootloader(
13251325
config_contents += f'\n/Arch Linux ({kernel}{variant})\n'
13261326
config_contents += '\n'.join([f' {it}' for it in entry]) + '\n'
13271327

1328-
config_path = self.target / 'boot' / 'limine.conf'
1328+
config_path = self.target / 'boot' / 'limine' / 'limine.conf'
13291329
config_path.write_text(config_contents)
13301330

13311331
self.helper_flags['bootloader'] = "limine"

0 commit comments

Comments
 (0)