Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
svartkanin committed Sep 4, 2023
1 parent 849c71b commit 80e568c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion archinstall/lib/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,8 @@ def create_pacman_hook(contents: str):
Exec = /usr/bin/cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/
""")
else:
parent_dev_path = disk.device_handler.get_parent_device_path(boot_partition.safe_dev_path)

try:
# The `limine.sys` file, contains stage 3 code.
cmd = f'/usr/bin/arch-chroot' \
Expand All @@ -987,7 +989,7 @@ def create_pacman_hook(contents: str):
f' {self.target}' \
f' limine' \
f' bios-install' \
f' {boot_partition.dev_path}'
f' {parent_dev_path}'

SysCommand(cmd, peek_output=True)
except SysCallError as err:
Expand Down

0 comments on commit 80e568c

Please sign in to comment.