Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-14 19:34:01 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-14 19:34:01 +0200
commit1fd432326b760c8638582c9050c95304f6010485 (patch)
tree710f99508a8dc50c2eed67373bd4640e4c3f26c4
parentd0676dfa3daf4f25fad01943fd22b8e3df42e7fb (diff)
Added debugging
-rw-r--r--archinstall/lib/disk.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index fd08ea63..5028a3a9 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -321,6 +321,9 @@ class Partition():
if log_formatting:
log(f'Formatting {path} -> {filesystem}', level=logging.INFO)
+ if path == '/dev/sda1' and filesystem == 'vfat':
+ raise ValueError("Debugging breakpoint!")
+
if filesystem == 'btrfs':
o = b''.join(sys_command(f'/usr/bin/mkfs.btrfs -f {path}'))
if b'UUID' not in o: