Merge pull request #1770 from dr460nf1r3/calamares

[fstab] Dont set fsck check for BTRFS in fstab
This commit is contained in:
Adriaan de Groot 2021-09-03 21:00:00 +02:00 committed by GitHub
commit 61ee55db6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,9 +244,9 @@ class FstabGenerator(object):
if extra:
options += "," + extra
if mount_point == "/":
if mount_point == "/" and filesystem != "btrfs":
check = 1
elif mount_point and mount_point != "swap":
elif mount_point and mount_point != "swap" and filesystem != "btrfs":
check = 2
else:
check = 0