index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-01-25 23:52:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 23:52:55 +0100 |
commit | 6cac9b86106ae6153946da866296beefb58420a3 (patch) | |
tree | 1d4bc9978305dcf4a589c03f580db8908063470a /archinstall/lib/disk.py | |
parent | 190ec7ad42bc59b7238b77dc4d7f3128e2f1eb78 (diff) | |
parent | 165d4ebc7f420d99eef453b785a86a51ceec8669 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 6 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index e9fa12a0..c14cb48c 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -119,7 +119,7 @@ class Partition(): return f'Partition(path={self.path}, fs={self.filesystem}, mounted={self.mountpoint})' def format(self, filesystem): - log(f'Formatting {self} -> {filesystem}', level=LOG_LEVELS.Info, file=storage.get('logfile', None)) + log(f'Formatting {self} -> {filesystem}', level=LOG_LEVELS.Info) if filesystem == 'btrfs': o = b''.join(sys_command(f'/usr/bin/mkfs.btrfs -f {self.path}')) if b'UUID' not in o: @@ -162,7 +162,7 @@ class Partition(): def mount(self, target, fs=None, options=''): if not self.mountpoint: - log(f'Mounting {self} to {target}', level=LOG_LEVELS.Info, file=storage.get('logfile', None)) + log(f'Mounting {self} to {target}', level=LOG_LEVELS.Info) if not fs: if not self.filesystem: raise DiskError(f'Need to format (or define) the filesystem on {self} before mounting.') fs = self.filesystem @@ -227,7 +227,7 @@ class Filesystem(): self.add_partition('primary', start='513MiB', end='100%', format='ext4') def add_partition(self, type, start, end, format=None): - log(f'Adding partition to {self.blockdevice}', level=LOG_LEVELS.Info, file=storage.get('logfile', None)) + log(f'Adding partition to {self.blockdevice}', level=LOG_LEVELS.Info) previous_partitions = self.blockdevice.partitions if format: |