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.feeds@gmail.com>2021-03-08 14:55:21 +0100
committerAnton Hvornum <anton.feeds@gmail.com>2021-03-08 14:55:21 +0100
commit1d913f50ed630c7a1a2985e6ed8b9f4aa0bc08dd (patch)
tree635a42d2f56d88162c2283bbfbb1de886ed7f81c /examples
parent476006abe8060235299fd3bddbfe69e597f7f988 (diff)
Added some debugging.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 0077b505..fbe6ea47 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -266,12 +266,13 @@ for i in range(5, 0, -1):
print()
signal.signal(signal.SIGINT, original_sigint_handler)
-exit(0)
"""
Setup the blockdevice, filesystem (and optionally encryption).
Once that's done, we'll hand over to perform_installation()
"""
-with archinstall.Filesystem(harddrive, archinstall.GPT) as fs:
+with archinstall.Filesystem(archinstall.arguments['harddrive'], archinstall.GPT) as fs:
+ print('Debug')
+ exit(0)
# Use partitioning helper to set up the disk partitions.
if disk_password:
fs.use_entire_disk('luks2')