[Buildroot] [PATCH v2] boot/grub2: fix incompat e2fsprogs feature use
Peter Korsgaard
peter at korsgaard.com
Thu Oct 12 16:40:30 UTC 2023
>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:
>>>>> "Jens" == Jens Maus via buildroot <buildroot at buildroot.org> writes:
>> With bump of package/e2fsprogs to 1.47.0 [1] a freshly generated
>> ext4 fs has unfortunately different default features enabled
>> (e.g. metadata_csum_seed). This and some other newer fs features
>> (e.g. large_dir) are however not supported by our grub2.
>> Thus, newly generated ext-based rootfs won't be recognized by grub2
>> and are therefore not bootable/usable from grub2 anymore. This is
>> an issue already known to other Linux derivates [2],[3],[4].
>> This commit introduces two additional upstream patches to
>> package/grub2 which adds EXT4_FEATURE_INCOMPAT_CSUM_SEED and
>> EXT4_FEATURE_INCOMPAT_LARGEDIR to the EXT2_DRIVER_IGNORED_INCOMPAT
>> list of ignored incompatible ext features, allowing grub2 to
>> use ext filesystems with these newer default feature sets.
>> [1] https://git.buildroot.net/buildroot/commit/?id=6a21733f839478d902f3eab287a82b456e55f708
>> [2] https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1844012
>> [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031325
>> [4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030939
>> Signed-off-by: Jens Maus <mail at jens-maus.de>
>> ---
>> Changes v1 -> v2:
>> - added Signed-off-by and Upstream link in patches (Arnout)
> Committed, thanks.
> Hopefully other bootloaders will not have similar issues.
Committed to 2023.08.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list