tags 1031364 + upstream,forwarded,patch
thanks
I have reported this bug to the upstream author as issue #69:
https://gitlab.com/larswirzenius/vmdb2/-/issues/69
And proposed a simplistic patch as merge request #106:
https://gitlab.com/larswirzenius/vmdb2/-/merge_requests/106
Just for completeness sake, I'm including the patch in this report as
well:
diff --git a/vmdb/plugins/mkfs_plugin.py b/vmdb/plugins/mkfs_plugin.py
index 7bb32b6..f0bef3b 100644
--- a/vmdb/plugins/mkfs_plugin.py
+++ b/vmdb/plugins/mkfs_plugin.py
@@ -51,6 +51,17 @@ class MkfsStepRunner(vmdb.StepRunnerInterface):
cmd.append("-L")
cmd.append(label)
+ # Ext4 filesystem features large_dir and metadata_csum_seed
+ # are known to make versions of GRUB older than 2.06-8 unable
+ # to boot. Keep this around at least until it is no longer
+ # likely enough(?) users will try to build older target
+ # systems.
+ if fstype == "ext4":
+ cmd.append("-O")
+ cmd.append("^large_dir")
+ cmd.append("-O")
+ cmd.append("^metadata_csum_seed")
+
options = values["options"] or None
if options:
for opt in options.split(" "):