From f53f1af51ee5eb68bc7fe45ffb0924b9289505dd Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Wed, 24 Apr 2024 10:56:56 +0000 Subject: [PATCH] grub_install: Add btrfs to core modules The OEM partition is on a btrfs file system and grub has to be able to read grub.cfg from there so it makes sense to include btrfs in core modules. This avoids all other fs modules from being autoloaded during boot. Signed-off-by: Jeremi Piotrowski --- build_library/grub_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_library/grub_install.sh b/build_library/grub_install.sh index 9190f6ec10..d6f186f48b 100755 --- a/build_library/grub_install.sh +++ b/build_library/grub_install.sh @@ -43,7 +43,7 @@ GRUB_DIR="flatcar/grub/${FLAGS_target}" GRUB_SRC="/usr/lib/grub/${FLAGS_target}" # Modules required to boot a standard CoreOS configuration -CORE_MODULES=( normal search test fat part_gpt search_fs_uuid gzio search_part_label terminal gptprio configfile memdisk tar echo read ) +CORE_MODULES=( normal search test fat part_gpt search_fs_uuid gzio search_part_label terminal gptprio configfile memdisk tar echo read btrfs ) # Name of the core image, depends on target CORE_NAME=