[initcpiocfg] fix 'fsck'

This commit is contained in:
Philip Müller 2021-01-30 11:08:39 +01:00
parent ee052f0d1a
commit bb97e43aae

View File

@ -186,7 +186,7 @@ def modify_mkinitcpio_conf(partitions, root_mount_point):
elif (btrfs == "yes"
and cpu['proc0']['vendor_id'].lower() == "genuineintel"):
modules.append("crc32c-intel")
elif not os.path.exists(os.path.join(root_mount_point, "usr/bin/grub-set-bootflag")):
else:
hooks.append("fsck")
write_mkinitcpio_lines(hooks, modules, files, root_mount_point)