Skip to content

Makefile: lower the non-k rootfs ceiling to 290MB - #6489

Merged
rene merged 1 commit into
lf-edge:masterfrom
eriknordmark:rootfs-cap-290
Sep 11, 2026
Merged

Makefile: lower the non-k rootfs ceiling to 290MB#6489
rene merged 1 commit into
lf-edge:masterfrom
eriknordmark:rootfs-cap-290

Conversation

@eriknordmark

@eriknordmark eriknordmark commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Description

One of my PRs I merged today had the non-k rootfs size guard sits at 291MB since that was needed last week.
Reverting that change since it is no longer needed.

How to test and validate this PR

N/A

Changelog notes

No user-facing changes.

PR Backports

  • 17.0-stable: No — this only tightens a build-time size guard on master.
  • 16.0-stable: No, same reason.
  • 14.5-stable: No, same reason.
  • 13.4-stable: No, same reason.

Checklist

  • I've provided a proper description
  • I've added the proper documentation — the Makefile comment carrying the
    number is updated in the same hunk; there is no separate doc for this guard.
  • I've tested my PR on amd64 device — built make rootfs on amd64.
  • I've tested my PR on arm64 device — no arm64 hardware here; the change is
    a build-time size assertion, so CI's arm64 rootfs build covers it.
  • I've written the test verification instructions
  • I've set the proper labels to this PR — no stable label, since no
    backport is requested.

The generic x86_64 and arm64 rootfs builds to 273.4 MiB (286,691,328
bytes) on amd64, so a 290MB ceiling clears the current baseline with
16.6 MiB to spare while catching a size regression one megabyte sooner.

The value is MiB despite the name -- the check multiplies it by
1024*1024 -- so 290 is 304,087,040 bytes, still under the 300MB
pre-10.2.0 partition limit the comment above it describes.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.27%. Comparing base (6801462) to head (682b71b).
⚠️ Report is 36 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6489      +/-   ##
==========================================
+ Coverage   25.94%   26.27%   +0.32%     
==========================================
  Files         513      523      +10     
  Lines       94155    95871    +1716     
==========================================
+ Hits        24432    25189     +757     
- Misses      67841    68616     +775     
- Partials     1882     2066     +184     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rene
rene merged commit c8906b8 into lf-edge:master Sep 11, 2026
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants