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-09-12 15:42:13 +0200
committerAnton Hvornum <anton@hvornum.se>2021-09-12 15:42:13 +0200
commit995edaf316ab42cec5adbc50b32c133ae2ec77b6 (patch)
treeea7f6685ae9b73352a04bd3ca0e7ba21cacf8d5f /examples
parentea41a6c2685a1f1d47df708862e27b5b5768c41d (diff)
Removed legacy need to add_bootloader
`add_bootloader` no longer needs to have a harddrive given as a argument. It will (and should) auto-detect what's mounted in the `self.target` (aka mountpoint) of the installation.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 4e6d1bc5..3dd30875 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -269,7 +269,7 @@ def perform_installation(mountpoint):
installation.set_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors in the installation medium
if archinstall.arguments["bootloader"] == "grub-install" and has_uefi():
installation.add_additional_packages("grub")
- installation.add_bootloader(archinstall.arguments["harddrive"], archinstall.arguments["bootloader"])
+ installation.add_bootloader(archinstall.arguments["bootloader"])
# If user selected to copy the current ISO network configuration
# Perform a copy of the config