fix(ext4): fail fast if mkfs.ext4 is too old for our feature set#2567
fix(ext4): fail fast if mkfs.ext4 is too old for our feature set#2567ValentaTomas wants to merge 1 commit into
Conversation
Probe `mkfs.ext4 -V` once on first Make() and refuse to build a rootfs if the host's e2fsprogs is older than 1.43 (inline_data, packed_meta_blocks). Replaces an opaque mkfs invocation failure with a clear, actionable error.
PR SummaryMedium Risk Overview Reviewed by Cursor Bugbot for commit 410f3b8. Bugbot is set up for automated code reviews on this repo. Configure here. |
❌ 5 Tests Failed:
View the full list of 5 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
Probe
mkfs.ext4 -Vonce on firstMake()and refuse to build a rootfs if the host's e2fsprogs is older than 1.43 (the first release that supportsinline_dataandpacked_meta_blocks).Addresses the build-break risk flagged on #2563: replaces an opaque mkfs failure with a clear, actionable error pointing at the host's e2fsprogs version. All currently-supported orchestrator hosts (Ubuntu 24.04 packer image ships 1.47.0) are well past the threshold, so this is a safety net rather than an active gate.