From b47e25155e74d40dd387603fbeae9a192c3328e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Sat, 30 Jan 2021 11:08:39 +0100 Subject: [PATCH] [initcpiocfg] fix 'fsck' --- src/modules/initcpiocfg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/initcpiocfg/main.py b/src/modules/initcpiocfg/main.py index 64a67cbe3..88d509f07 100644 --- a/src/modules/initcpiocfg/main.py +++ b/src/modules/initcpiocfg/main.py @@ -185,7 +185,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)