Repository navigation
Use rootfs compression hints also for OVA, LZMA-compress large binaries - #4973
Conversation
Some recent features (e.g. #4809, #4816, #4837) increased the rootfs bloat between 18.0 and 18.1, bringing the rootfs size on OVA and generic-x86-64 just 0.5 MiB below the 256 MiB cap, blocking us from adding new features that require space in the rootfs. To gain some space, also start compressing large daemon binaries using the LZMA algorithm. The selected binaries are normally invoked only once per boot, so the runtime cost of the more expensive decompression is minimal. The same compression hints are now used for OVA, where it brings us around 45 MiB in the rootfs partition image
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe change adds shared EROFS compression hints for PC images. It configures LZ4HC and LZMA compression for OVA builds and updates the generic x86-64 hints path. ChangesEROFS compression configuration
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to The PR changes build-time compression hints to reduce rootfs image size and add LZMA compression for selected large binaries; no actionable merge-blocking risk remains, so it is merge-ready after normal checks. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Some recent features (e.g. #4809, #4816, #4837) increased the rootfs bloat between 18.0 and 18.1, bringing the rootfs size on OVA and generic-x86-64 just 0.5 MiB below the 256 MiB cap, blocking us from adding new features that require space in the rootfs. To gain some space, also start compressing large daemon binaries using the LZMA algorithm. The selected binaries are normally invoked only once per boot, so the runtime cost of the more expensive decompression is minimal.
The same compression hints are now used for OVA, where it brings us around 45 MiB in the rootfs partition image
Summary by CodeRabbit